• 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

-SOLVED-I'm trying to build the latest cerberus-x from source but ted never gets built.

Amon

Member
Joined
Nov 19, 2018
Messages
88
I'm trying to build cerberus from the latest github source but it fails. Error log below. Any ideas?

Code:
Building transcc
Please wait
transcc\transcc.build\cpptool\main.cpp:2548:8: warning: undefining "__STDC_WANT_SECURE_LIB__"
 2548 | #undef __STDC_WANT_SECURE_LIB__
      |        ^~~~~~~~~~~~~~~~~~~~~~~~
transcc\transcc.build\cpptool\main.cpp: In function 'std::string get_file_contents(const char*)':
transcc\transcc.build\cpptool\main.cpp:14511:60: warning: control reaches end of non-void function [-Wreturn-type]
14511 |  std::ifstream in(filename, std::ios::in | std::ios::binary);
      |                                                            ^
Building launcher

makedocs
TRANS cerberus compiler V2023-02-19
Parsing...
Semanting...
Translating...
Building...

building cserver
TRANS cerberus compiler V2023-02-19
Parsing...
Semanting...
Translating...
Building...
Copied openal32.dll to H:\software\cerberus-develop\src\cserver\cserver.build\glfw3\gcc_winnt\Release64
Copied openal32_COPYING to H:\software\cerberus-develop\src\cserver\cserver.build\glfw3\gcc_winnt\Release64
Copied openal32_LICENCE to H:\software\cerberus-develop\src\cserver\cserver.build\glfw3\gcc_winnt\Release64
gcc -D_GLFW_WIN32 -m64  -fpic  -O3 -DNDEBUG -Wno-free-nonheap-object -I../curl/include -I../glfw3/include -I../glfw3/src -I../openal/include -I../stb -I../tinyfiledialogs -I../zlib-1.2.8 -I../lpng1610 -c -o build/Release64/context.o ../glfw3/src/context.c
gcc -D_GLFW_WIN32 -m64  -fpic  -O3 -DNDEBUG -Wno-free-nonheap-object -I../curl/include -I../glfw3/include -I../glfw3/src -I../openal/include -I../stb -I../tinyfiledialogs -I../zlib-1.2.8 -I../lpng1610 -c -o build/Release64/egl_context.o ../glfw3/src/egl_context.c
gcc -D_GLFW_WIN32 -m64  -fpic  -O3 -DNDEBUG -Wno-free-nonheap-object -I../curl/include -I../glfw3/include -I../glfw3/src -I../openal/include -I../stb -I../tinyfiledialogs -I../zlib-1.2.8 -I../lpng1610 -c -o build/Release64/init.o ../glfw3/src/init.c
gcc -D_GLFW_WIN32 -m64  -fpic  -O3 -DNDEBUG -Wno-free-nonheap-object -I../curl/include -I../glfw3/include -I../glfw3/src -I../openal/include -I../stb -I../tinyfiledialogs -I../zlib-1.2.8 -I../lpng1610 -c -o build/Release64/input.o ../glfw3/src/input.c
gcc -D_GLFW_WIN32 -m64  -fpic  -O3 -DNDEBUG -Wno-free-nonheap-object -I../curl/include -I../glfw3/include -I../glfw3/src -I../openal/include -I../stb -I../tinyfiledialogs -I../zlib-1.2.8 -I../lpng1610 -c -o build/Release64/monitor.o ../glfw3/src/monitor.c
gcc -D_GLFW_WIN32 -m64  -fpic  -O3 -DNDEBUG -Wno-free-nonheap-object -I../curl/include -I../glfw3/include -I../glfw3/src -I../openal/include -I../stb -I../tinyfiledialogs -I../zlib-1.2.8 -I../lpng1610 -c -o build/Release64/osmesa_context.o ../glfw3/src/osmesa_context.c
gcc -D_GLFW_WIN32 -m64  -fpic  -O3 -DNDEBUG -Wno-free-nonheap-object -I../curl/include -I../glfw3/include -I../glfw3/src -I../openal/include -I../stb -I../tinyfiledialogs -I../zlib-1.2.8 -I../lpng1610 -c -o build/Release64/vulkan.o ../glfw3/src/vulkan.c
gcc -D_GLFW_WIN32 -m64  -fpic  -O3 -DNDEBUG -Wno-free-nonheap-object -I../curl/include -I../glfw3/include -I../glfw3/src -I../openal/include -I../stb -I../tinyfiledialogs -I../zlib-1.2.8 -I../lpng1610 -c -o build/Release64/wgl_context.o ../glfw3/src/wgl_context.c
gcc -D_GLFW_WIN32 -m64  -fpic  -O3 -DNDEBUG -Wno-free-nonheap-object -I../curl/include -I../glfw3/include -I../glfw3/src -I../openal/include -I../stb -I../tinyfiledialogs -I../zlib-1.2.8 -I../lpng1610 -c -o build/Release64/win32_init.o ../glfw3/src/win32_init.c
gcc -D_GLFW_WIN32 -m64  -fpic  -O3 -DNDEBUG -Wno-free-nonheap-object -I../curl/include -I../glfw3/include -I../glfw3/src -I../openal/include -I../stb -I../tinyfiledialogs -I../zlib-1.2.8 -I../lpng1610 -c -o build/Release64/win32_joystick.o ../glfw3/src/win32_joystick.c
gcc -D_GLFW_WIN32 -m64  -fpic  -O3 -DNDEBUG -Wno-free-nonheap-object -I../curl/include -I../glfw3/include -I../glfw3/src -I../openal/include -I../stb -I../tinyfiledialogs -I../zlib-1.2.8 -I../lpng1610 -c -o build/Release64/win32_monitor.o ../glfw3/src/win32_monitor.c
gcc -D_GLFW_WIN32 -m64  -fpic  -O3 -DNDEBUG -Wno-free-nonheap-object -I../curl/include -I../glfw3/include -I../glfw3/src -I../openal/include -I../stb -I../tinyfiledialogs -I../zlib-1.2.8 -I../lpng1610 -c -o build/Release64/win32_time.o ../glfw3/src/win32_time.c
gcc -D_GLFW_WIN32 -m64  -fpic  -O3 -DNDEBUG -Wno-free-nonheap-object -I../curl/include -I../glfw3/include -I../glfw3/src -I../openal/include -I../stb -I../tinyfiledialogs -I../zlib-1.2.8 -I../lpng1610 -c -o build/Release64/win32_thread.o ../glfw3/src/win32_thread.c
gcc -D_GLFW_WIN32 -m64  -fpic  -O3 -DNDEBUG -Wno-free-nonheap-object -I../curl/include -I../glfw3/include -I../glfw3/src -I../openal/include -I../stb -I../tinyfiledialogs -I../zlib-1.2.8 -I../lpng1610 -c -o build/Release64/win32_window.o ../glfw3/src/win32_window.c
gcc -D_GLFW_WIN32 -m64  -fpic  -O3 -DNDEBUG -Wno-free-nonheap-object -I../curl/include -I../glfw3/include -I../glfw3/src -I../openal/include -I../stb -I../tinyfiledialogs -I../zlib-1.2.8 -I../lpng1610 -c -o build/Release64/window.o ../glfw3/src/window.c
gcc -D_GLFW_WIN32 -m64  -fpic  -O3 -DNDEBUG -Wno-free-nonheap-object -I../curl/include -I../glfw3/include -I../glfw3/src -I../openal/include -I../stb -I../tinyfiledialogs -I../zlib-1.2.8 -I../lpng1610 -c -o build/Release64/stb_vorbis.o ../stb/stb_vorbis.c
gcc -D_GLFW_WIN32 -m64  -fpic  -O3 -DNDEBUG -Wno-free-nonheap-object -I../curl/include -I../glfw3/include -I../glfw3/src -I../openal/include -I../stb -I../tinyfiledialogs -I../zlib-1.2.8 -I../lpng1610 -c -o build/Release64/stb_image.o ../stb/stb_image.c
windres -O COFF --target pe-x86-64 -i ../resource.rc -o build/Release64/resource.o
gcc -D_GLFW_WIN32 -m64  -fpic  -O3 -DNDEBUG -Wno-free-nonheap-object -I../curl/include -I../glfw3/include -I../glfw3/src -I../openal/include -I../stb -I../tinyfiledialogs -I../zlib-1.2.8 -I../lpng1610 -c -o build/Release64/tinyfiledialogs.o ../tinyfiledialogs/tinyfiledialogs.c
../tinyfiledialogs/tinyfiledialogs.c: In function 'tinyfd_openFileDialog':
cc1.exe: warning: function may return address of local variable [-Wreturn-local-addr]
../tinyfiledialogs/tinyfiledialogs.c:3044:7: note: declared here
 3044 |  char lBuff[MAX_PATH_OR_CMD];
      |       ^~~~~
