[Plib-users] Re: OSX tons of errors using FNT
Brought to you by:
sjbaker
From: Wesley S. <wes...@gm...> - 2005-06-21 01:19:34
|
Guess I should've searched the archives before asking 'cause I found my ans= wer. thanks, wes On 6/20/05, Wesley Smith <wes...@gm...> wrote: > Hi, >=20 > 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. > 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: >=20 > /usr/include/plib/ul.h: In function `void ulEndianSwap(short unsigned int= *)': > /usr/include/plib/ul.h:343: error: declaration of C function `void > ulEndianSwap(short unsigned int*)' conflicts with > /usr/include/plib/ul.h:334: error: previous declaration `void > 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 > ulEndianSwap(float*)' conflicts with > /usr/include/plib/ul.h:343: error: previous declaration `void > 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 `flo= at*' > 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 > ulEndianSwap(int*)' conflicts with > /usr/include/plib/ul.h:349: error: previous declaration `void > ulEndianSwap(float*)' here >=20 > 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 > -c -o GL_disp.o GL_disp.cpp >=20 > thanks for any suggestions, > wes > |