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


Messages In This Thread
Windows build: AngelScript errors and missing libc++.dll - by YYee - 01-11-2026, 07:06 PM

Forum Jump: