Problem with compilation TORCS
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Message-ID | <njbcjesqyzejnycdszzn@bkmo> |
Hello! I want to install TORCS but after make I have that error: g++ -I/home/patol/Pulpit/torcs-1.3.1/export/include -I/home/patol/Pulpit/torcs-1.3.1 -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c img.cpp img.cpp: In function ‘unsigned char* GfImgReadPng(const char*, int*, int*, float)’: img.cpp:101:6: error: invalid use of incomplete type ‘struct png_struct’ /usr/local/include/png.h:803:16: error: forward declaration of ‘struct png_struct’ img.cpp: In function ‘int GfImgWritePng(unsigned char*, const char*, int, int)’: img.cpp:232:6: error: invalid use of incomplete type ‘struct png_struct’ /usr/local/include/png.h:803:16: error: forward declaration of ‘struct png_struct’ make[4]: *** [img.o] Error 1 make[4]: Leaving directory `/home/patol/Pulpit/torcs-1.3.1/src/libs/tgfclient' make[3]: *** [subdirs] Error 1 make[3]: Leaving directory `/home/patol/Pulpit/torcs-1.3.1/src/libs' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/home/patol/Pulpit/torcs-1.3.1/src' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/home/patol/Pulpit/torcs-1.3.1' make: *** [restart] Error 2 Could some one help me? I installed everything from dependencies. ---------------------------------------------------------------- Doladuj telefon przez Internet! Sprawdz >> http://linkint.pl/f29ba ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Torcs-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/torcs-users