torcs-1.3.7
torcs-1.3.7 copied to clipboard
Can't rebuild torcs after installing OpenCV for screenpipe because of libpng
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
Have you tried running it with sudo? Sometimes it does the trick for me.