[EMAIL PROTECTED] writes:

> cd LinuxRelease && g++ -o ../Obelix.elf -L../../../../SiSRC/Libs/LinuxRelease 
> -L/usr/lib Game.o  -lSiEngine -lSiMath -lSiUtil -lglut -lGLU -lGL -lGLEW      
>   
> ../../../../SiSRC/Libs/LinuxRelease/libSiEngine.a(SiCamera.o):(.data+0x0): 
> multiple definition of `font' Game.o:(.data+0x0): first defined here

> The trouble  with font which i never defined anywhere:

Au contraire: you defined it *everywhere*.

To understand the error, read this:
  http://webpages.charter.net/ppluzhnikov/linker.html

Most likely cause: you've done something like this in one of your
header files:

  int font = 42;

Fix:

  const int font = 42;


Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to