[galib] how to compil the examples

foricher.david@free.fr foricher.david at free.fr
Thu Apr 1 10:07:40 EST 2004


hi all,

I must work with the ga library for a work placement. I've installed the 
library (ga.lib, ...) but I can't compil the examples (I use VC++). Here are 
the errors :

Compiling...
ex1.C
c:\documents and settings\denis\bureau\espace de travail 
david\programmes\microsoft visual studio\vc98\include\ga\gaid.h(29) : error 
C2061: syntax error : identifier 'GAID'
c:\documents and settings\denis\bureau\espace de travail 
david\programmes\microsoft visual studio\vc98\include\ga\gaid.h(29) : error 
C2059: syntax error : ';'
c:\documents and settings\denis\bureau\espace de travail 
david\programmes\microsoft visual studio\vc98\include\ga\gaid.h(29) : error 
C2449: found '{' at file scope (missing function header?)
c:\documents and settings\denis\bureau\espace de travail 
david\programmes\microsoft visual studio\vc98\include\ga\gaid.h(56) : error 
C2059: syntax error : '}'
...
...
c:\documents and settings\denis\bureau\espace de travail 
david\programmes\microsoft visual studio\vc98\include\ga\gastatistics.h(170) : 
error C2143: syntax error : missing ';' before ':'
c:\documents and settings\denis\bureau\espace de travail 
david\programmes\microsoft visual studio\vc98\include\ga\gastatistics.h(177) : 
error C2054: expected '(' to follow 'inline'
c:\documents and settings\denis\bureau\espace de travail 
david\programmes\microsoft visual studio\vc98\include\ga\gastatistics.h(177) : 
fatal error C1003: error count exceeds 100; stopping compilation
Error executing cl.exe.


Results
ex1.obj - 102 error(s), 0 warning(s)

I don't realy know VC++ (I usually use gcc or devcpp) so if anyone could help 
me, because it's very important.

Thank's



More information about the galib mailing list