Hi all, first time on this board
I also have a problem with amule compilation with amulegui enabled on Linux (Debian Etch)
I used wxWidgets 2.8.6, follow configure options and output
./configure --prefix=/usr --with-gtk --enable-unicode --enable-optimise --disable-gui
Configured wxWidgets 2.8.6 for `i686-pc-linux-gnu'
Which GUI toolkit should wxWidgets use? base only
Should wxWidgets be compiled into single library? no
Should wxWidgets be compiled in debug mode? no
Should wxWidgets be linked as a shared library? yes
Should wxWidgets be compiled in Unicode mode? yes
What level of wxWidgets compatibility should be enabled?
wxWidgets 2.4 no
wxWidgets 2.6 yes
Which libraries should wxWidgets use?
jpeg none
png none
regex builtin
tiff none
zlib sys
odbc no
expat sys
libmspack no
sdl no
ls -l /usr/bin/wx*
lrwxrwxrwx 1 root root 43 2007-11-17 11:28 /usr/bin/wx-config -> /usr/lib/wx/config/base-unicode-release-2.8
aMule-CVS-20071117 and aMule-CVS-20071118 snapshots work fine using amuleweb and amulecmd, but if I configure with --enable-amule-gui all explode during make
amule configure
./configure --disable-debug --enable-optimize --enable-amuleweb --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon --with-toolkit=base --enable-amule-gui
Configure script has finished system check.
Configured aMule CVS for 'i686-pc-linux-gnu'.
aMule enabled options:
**** aMule Core ****
Prefix where aMule should be installed? /usr/local
Should aMule be compiled with i18n support? yes
Should aMule be compiled in debug mode? no
Should aMule be compiled with profiling? no
Should aMule be compiled with optimizations? yes
Should aMule be compiled with UPnP support? yes
Should aMule be compiled with IP2country support? yes
Should aMule monolithic application be built? no
Should aMule daemon version be built? yes
Should aMule remote gui be built? (EXPERIMENTAL) yes
Crypto++ library/headers style? embedded
**** aMule TextClient ****
Should aMule Command Line Client be built? yes
**** aMule WebServer ****
Should aMule WebServer be built? yes
**** aMule ED2K Links Handler ****
Should aMule ED2K Links Handler be built? yes
**** aMuleLinkCreator ****
Should aMuleLinkCreator GUI version (alc) be built? no
Should aMuleLinkCreator for console (alcc) be built? no
**** aMule Statistics ****
Should C aMule Statistics (CAS) be built? no
Should aMule GUI Statistics (wxCas) be built? no
**** General Libraries and Tools ****
Should ccache support be enabled? no
Libraries aMule will use to build:
wxWidgets 2.8.6 (,shared)
crypto++ embedded
libpng 1.2.16
libgd 2.0.34
zlib 1.2.3
amule make error
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/wx/include/base-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DwxUSE_GUI=0 -pthread -I./libs -DENABLE_UPNP=1 -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -O2 -DUSE_WX_EXTENSIONS -MT libmuleappgui_a-BarShader.o -MD -MP -MF ".deps/libmuleappgui_a-BarShader.Tpo" -c -o libmuleappgui_a-BarShader.o `test -f 'BarShader.cpp' || echo './'`BarShader.cpp; \
then mv -f ".deps/libmuleappgui_a-BarShader.Tpo" ".deps/libmuleappgui_a-BarShader.Po"; else rm -f ".deps/libmuleappgui_a-BarShader.Tpo"; exit 1; fi
BarShader.cpp:26:19: error: wx/dc.h: No such file or directory
BarShader.cpp: In member function âvoid CBarShader::BuildModifiers()â:
BarShader.cpp:118: error: âsinâ was not declared in this scope
BarShader.cpp: In member function âvoid CBarShader::Draw(wxDC*, int, int, bool)â:
BarShader.cpp:161: error: aggregate âwxRect rectSpanâ has incomplete type and cannot be defined
BarShader.cpp:167: error: invalid use of undefined type âstruct wxDCâ
BarShader.h:34: error: forward declaration of âstruct wxDCâ
BarShader.cpp:167: error: âwxTRANSPARENT_PENâ was not declared in this scope
BarShader.cpp: In member function âvoid CBarShader::FillRect(wxDC*, const wxRect&, uint32, bool)â:
BarShader.cpp:255: error: âwxBrushâ was not declared in this scope
BarShader.cpp:255: error: expected `;' before âbrushâ
BarShader.cpp:256: error: invalid use of undefined type âstruct wxDCâ
BarShader.h:34: error: forward declaration of âstruct wxDCâ
BarShader.cpp:256: error: âbrushâ was not declared in this scope
BarShader.cpp:257: error: invalid use of undefined type âstruct wxDCâ
BarShader.h:34: error: forward declaration of âstruct wxDCâ
BarShader.cpp:259: error: invalid use of undefined type âconst struct wxRectâ
BarShader.h:33: error: forward declaration of âconst struct wxRectâ
BarShader.cpp:260: error: invalid use of undefined type âconst struct wxRectâ
BarShader.h:33: error: forward declaration of âconst struct wxRectâ
BarShader.cpp:260: error: invalid use of undefined type âconst struct wxRectâ
BarShader.h:33: error: forward declaration of âconst struct wxRectâ
BarShader.cpp:261: error: invalid use of undefined type âconst struct wxRectâ
BarShader.h:33: error: forward declaration of âconst struct wxRectâ
BarShader.cpp:262: error: invalid use of undefined type âconst struct wxRectâ
BarShader.h:33: error: forward declaration of âconst struct wxRectâ
BarShader.cpp:270: error: âwxPenâ was not declared in this scope
BarShader.cpp:270: error: expected `;' before âpenâ
BarShader.cpp:271: error: invalid use of undefined type âstruct wxDCâ
BarShader.h:34: error: forward declaration of âstruct wxDCâ
BarShader.cpp:271: error: âpenâ was not declared in this scope
BarShader.cpp:274: error: invalid use of undefined type âstruct wxDCâ
BarShader.h:34: error: forward declaration of âstruct wxDCâ
BarShader.cpp:277: error: invalid use of undefined type âstruct wxDCâ
BarShader.h:34: error: forward declaration of âstruct wxDCâ
BarShader.cpp:266: warning: unused variable âcRedâ
BarShader.cpp:267: warning: unused variable âcGreenâ
BarShader.cpp:268: warning: unused variable âcBlueâ
BarShader.cpp:281: error: invalid use of undefined type âstruct wxDCâ
BarShader.h:34: error: forward declaration of âstruct wxDCâ
BarShader.cpp:281: error: âwxNullBrushâ was not declared in this scope
make[3]: *** [libmuleappgui_a-BarShader.o] Error 1
make[3]: Leaving directory `/usr/src/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/amule-cvs'
make: *** [all] Error 2
Any idea?
Thanks