• Dear Cerberus X User!

    As we prepare to transition the forum ownership from Mike to Phil (TripleHead GmbH), we need your explicit consent to transfer your user data in accordance with our amended Terms and Rules in order to be compliant with data protection laws.

    Important: If you accept the amended Terms and Rules, you agree to the transfer of your user data to the future forum owner!

    Please read the new Terms and Rules below, check the box to agree, and click "Accept" to continue enjoying your Cerberus X Forum experience. The deadline for consent is April 5, 2024.

    Do not accept the amended Terms and Rules if you do not wish your personal data to be transferred to the future forum owner!

    Accepting ensures:

    - Continued access to your account with a short break for the actual transfer.

    - Retention of your data under the same terms.

    Without consent:

    - You don't have further access to your forum user account.

    - Your account and personal data will be deleted after April 5, 2024.

    - Public posts remain, but usernames indicating real identity will be anonymized. If you disagree with a fictitious name you have the option to contact us so we can find a name that is acceptable to you.

    We hope to keep you in our community and see you on the forum soon!

    All the best

    Your Cerberus X Team

Linux GLFW build error

Paul59

Active member
CX Code Contributor
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:

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
 
What version of Linux Mint, GCC and libstdc++?
Are all development packages installed?
Has the system had any caution updates installed?

The #include_next preprocessor directive is used any other header file with the same name. There is usually a #ifndef variable somewhere it to indicate if the file have already been included.
 
Thanks for that.

It's Mint 19.1 XFCE with gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0 and libstdc++.so.6.0.25

Not sure what you mean by a 'caution update'?

I've got libglfw3-dev installed, is there a list somewhere of what dev packages are required by CX?

EDIT: OpenAL dev is also installed
 
Last edited:
Thanks again, all sorted now. And sorry for not finding your thread - I'd even replied to it!
 
Back
Top Bottom