• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 2 3 4 5 6 ... 116 Next »

Compiling Dolphin on Windows Without Admin?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Compiling Dolphin on Windows Without Admin?
10-28-2021, 03:35 PM
#1
Zopolis4 Offline
Junior Member
**
Posts: 46
Threads: 4
Joined: Aug 2020
I've been making some changes to dolphin, but I'm using a computer without admin, and it is very tedious to keep switching computers (I can't work on the computer with admin, its too slow). I know that using Visual Studio needs admin, but I was wondering if it would be possible to create Windows binaries via cmake on MSYS2 or similar (preferably not cygwin).
Find
Reply
10-28-2021, 06:04 PM
#2
mbc07 Offline
Wiki Caretaker
*******
Content Creators (Moderators)
Posts: 3,563
Threads: 47
Joined: Dec 2010
You shouldn't need administrative rights to compile Dolphin. You'll need them for installing Visual Studio, though...
Avell A70 MOB: Core i7-11800H, GeForce RTX 3060, 16 GB DDR4-3200, Windows 11 (Insider Preview)
ASRock Z97M OC Formula: Pentium G3258, GeForce GT 440, 16 GB DDR3-1600, Windows 10 (22H2)
Find
Reply
10-28-2021, 06:30 PM
#3
Zopolis4 Offline
Junior Member
**
Posts: 46
Threads: 4
Joined: Aug 2020
Thats the issue, so I was wondering how to use cmake instead.
Find
Reply
10-29-2021, 12:23 AM
#4
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,849
Threads: 7
Joined: Oct 2014
We don't officially support any way of building for Windows other than MSVC, and I don't think anyone has tested it either. So you're kind of on your own if you want to go down this route.
Find
Reply
11-08-2021, 12:13 PM
#5
Zopolis4 Offline
Junior Member
**
Posts: 46
Threads: 4
Joined: Aug 2020
Ok well I got MSVC, is there any other way to use it than MSBuild? Because that fails for me due to the standard C++ libraries being missing.
Find
Reply
11-09-2021, 02:17 AM
#6
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,849
Threads: 7
Joined: Oct 2014
Yes, MSVC with CMake is supported. But I would advise trying to fix the problem with the missing libraries, because you'll need those libraries regardless of whether you use MSBuild or CMake.
Find
Reply
11-19-2021, 12:21 PM
#7
Zopolis4 Offline
Junior Member
**
Posts: 46
Threads: 4
Joined: Aug 2020
Went through quite a bit with msbuild, eventually ended up moving over to cygwin/mingw64/msys2. Cygwin generated the makefiles, and after adding a few #define _GNU_SOURCE in some common files, and a platform check in SFML it now breaks on long unsigned ints.
Find
Reply
11-26-2021, 06:19 PM
#8
Zopolis4 Offline
Junior Member
**
Posts: 46
Threads: 4
Joined: Aug 2020
I ended up giving up, but in case this is helpful to anyone else I used a Win 11 SDK install from here:https://github.com/Zopolis4/VisualCppInstaller and a copy of Visual Studio Build Tools installed into a local directory via command line parameters on a pc with admin.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode