Re: torcs compilation problem
David Savinkoff <[email protected]> Tue, 23 Feb 2016 16:39:52 -0700 (MST)
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Message-ID | <[email protected]> |
----- Faisal Lalani wrote: > Hello, > > On "make install"ing TORCS I get the following problem: > > > g++ -I/usr/src/torcs/torcs-1.2.4/export/include > -I/usr/src/torcs/torcs-1.2.4 -g -O2 -Wall -fPIC -O2 -DUSE_RANDR_EXT > -DGL_GLEXT_PROTOTYPES -Wall -fPIC -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES > -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c berniw.cpp > In file included from berniw.cpp:21:0: > berniw.h:27:17: fatal error: tgf.h: No such file or directory > #include <tgf.h> > ^ > compilation terminated. > make[3]: *** [berniw.o] Error 1 > make[3]: Leaving directory `/usr/src/torcs/torcs-1.2.4/src/drivers/berniw' > make[2]: *** [installdirs] Error 1 > make[2]: Leaving directory `/usr/src/torcs/torcs-1.2.4/src/drivers' > make[1]: *** [installdirs] Error 1 > make[1]: Leaving directory `/usr/src/torcs/torcs-1.2.4/src' > make: *** [installdirs] Error 1 > > > How can I fix this/find the tgf.h file? you probably are missing a tarball > > -- > Have a semi-lovely day. > - Faisal M. Lalani TORCS 1.2.4 requires that you extract several tarballs into correct directories before attempting compiling. (I have never compiled TORCS 1.2.4) And maybe you will need to: aclocal autoconf autoheader automake --add-missing Before you can: ./configure --prefix=/home/**USER NAME HERE/local --x-libraries=/usr/lib/ CXXFLAGS="-march=native -mtune=native -O3 -pipe" LDFLAGS="-Wl,--no-add-needed,--strip-all" And then: make && make install && make datainstall **** I suggest TORCS 1.3.6 because I know it compiles and runs. **** ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140