Hi !
Ca va?
Very good for me
I am starting to look at Wormux development again. I started to a
while ago.. then all I did was translate a file to English ;-) Now,
I'm interested in looking into AI and networking support.
:-)
So I dowloaded and compiled ClanLib 0.7.8 no problemo. I have the
other packages needed installed by Debian.
Then, I downloaded the most recent Wormux code from CVS, and I get
compile errors (in a ClanLib header file << ?! >>), see below. I
looked at the header file at those lines.. everything seems fine.
Has anybody seen this before? Any idea WTF is going on?
I have already seen this, as I can remember, one solution is to remove
#include /IRC/dcc_download.h in file network.h.
BUT the best solution is to use Clanlib SVN
Matt
[sharky6000#debian#~/cvs_wormux/wormux] make
Making all in data
make[1]: Entering directory `/home/sharky6000/cvs_wormux/wormux/data'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/sharky6000/cvs_wormux/wormux/data'
Making all in src
make[1]: Entering directory `/home/sharky6000/cvs_wormux/wormux/src'
Making all in .
make[2]: Entering directory `/home/sharky6000/cvs_wormux/wormux/src'
source='main.cpp' object='main.o' libtool=no \
depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DPACKAGE_NAME=\"Wormux\" -DPACKAGE_TARNAME=\"wormux\"
-DPACKAGE_VERSION=\"0.6.0beta1\" -DPACKAGE_STRING=\"Wormux\
0.6.0beta1\" -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]"
-DPACKAGE=\"wormux\" -DVERSION=\"0.6.0beta1\" -DENABLE_NLS=1
-DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBX11= -DHAVE_DIRENT_H=1
-DSTDC_HEADERS=1 -I. -I. -I/usr/X11R6/include
-I/usr/local/include/ClanLib-0.7 -I/usr/include/libxml++-1.0
-I/usr/lib/libxml++-1.0/include -I/usr/include/libxml2
-DINSTALL_DATADIR=\"/usr/local/share/wormux/\"
-DINSTALL_LOCALEDIR=\"/usr/local/share/locale/\" -I../intl -I../intl
-Wall -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp
In file included from
/usr/local/include/ClanLib-0.7/ClanLib/network.h:40,
from network/network.h:28,
from main.cpp:40:
/usr/local/include/ClanLib-0.7/ClanLib/Network/IRC/dcc_download.h:65:
error: syntax
error before `int'
/usr/local/include/ClanLib-0.7/ClanLib/Network/IRC/dcc_download.h:78:
error: missing
';' before right brace
/usr/local/include/ClanLib-0.7/ClanLib/Network/IRC/dcc_download.h:97:
error: syntax
error before `public'
/usr/local/include/ClanLib-0.7/ClanLib/Network/IRC/dcc_download.h:105:
error: syntax
error before `private'
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/sharky6000/cvs_wormux/wormux/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sharky6000/cvs_wormux/wormux/src'
make: *** [all-recursive] Error 1
[sharky6000#debian#~/cvs_wormux/wormux]