supertuxkart / stk-editor

SuperTuxKart - Track Editor
GNU General Public License v3.0
52 stars 22 forks source link

Uh oh getting this Irrlicht related error when compiling #34

Closed TheEt1234 closed 3 years ago

TheEt1234 commented 3 years ago

I am on arch gnu/linux and i am getting the error when compiling:

stk-editor/lib/irrlicht/source/Irrlicht/COSOperator.cpp:16:10: fatal error: sys/sysctl.h: No such file or directory

Benau commented 3 years ago

https://github.com/supertuxkart/stk-code/issues/4172

Or you can use https://github.com/supertuxkart/stk-code/releases/download/preview/SuperTuxKart-git20210714-linux-64bit.tar.xz, inside it has a stk-editor

OPNA2608 commented 2 years ago

The issue wasn't solved, <sys/sysctl.h> was removed with glibc 2.32. Requesting to have this reopened?

[ 39%] Building CXX object lib/irrlicht/CMakeFiles/irrlicht.dir/source/Irrlicht/COSOperator.cpp.o
/build/source/lib/irrlicht/source/Irrlicht/COSOperator.cpp:16:10: fatal error: sys/sysctl.h: No such file or directory
   16 | #include <sys/sysctl.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [lib/irrlicht/CMakeFiles/irrlicht.dir/build.make:1840: lib/irrlicht/CMakeFiles/irrlicht.dir/source/Irrlicht/COSOperator.cpp.o] Error 1
Benau commented 2 years ago

This editor is not maintained so you can just apply the patch yourself...