Reply 520 of 525, by Karmeck
Managed to compile using MSYS2 MINGW64 in admin mode:
# Install necessary packages pacman -S --needed git mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-gcc ninja […]
# Install necessary packages
pacman -S --needed git mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-gcc ninja# Clone the repository
git clone https://github.com/jcmoyer/Nuked-SC55.git# Navigate to the project directory
cd Nuked-SC55# Create and enter the build directory
mkdir build && cd build# Run CMake with ASIO support and static linking
CXXFLAGS="-static" cmake -G Ninja \
-DNUKED_ENABLE_ASIO=ON \
-DNUKED_ASIO_SDK_DIR="C:/asio" \
-DCMAKE_EXE_LINKER_FLAGS="-static" ..# Compile the project
ninja
instal dir for me is "C:\msys64\home\qwert\Nuked-sc55\build"
I had to crate the Nuked-sc55 folder inside the qwert directory, im guessing that is my username, so you will have something else there.
The sdl2.dll was not was not crated, had to get that from the pre-made build.
now, what is asio?