fmirus / torcs-1.3.7

patched version of torcs1.3.7 including the scr-server and a patch to send the game image to another application
GNU General Public License v2.0
37 stars 33 forks source link

Can't rebuild torcs after installing OpenCV for screenpipe because of libpng #5

Open martonur opened 6 years ago

martonur commented 6 years ago

To build torcs 1.3.7 I used libpng16, but for the screenpipe tool OpenCV is needed, which depends on libpng12 so if I install OpenCV I can't rebuild TORCS.

Error: make[4]: Entering directory '/torcs/torcs-1.3.7/src/libs/tgf' make[4]: Nothing to be done for 'compil'. make[4]: Leaving directory '/torcs/torcs-1.3.7/src/libs/tgf' make[4]: *** No rule to make target '/usr/include/pnglibconf.h', needed by 'img.o'. Stop. make[4]: Entering directory '/torcs/torcs-1.3.7/src/libs/tgfclient' make[4]: Leaving directory '/torcs/torcs-1.3.7/src/libs/tgfclient' make[3]: *** [subdirs] Error 1 make[2]: *** [subdirs] Error 1 /torcs/torcs-1.3.7/Make-default.mk:679: recipe for target 'subdirs' failed make[3]: Leaving directory '/torcs/torcs-1.3.7/src/libs' /torcs/torcs-1.3.7/Make-default.mk:679: recipe for target 'subdirs' failed make[2]: Leaving directory '/torcs/torcs-1.3.7/src' /torcs/torcs-1.3.7/Make-default.mk:679: recipe for target 'subdirs' failed make[1]: Leaving directory '/torcs/torcs-1.3.7' make[1]: *** [subdirs] Error 1 make: *** [restart] Error 2 Makefile:30: recipe for target 'restart' failed

VictorySpecificationII commented 5 years ago

Have you tried running it with sudo? Sometimes it does the trick for me.