Skip to content

How do I compile this for older Windows versions? #503

Answered by Neui
Pokeman2003 asked this question in Q&A
Discussion options

You must be logged in to vote

Could you test these? They were compiled using MSYS2 MINGW32. The versions you would usually find are 64-bit (I guess, haven't checked) but to my knowledge Windows 2000 is 32-bit only.

I ran inside the MSys2 MinGW32 terminal:

git clone https://github.com/vhelin/wla-dx wla-dx-to-build
mkdir wla-dx-to-build/build-mingw32
cd wla-dx-to-build/build-mingw32
cmake .. -G 'MSYS Makefiles'
make -j8
strip binaries/*.exe # Optional

Also, there is an "XP-compatible toolchain" you can install via the Visual Studio Installer to compile for Windows XP, not sure if the resulting binaries also works for earlier versions of Windows.

Replies: 4 comments 11 replies

Comment options

You must be logged in to vote
1 reply
@Pokeman2003
Comment options

Comment options

You must be logged in to vote
1 reply
@Pokeman2003
Comment options

Comment options

You must be logged in to vote
5 replies
@Kroc
Comment options

@Pokeman2003
Comment options

@vhelin
Comment options

@vhelin
Comment options

@Pokeman2003
Comment options

Comment options

You must be logged in to vote
4 replies
@Pokeman2003
Comment options

@Neui
Comment options

@Pokeman2003
Comment options

@Pokeman2003
Comment options

Answer selected by Pokeman2003
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants