[Plib-users] can't create the plib examples under Mac OS X
Brought to you by:
sjbaker
From: Daniel K. <dan...@dy...> - 2004-05-14 20:06:55
|
i am running 10.3.3 i have Xcode 1.2 i compiled and installed the plib libraries without problems. i did compile plib without the 'js' i try to make the examples and get the following errors which i can't figure out. any help would be appreciated greatly. this is the same error i get when i try to compile my application. Danny 294 > make Making all in src Making all in js make[2]: Nothing to be done for `all'. Making all in pui source='simple.cxx' object='simple.o' libtool=no \ depfile='.deps/simple.Po' tmpdepfile='.deps/simple.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DPACKAGE=\"plib_examples\" -DVERSION=\"1.8.1\" -DSTDC_HEADERS=1 -DHAVE_OPENGL_GL_H=1 -DHAVE_OPENGL_GLU_H=1 -DGLUT_IS_PRESENT=1 -I. -I. -Wall -c -o simple.o `test -f simple.cxx || echo './'`simple.cxx In file included from /usr/include/plib/sg.h:29, from /usr/include/plib/fnt.h:29, from /usr/include/plib/pu.h:28, from simple.cxx:45: /usr/include/plib/ul.h: In function `void ulEndianSwap(short unsigned int*)': /usr/include/plib/ul.h:336: error: declaration of C function `void ulEndianSwap(short unsigned int*)' conflicts with /usr/include/plib/ul.h:327: error: previous declaration `void ulEndianSwap(unsigned int*)' here /usr/include/plib/ul.h: In function `void ulEndianSwap(float*)': /usr/include/plib/ul.h:342: error: declaration of C function `void ulEndianSwap(float*)' conflicts with /usr/include/plib/ul.h:336: 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:342: error: cannot convert `unsigned int*' to `float*' for argument `1' to `void ulEndianSwap(float*)' /usr/include/plib/ul.h: In function `void ulEndianSwap(int*)': /usr/include/plib/ul.h:343: error: declaration of C function `void ulEndianSwap(int*)' conflicts with /usr/include/plib/ul.h:342: error: previous declaration `void ulEndianSwap(float*)' here /usr/include/plib/ul.h: In function `void ulEndianSwap(short int*)': /usr/include/plib/ul.h:344: error: declaration of C function `void ulEndianSwap(short int*)' conflicts with /usr/include/plib/ul.h:343: error: previous declaration `void ulEndianSwap(int*)' here /usr/include/plib/ul.h: In function `unsigned int ulEndianLittle32(unsigned |