Re: [Plib-users] OS X Compatibility? Errors
Brought to you by:
sjbaker
|
From: Krippel H. <neu...@su...> - 2003-08-07 17:32:33
|
The problems:
plib
./autogen.sh ---> ok
./configure ---> ok
PLIB configuration information:
Building FNT library: yes
Building JS library: yes
Building NET library: yes
Building PUI library: yes
Building SG library: yes
Building PSL library: yes
Building SL library: yes
Building SSG library: yes
Building ssgAux library: yes
Building UTIL library: yes
Need GLUT: yes (found GLUT)
make ----> error
[Harald-Krippels-Computer:/Users/haraldkrippel/plib] haraldkrippel# make
Making all in src
Making all in util
make[2]: Nothing to be done for `all'.
Making all in js
source='js.cxx' object='js.o' libtool=no \
depfile='.deps/js.Po' tmpdepfile='.deps/js.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"plib\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DGLUT_IS_PRESENT=1 -Dsocklen_t=int -I. -I. -I../../src/util -g -O2 -Wall
-c -o js.o `test -f 'js.cxx' || echo './'`js.cxx
In file included from js.cxx:23:
js.h:100: size of member `ioDevices' is not constant
make[2]: *** [js.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
I go to src and compile all other directorys with "make" and "make install"
(as root)
I go to examples:
./autogen.sh ---> ok
./configure ---> warning
checking for GLUT/glut.h... yes
checking plib/ul.h usability... no
checking plib/ul.h presence... yes
configure: WARNING: plib/ul.h: present but cannot be compiled
configure: WARNING: plib/ul.h: check for missing prerequisite headers?
configure: WARNING: plib/ul.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug...@gn.... ##
configure: WARNING: ## ------------------------------------ ##
checking for plib/ul.h... yes
I go to src/ssg/wather
and type make
[Harald-Krippels-Computer:src/ssg/water] haraldkrippel% make
source='water.cxx' object='water.o' libtool=no \
depfile='.deps/water.Po' tmpdepfile='.deps/water.TPo' \
depmode=gcc3 /bin/sh ../../../depcomp \
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"plib_examples\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_OPENGL_GL_H=1 -DHAVE_OPENGL_GLU_H=1 -DGLUT_IS_PRESENT=1 -I. -I.
-g -O2 -Wall -c -o water.o `test -f 'water.cxx' || echo './'`water.cxx
In file included from /usr/include/plib/sg.h:28,
from /usr/include/plib/ssg.h:28,
from water.cxx:35:
/usr/include/plib/ul.h: In function `void _ulEndianSwap(short unsigned int*)':
/usr/include/plib/ul.h:321: declaration of C function `void _ulEndianSwap(short
unsigned int*)' conflicts with
/usr/include/plib/ul.h:314: previous declaration `void _ulEndianSwap(unsigned
int*)' here
/usr/include/plib/ul.h: In function `unsigned int ulEndianLittle32(unsigned
int)':
/usr/include/plib/ul.h:339: cannot convert `unsigned int*' to `short unsigned
int*' for argument `1' to `void _ulEndianSwap(short unsigned int*)'
/usr/include/plib/ul.h: In function `float ulEndianLittleFloat(float)':
/usr/include/plib/ul.h:348: cannot convert `unsigned int*' to `short unsigned
int*' for argument `1' to `void _ulEndianSwap(short unsigned int*)'
/usr/include/plib/ul.h: In function `void ulEndianLittleArray32(unsigned int*,
int)':
/usr/include/plib/ul.h:368: cannot convert `unsigned int*' to `short unsigned
int*' for argument `1' to `void _ulEndianSwap(short unsigned int*)'
/usr/include/plib/ul.h: In function `void ulEndianLittleArrayFloat(float*,
int)':
/usr/include/plib/ul.h:378: cannot convert `unsigned int*' to `short unsigned
int*' for argument `1' to `void _ulEndianSwap(short unsigned int*)'
/usr/include/plib/ul.h: In function `void ulEndianBigArray32(unsigned int*,
int)':
/usr/include/plib/ul.h:398: cannot convert `unsigned int*' to `short unsigned
int*' for argument `1' to `void _ulEndianSwap(short unsigned int*)'
/usr/include/plib/ul.h: In function `void ulEndianBigArrayFloat(float*, int)':
/usr/include/plib/ul.h:408: cannot convert `unsigned int*' to `short unsigned
.
.
.
.
>Krippel-
>
>send me the errors, I'll take a look
>
>m.
>
>On Wednesday, August 6, 2003, at 12:17PM, Krippel Harald wrote:
>
>> I have installed max-os x and fink. i can cmpile plib from cvs but i >
>> can
>> not compile the examples or my code that use the plib. I have problems
>> with the header files. errors. (if you are interested i can send you >
>> the
>> messages from the console, at the moment i mail from linux from my
>> i-book, sorry)
>>
Der supergünstige surfEU-Internetzugang - Jetzt registrieren! http://www.surfeu.at/register/
|