[Plib-users] OSX tons of errors using FNT
Brought to you by:
sjbaker
From: Wesley S. <wes...@gm...> - 2005-06-21 00:58:03
|
Hi, I'm trying to use the font part of plib. I included #include <plib/fnt.h> in my header file and did a -lplibfnt for the linker.=20 The thing is when I go to make the project, I get massive amounts of errors from the plib header files. Here's a sampling: /usr/include/plib/ul.h: In function `void ulEndianSwap(short unsigned int*)= ': /usr/include/plib/ul.h:343: error: declaration of C function `void=20 ulEndianSwap(short unsigned int*)' conflicts with /usr/include/plib/ul.h:334: error: previous declaration `void=20 ulEndianSwap(unsigned int*)' here /usr/include/plib/ul.h: In function `void ulEndianSwap(float*)': /usr/include/plib/ul.h:349: error: declaration of C function `void=20 ulEndianSwap(float*)' conflicts with /usr/include/plib/ul.h:343: error: previous declaration `void=20 ulEndianSwap(short unsigned int*)' here /usr/include/plib/ul.h: In function `void ulEndianSwap(unsigned int*)': /usr/include/plib/ul.h:349: error: cannot convert `unsigned int*' to `float= *'=20 for argument `1' to `void ulEndianSwap(float*)' /usr/include/plib/ul.h: In function `void ulEndianSwap(int*)': /usr/include/plib/ul.h:350: error: declaration of C function `void=20 ulEndianSwap(int*)' conflicts with /usr/include/plib/ul.h:349: error: previous declaration `void=20 ulEndianSwap(float*)' here Is there a compiler setting or namespace issue that I'm missing? I'm not sure why all of the errors. Here's my compilation command: g++ -I/usr/local/include -I/usr/local/include/FL/images -I/sw/include=20 -c -o GL_disp.o GL_disp.cpp thanks for any suggestions, wes |