../tinyfiledialogs/tinyfiledialogs.c:3044:7: note: declared here
g++  -m64  -fpic  -O3 -DNDEBUG -Wno-free-nonheap-object -I../curl/include -I../glfw3/include -I../glfw3/src -I../openal/include -I../stb -I../tinyfiledialogs -I../zlib-1.2.8 -I../lpng1610 -c -o build/Release64/main.o ../main.cpp
g++ -m64  -s -LH:/software/cerberus-develop/libs/Win64 -Wl,--subsystem,windows -o Release64/CerberusGame build/Release64/context.o build/Release64/egl_context.o build/Release64/init.o build/Release64/input.o build/Release64/monitor.o build/Release64/osmesa_context.o build/Release64/vulkan.o build/Release64/wgl_context.o build/Release64/win32_init.o build/Release64/win32_joystick.o build/Release64/win32_monitor.o build/Release64/win32_time.o build/Release64/win32_thread.o build/Release64/win32_window.o build/Release64/window.o build/Release64/stb_vorbis.o build/Release64/stb_image.o build/Release64/resource.o build/Release64/tinyfiledialogs.o build/Release64/main.o -lcomdlg32 -lgdi32 -lopengl32 -lopenal32 -lws2_32 -lole32

building ted


    Directory: H:\software\cerberus-develop\src


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        20/03/2023     07:38                build-ted-Desktop-Release
Info: creating stash file H:\software\cerberus-develop\src\build-ted-Desktop-Release\.qmake.stash
Project ERROR: Unknown module(s) in QT: webenginewidgets

Microsoft (R) Program Maintenance Utility Version 14.16.27049.0
Copyright (C) Microsoft Corporation.  All rights reserved.

NMAKE : fatal error U1052: file 'Makefile.Release' not found
Stop.
"..\bin\Ted.exe" does not exist.



PS H:\software\cerberus-develop\src>
 
I hate it when this happens. I had to install QT Webengine which I forgot to do. I've built it fine now.
 
Back
Top Bottom