- Joined
- Dec 13, 2018
- Messages
- 384
Did a fresh install of Linux Mint a few weeks ago, now CX is giving me this error when trying to build a game for glfw:
The file referred to (/usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h) does exist but I don't know what the #include_next directive does.
Any suggestions please?
Paul
PS The HTML5 target works fine
TRANS cerberus compiler V2019-02-21
Parsing...
Semanting...
Translating...
Building...
gcc -O0 -Wno-int-to-pointer-cast -Wno-free-nonheap-object -Wno-unused-result -I../glfw3/include -I../openal/include -I../stb -I../glfw3/deps -I../glfw3/deps/vulkan -D_GLFW_HAS_GLXGETPROCADDRESS -pthread -c -o build/Debug/context.o ../glfw3/src/context.c
In file included from ../glfw3/src/../include/GLFW/glfw3.h:133:0,
from ../glfw3/src/internal.h:47,
from ../glfw3/src/context.c:28:
/usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory
# include_next <stdint.h>
^~~~~~~~~~
compilation terminated.
Makefile:59: recipe for target 'build/Debug/context.o' failed
make: *** [build/Debug/context.o] Error 1
TRANS FAILED: Error executing 'make CCOPTS=" -O0" LDOPTS=" " LIBOPTS=" -lopenal" OUT="Debug/CerberusGame"', return code=512
Done.
The file referred to (/usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h) does exist but I don't know what the #include_next directive does.
Any suggestions please?
Paul
PS The HTML5 target works fine