supertuxkart / stk-code

The code base of supertuxkart
Other
4.46k stars 1.05k forks source link

Build Error: "stk-code/lib/wiiuse/src/os_nix.c:5:10: fatal error: CVolumeLightSceneNode.h: No such file or directory" #3721

Closed ghost closed 5 years ago

ghost commented 5 years ago

I keep getting this error after running make. I tried a git reset, but that did not help.

[  4%] Built target angelscript
[ 17%] Built target bulletcollision
[ 17%] Built target bulletmath
[ 20%] Built target bulletdynamics
[ 21%] Built target glew
[ 21%] Built target graphics_utils
[ 23%] Built target squish
[ 41%] Built target stkirrlicht
[ 41%] Building C object lib/wiiuse/src/CMakeFiles/wiiuse.dir/os_nix.c.o
/media/user/A8847AB1847A819C/Source/STKBuilds/master/stk-code/lib/wiiuse/src/os_nix.c:5:10: fatal error: CVolumeLightSceneNode.h: No such file or directory
 #include "CVolumeLightSceneNode.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
lib/wiiuse/src/CMakeFiles/wiiuse.dir/build.make:326: recipe for target 'lib/wiiuse/src/CMakeFiles/wiiuse.dir/os_nix.c.o' failed
make[2]: *** [lib/wiiuse/src/CMakeFiles/wiiuse.dir/os_nix.c.o] Error 1
CMakeFiles/Makefile2:501: recipe for target 'lib/wiiuse/src/CMakeFiles/wiiuse.dir/all' failed
make[1]: *** [lib/wiiuse/src/CMakeFiles/wiiuse.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
qwertychouskie commented 5 years ago

May be related to https://github.com/supertuxkart/stk-code/blob/master/CMakeLists.txt#L266

ghost commented 5 years ago

Re-cloned and is now ok.