Windows build: AngelScript errors and missing libc++.dll
#1
Hi! I built SuperTuxKart from source using Visual Studio Community 2026, CMake 4.4.5 and x64.

The first build failed with unresolved symbols: CallX64, GetReturnedFloat and GetReturnedDouble.

With AI-assisted troubleshooting, I changed the condition for including the x64 assembly file in lib/angelscript/projects/cmake/CMakeLists.txt  to  if(MSVC AND CMAKE_GENERATOR_PLATFORM STREQUAL "x64")

After running CMake again, the build succeeded.

When launching the game, Windows reported that libc++.dll was missing. I copied the dependency DLLs into the executable’s folder, then added libc++.dll and libunwind.dll from the x86_64 runtime folder of LLVM MinGW. The game now opens successfully.

Is this an appropriate solution for this setup, or is there a recommended way to avoid these issues?

Thanksss  Big Grin Big Grin
Reply
#2
Hello, do you built with the last 5 commits? I updated the AngelScript version some days ago for the game.
The victory isn't an option, is the target -
Some GPU manual's motivational quote
Reply
#3
Hi, I had already reported the libc++.dll and I didn't know the libunwind.dll was missing too, and to be honest, we just have to wait..
Reply


Forum Jump: