Dolphin, the GameCube and Wii emulator - Forums

Full Version: Compile Dolphin for 64-bit Windows XP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

printsmyon

could someone help me compile the 64-bit version of Dolphin for Windows XP? I can't seem to figure it out no matter what
someone else compiled it here https://forums.dolphin-emu.org/Thread-r7...ort?page=6 but the download link doesn't work anymore
I would be really happy if someone helped me with this Heart
It's very likely that you can't compile the latest Dolphin version for Windows XP 64 bit. According to this thread:
https://forums.dolphin-emu.org/Thread-la...phin-on-xp
only versions before 4.0-296 work with Windows XP. And if VS2013 actually broke the support, you'd need the visual studio version that Dolphin used before that. No idea if it was the 2010, 2011 or 2012 version.
Why are you still running Windows XP 64bit in 2021? Are you relying on some hardware peripheral that doesn't have updated drivers? Your computer is modern and supports Win 7/10. NVIDIA doesn't even host drivers for WinXP for the 980Ti, and you have to jump through hoops to even get the 368 series drivers installed from 2016.

Dolphin's code requirements to build are now Visual Studio 2019 16.3 https://github.com/dolphin-emu/dolphin#b...or-windows
Visual Studio 2019 doesn't support compiling for Windows XP anymore https://docs.microsoft.com/en-us/cpp/por...w=msvc-160

If you don't want to upgrade Windows, maybe look into dual-booting Linux? That way you can keep using XP for whatever it is you're still using it for, and you can run up-to-date Linux for gaming/emulation/compiling Dolphin to run the latest versions.

printsmyon

(06-02-2021, 03:38 AM)mimimi Wrote: [ -> ]It's very likely that you can't compile the latest Dolphin version for Windows XP 64 bit. According to this thread:
https://forums.dolphin-emu.org/Thread-la...phin-on-xp
only versions before 4.0-296 work with Windows XP. And if VS2013 actually broke the support, you'd need the visual studio version that Dolphin used before that. No idea if it was the 2010, 2011 or 2012 version.

the version I was trying to compile was 4.0.1
the x86 version works but the x64 bit version doesn't

I found these instructions from that thread
"If you wish to compile an x64 version of Dolphin which will work on Windows XP x64 you can easily disable the two lines where USE_SRWLOCKS and USE_CONDITION_VARIABLES are defined."


(06-02-2021, 05:15 AM)KHg8m3r Wrote: [ -> ]Why are you still running Windows XP 64bit in 2021? Are you relying on some hardware peripheral that doesn't have updated drivers? Your computer is modern and supports Win 7/10. NVIDIA doesn't even host drivers for WinXP for the 980Ti, and you have to jump through hoops to even get the 368 series drivers installed from 2016.

Dolphin's code requirements to build are now Visual Studio 2019 16.3 https://github.com/dolphin-emu/dolphin#b...or-windows
Visual Studio 2019 doesn't support compiling for Windows XP anymore https://docs.microsoft.com/en-us/cpp/por...w=msvc-160

If you don't want to upgrade Windows, maybe look into dual-booting Linux? That way you can keep using XP for whatever it is you're still using it for, and you can run up-to-date Linux for gaming/emulation/compiling Dolphin to run the latest versions.

Thanks for the suggestion, but using a different OS isn't something I can see myself doing any time soon, for reasons I don't want to get into here
(06-02-2021, 07:00 AM)printsmyon Wrote: [ -> ]the version I was trying to compile was 4.0.1
the x86 version works but the x64 bit version doesn't

I found these instructions from that thread
"If you wish to compile an x64 version of Dolphin which will work on Windows XP x64 you can easily disable the two lines where USE_SRWLOCKS and USE_CONDITION_VARIABLES are defined."

You should try to get something higher than 4.0.1, that version has some bugs. Compile 4.0.2 or higher https://dolphin-emu.org/blog/2013/11/30/...ouncement/, preferably the highest version you can before XP support is dropped.

Try an comment out the lines where those are defined in Visual Studio and see if it compiles?

(06-02-2021, 07:00 AM)printsmyon Wrote: [ -> ]Thanks for the suggestion, but using a different OS isn't something I can see myself doing any time soon, for reasons I don't want to get into here
You don't have to tell us the reasons, but just so you know: a cheap SSD and a user friendly OS like Pop!_OS (derived from Ubuntu, but tailored to gaming) would be pretty easy to setup, and we could always help with technical questions on compiling/setting up Linux for Dolphin. Not to mention Dolphin would perform a lot better than an old version hacked together for WinXP 64bit.

printsmyon

(06-02-2021, 12:27 PM)KHg8m3r Wrote: [ -> ]You should try to get something higher than 4.0.1, that version has some bugs. Compile 4.0.2 or higher https://dolphin-emu.org/blog/2013/11/30/...ouncement/, preferably the highest version you can before XP support is dropped.

Try an comment out the lines where those are defined in Visual Studio and see if it compiles?

You don't have to tell us the reasons, but just so you know: a cheap SSD and a user friendly OS like Pop!_OS (derived from Ubuntu, but tailored to gaming) would be pretty easy to setup, and we could always help with technical questions on compiling/setting up Linux for Dolphin. Not to mention Dolphin would perform a lot better than an old version hacked together for WinXP 64bit.
The compiling is what I need help with
https://forums.dolphin-emu.org/Thread-ho...08-express
I tried following this guide but it's just really complicated since I've never done anything like this

since it's just disabling two lines it seems like it would be pretty simple for someone who already knows how to use all these tools so I just thought I would ask for help here
It's fairly likely that no one who knew how to use the tools has used the tools for a long time. XP's been EOL for seven years already.