W3C home > Mailing lists > Public > www-amaya-dev@w3.org > December 2004

Re: Cannot compile amaya_wx off CVS

From: Mark Pierce <mark.pierce@xerberos.com>
Date: Tue, 21 Dec 2004 13:52:21 +0000
Message-ID: <41C82A8A.5070200@xerberos.com>
To: www-amaya-dev@w3.org, www-amaya@w3.org




Hello,

After several days and several updates, I contunue to draw fatal errors 
in compiling the thotlib drawn from CVS. At least it seems to have 
resolved finding it's include files, although these still have syntax 
problems. In particular, ../thotlib/include/AmayaApp.h

......
make[1]: Entering directory `/home/makis/src/amaya/Amaya/WX/thotlib'
g++ -O2 -W -x c++ -D__cplusplus -D_UNIX  -D_GL -D_WX  -DHAVE_CONFIG_H 
-I.. -I../../amaya/xpm -I../../thotlib/include 
-I../../thotlib/internals/var -I../../thotlib/internals/h 
-I../../thotlib/internals/f    -I/usr/local/lib/wx/include/gtk2u-2.5 
-I/usr/local/include -DGTK_NO_CHECK_CASTS -D__WXGTK__ 
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
-I/home/makis/src/amaya/Amaya/WX/Mesa/include  -I/usr/include/X11/Xft 
-I/usr/include/freetype2  -c ../../thotlib/base/AmayaApp.cpp -o 
base/AmayaApp.o
In file included from ../../thotlib/base/AmayaApp.cpp:25:
.../../thotlib/include/AmayaApp.h:26: error: syntax error before `{' token
.../../thotlib/include/AmayaApp.h:37: error: syntax error before `protected'
.../../thotlib/include/AmayaApp.h:38: error: virtual outside class 
declaration

...... several hundred erros related to the initial sytax error...

I have looked at the code in ../thotlib/include/AmayaApp.h  and don't 
see why the compiler is complaining, but then my C++ is more than a bit 
rusty.


Mandrake 10.1
Linux 2.6.3
libgtk+2.0_0-devel-2.2.4-10.1.100mdk
gcc-3.3.2-6mdk
gcc-cpp-3.3.2 (cpp (GCC) 3.3.2)
gcc-c++-3.3.2
libstdc++6

I am aware that this note should really go to the dev list but the 
archive shows it as abandonned since October.

Mark Pierce
Xerberos
http://www.xerberos.com
Received on Wednesday, 22 December 2004 08:05:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:49:01 GMT