aMule Forum
English => aMule Help => Topic started by: DoBs on May 12, 2004, 12:56:56 AM
-
Don't compile
In file included from utils/wxCas/src/wxcasframe.h:42,
from utils/wxCas/src/wxcas.cpp:38:
utils/wxCas/src/wxcascanvas.h:41: error: parse error before `{' token
utils/wxCas/src/wxcascanvas.h:50: error: destructors must be member functions
utils/wxCas/src/wxcascanvas.h:52: error: parse error before `protected'
utils/wxCas/src/wxcascanvas.h:56: error: virtual outside class declaration
utils/wxCas/src/wxcascanvas.h:56: error: non-member function `const
wxEventTable* GetEventTable()' cannot have `const' method qualifier
utils/wxCas/src/wxcascanvas.h:56: error: no matching function for call to `
wxEventHashTable::wxEventHashTable()'
/usr/local/include/wx/event.h:2152: error: candidates are:
wxEventHashTable::wxEventHashTable(const wxEventHashTable&)
/usr/local/include/wx/event.h:2116: error:
wxEventHashTable::wxEventHashTable(const wxEventTable&)
utils/wxCas/src/wxcascanvas.h:56: error: virtual outside class declaration
utils/wxCas/src/wxcascanvas.h:56: error: non-member function `wxEventHashTable&
GetEventHashTable()' cannot have `const' method qualifier
utils/wxCas/src/wxcascanvas.h:58: error: parse error before `private'
utils/wxCas/src/wxcascanvas.h:62: error: parse error before `}' token
In file included from utils/wxCas/src/wxcas.cpp:38:
utils/wxCas/src/wxcasframe.h:52: error: base class `wxFrame' has incomplete
type
utils/wxCas/src/wxcasframe.h:65: error: `wxCommandEvent' was not declared in
this scope
utils/wxCas/src/wxcasframe.h:65: error: `event' was not declared in this scope
utils/wxCas/src/wxcasframe.h:65: error: invalid data member initialization
utils/wxCas/src/wxcasframe.h:65: error: (use `=' to initialize static data
members)
utils/wxCas/src/wxcasframe.h:65: error: variable or field `OnBarRefresh'
declared void
utils/wxCas/src/wxcasframe.h:66: error: `wxCommandEvent' was not declared in
this scope
utils/wxCas/src/wxcasframe.h:66: error: `event' was not declared in this scope
utils/wxCas/src/wxcasframe.h:66: error: invalid data member initialization
utils/wxCas/src/wxcasframe.h:66: error: variable or field `OnBarAbout' declared
void
utils/wxCas/src/wxcasframe.h:67: error: `wxCommandEvent' was not declared in
this scope
utils/wxCas/src/wxcasframe.h:67: error: `event' was not declared in this scope
utils/wxCas/src/wxcasframe.h:67: error: invalid data member initialization
utils/wxCas/src/wxcasframe.h:67: error: variable or field `OnBarSave' declared
void
utils/wxCas/src/wxcasframe.h:68: error: `wxCommandEvent' was not declared in
this scope
utils/wxCas/src/wxcasframe.h:68: error: `event' was not declared in this scope
utils/wxCas/src/wxcasframe.h:68: error: invalid data member initialization
utils/wxCas/src/wxcasframe.h:68: error: variable or field `OnBarPrint' declared
void
utils/wxCas/src/wxcasframe.h:69: error: `wxTimerEvent' was not declared in this
scope
utils/wxCas/src/wxcasframe.h:69: error: `event' was not declared in this scope
utils/wxCas/src/wxcasframe.h:69: error: invalid data member initialization
utils/wxCas/src/wxcasframe.h:69: error: variable or field `OnTimer' declared
void
utils/wxCas/src/wxcasframe.h:75: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:79: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:80: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:82: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:83: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:85: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:86: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:88: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:89: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:91: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:92: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:93: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:94: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:95: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:96: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:100: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:101: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:105: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:52: warning: `class WxCasFrame' has virtual
functions but non-virtual destructor
utils/wxCas/src/wxcas.cpp: In function `wxAppConsole* wxCreateApp()':
utils/wxCas/src/wxcas.cpp:41: error: cannot allocate an object of type `WxCas'
utils/wxCas/src/wxcas.cpp:41: error: because the following virtual functions
are abstract:
/usr/local/include/wx/app.h:100: error: virtual int wxAppConsole::OnRun()
utils/wxCas/src/wxcas.cpp: In member function `virtual bool WxCas::OnInit()':
utils/wxCas/src/wxcas.cpp:44: error: cannot convert `WxCasFrame*' to `wxFrame*'
in initialization
utils/wxCas/src/wxcas.cpp:47: error: `Show' undeclared (first use this
function)
utils/wxCas/src/wxcas.cpp:47: error: (Each undeclared identifier is reported
only once for each function it appears in.)
utils/wxCas/src/wxcas.cpp:48: error: `SetTopWindow' undeclared (first use this
function)
make[2]: *** [wxcas-wxcas.o] Error 1
make[2]: Leaving directory `/tmp/programs/aMule-2.0.0rc3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/programs/aMule-2.0.0rc3'
make: *** [all] Error 2
-
If you misstyped and meant rc3 instead of rc4, then use `configure --disable-wxcas`and let's see if that works...
If you really meant RC4. then you are using CVS which, the last time I tried to compile it on my box (three days ago, maybe?) didn't compile also, so maybe CVS isn't compiling ATM.
Greetings.
-
thanks :rolleyes:
-
anyway, wxcas should compile without any problems.
try
ls -l /usr/bin/wx*
ls -l /usr/local/bin/wx*
-
ls -l /usr/lib/wx*:
lrwxr-xr-x 1 root root 17 Apr 22 19:49 /usr/bin/wx-config -> wxbase-2.4-config
-rwxr-xr-x 1 root root 4864 Apr 22 19:49 /usr/bin/wxbase-2.4-config
-rwxr-xr-x 1 root root 10055 Apr 5 01:17 /usr/bin/wxbase-2.5-config
lrwxrwxrwx 1 root root 26 Apr 5 01:17 /usr/bin/wxbase-config -> /usr/bin/wxbase-2.4-config
-rwxr-xr-x 1 root bin 7396 Feb 12 2003 /usr/bin/wxcopy
-rwxr-xr-x 1 root root 5052 Apr 22 19:38 /usr/bin/wxgtk-2.4-config
-rwxr-xr-x 1 root root 10305 Apr 19 12:04 /usr/bin/wxgtk-2.5-config
-rwxr-xr-x 1 root bin 5832 Feb 12 2003 /usr/bin/wxpaste
ls -l /usr/local/bin/wx*:
lrwxr-xr-x 1 root root 17 May 12 00:53 /usr/local/bin/wx-config -> wxbase-2.5-config
-rwxr-xr-x 1 root root 10061 May 12 00:53 /usr/local/bin/wxbase-2.5-config
-rwxr-xr-x 1 root root 4825 Feb 1 22:28 /usr/local/bin/wxgtk-2.4-config
-rwxr-xr-x 1 root root 10311 May 12 00:47 /usr/local/bin/wxgtk-2.5-config
-rwxr-xr-x 1 root root 4994 Feb 1 21:08 /usr/local/bin/wxgtk2-2.4-config
-rwxr-xr-x 1 root root 10655 Apr 4 22:52 /usr/local/bin/wxgtk2-2.5-config
-
a very unclean system what u have there ..
we don't support wxwidgets 2.5 yet.. having 2 different version of wxgtk may cause problems ..
2nd thing, u miss some symlinks (look at my howto , wxbase step)
3th thing .. u have 2 diff versions of wx* installed twice in 2 different dirs ..
greets
-
What do i can do to remove wx 2.5?
-
dunno how u installed / compiled the 2.5 ..
-
./configure
make
make install
:?
-
then make uninstall ..
every tarball has a readme & install file.. might help sometimes ;)
greets
-
Originally posted by deltaHF
then make uninstall ..
every tarball has a readme & install file.. might help sometimes ;)
greets
i had read readme file, but make uninstall never works. i can't uninstall wxGTK... ;(
-
rm -f /usr/lib/libwx*
rm -f /usr/bin/wx*
rm -f /usr/local/lib/libwx*
rm -f /usr/local/bin/wx*
run ldconfig
and recompile wxgtk .. u can use wxgtk 2.5.1 ( not 2.5.2 ) with the cvs tarballs we have.
compile it with --prefix=/usr --disable-gtk2 --with-gkt
and run ldconfig again
now recompile amule
greets
-
i have compile amule and now it start, but after few minuts it exit... why?
-
good question .. take a look at the backtraces forum, 1st thread ;)
greets
-
Yes, but amule crash everytime i chage gnome desktop. i see her on ps but i'dont see amule's window on windows list...
-
its propably in your systray and u didn't checked the prefs for systray integration ;)
-
yes, so it's a problem on wxGTK? because this problem is system integretion Gnome GTK 2.0. Whit 1.4 all works.
-
i guess its display bug nr 16 -> http://www.amule.org/amule/thread.php?threadid=1980&sid=