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>