Replies: 5 comments 3 replies
-
This is Lubuntu 22.04LTS...... |
Beta Was this translation helpful? Give feedback.
-
Also, you might want to add -DCMAKE_SYSTEM_NAME=Windows |
Beta Was this translation helpful? Give feedback.
-
This syntax is used to build a le cunt build for ISA sound cards with ESS ES1XXX chipsets hardwareplayback, cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_FLAGS="-O2" -DCMAKE_CXX_FLAGS="-O2 -Wall -Wextra -Wno-unused-parameter -Wno-cast-function-type" -DBUILD_SHARED_LIBS=OFF -DSUPPORT_XP=ON -DWITH_RENDER_DX11=OFF -DSDL_SSE2=OFF -DSDL_SSE3=OFF -DENABLE_SSE=OFF -DENABLE_SSE2=OFF -DENABLE_AVX=OFF -DENABLE_AVX2=OFF -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_COMPILER=i686-w64-mingw32-gcc-posix -DCMAKE_CXX_COMPILER=i686-w64-mingw32-g++-posix -Bbuild-xp32 link: https://github.com/gtr3qq/furnace_newdemotunepull/tree/master Build at your own risk. |
Beta Was this translation helpful? Give feedback.
-
Use the Cross-MinGW-x86.cmake toolchain in |
Beta Was this translation helpful? Give feedback.
-
Oh, I see now... the toolchain also includes yet another .camke file containing all the -posix commands. The solution, if you ever had this problem, you should add. -DCMAKE_TOOLCHAIN_FILE=./scripts/Cross-MinGW-??.cmake this contains most of the variables needed. Thanks big T! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Edit: if you have this problem, just go to last or so post for solution.
I'm not sure if this is a widely known thing..... but the thread model is posix???? on win32????

This is what you will get if following the guild and the build scripts.
The solution: https://stackoverflow.com/questions/65466946/specify-thread-model-on-ubuntu-mingw-if-possible
In short, add -DCMAKE_C_COMPLIER=i686-w64-mingw32-gcc-posix -DCMAKE_CXX_COMPLIER=i686-w64-mingw32-g++-posix to you cmake syntax.
Done..... just saved you 3 days of restless dreams.(, I see a town, Silent Hill.)
Beta Was this translation helpful? Give feedback.
All reactions