Hi,
I've downloaded the current stable plib-1.8.5 and performed the following
operations in cygwin:
./configure -–prefix=/fg-1.9.0
and make.
but something went wrong.
I received the following error:
"
make[2]: Entering directory `/home/IBM User/tar/plib-1.8.5/src/ssg'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"plib\"
-DVERSION=\
"1.8.5\" -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_INT
TYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DWIN32=1 -I. -I.
-I../../src/sg -I../../src/util -g -O2 -Wall -MT ssgLoadTexture.o -MD -MP
-MF ".dep
s/ssgLoadTexture.Tpo" -c -o ssgLoadTexture.o ssgLoadTexture.cxx; \
then mv -f ".deps/ssgLoadTexture.Tpo" ".deps/ssgLoadTexture.Po";
else rm -f ".deps/ssgLoadTexture.Tpo"; exit 1; fi
ssgLoadTexture.cxx: In function `int fileMTimeCmp(const char*, const
char*)':
ssgLoadTexture.cxx:245: error: aggregate `_stat buffer_in' has incomplete
type
and cannot be defined
ssgLoadTexture.cxx:245: error: aggregate `_stat buffer_out' has incomplete
type
and cannot be defined
ssgLoadTexture.cxx:247: error: invalid use of undefined type `struct _stat'
ssgLoadTexture.cxx:245: error: forward declaration of `struct _stat'
ssgLoadTexture.cxx:247: error: invalid use of undefined type `struct _stat'
ssgLoadTexture.cxx:245: error: forward declaration of `struct _stat'
make[2]: *** [ssgLoadTexture.o] Error 1
make[2]: Leaving directory `/home/IBM User/tar/plib-1.8.5/src/ssg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/IBM User/tar/plib-1.8.5/src'
make: *** [all-recursive] Error 1
"
I'll appreciate your help.
Regards,
DB
|