• 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 ... 3 4 5 6 7 ... 114 Next »

Help Building Dolphin
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Help Building Dolphin
04-25-2021, 12:21 PM
#1
Lobsterzelda Offline
Junior Member
**
Posts: 17
Threads: 5
Joined: Apr 2021
Hi everyone,

I am writing with a question I had about a build error I got when trying to build Dolphin in Microsoft Visual Studio. Specifically, I got the following errors:

1. "QTDIR not set or non-existent (pull the submodule?)" (QtCompile.props)
2. "Cannot open include file: 'Common/scmrev.h': No such file or directory" (ConfigManager.cpp). Note that there is a file called Common/scmrev.h.in, but no file called Common/scmrev.h
3. "The command ""%windir%\Sysnative\cscript" /nologo /E:JScript "make_scmrev.h.js"
:VCEnd" exited with code 1." (Microsoft.CppCommon.targets line 145)

Any ideas what might be causing these errors, and how to fix them? Do I need to set the values of some arguments before I can build?

Any help would be greatly appreciated!
Find
Reply
04-25-2021, 03:16 PM
#2
Lobsterzelda Offline
Junior Member
**
Posts: 17
Threads: 5
Joined: Apr 2021
Nevermind, I made a dumb mistake, and didn't download everything correctly from git.

After deleting the project and running the following command:
git clone --recursive https://github.com/dolphin-emu/dolphin.git

It worked the next time I ran it. Credits to LPFaint99 for posting this solution in a different thread last year!
Find
Reply
04-25-2021, 04:31 PM
#3
Lobsterzelda Offline
Junior Member
**
Posts: 17
Threads: 5
Joined: Apr 2021
Oh, btw, does anyone know how to build and run the 5.0 Stable version of Dolphin in 2019 Visual Studio? I'm trying to download 2013 VS to make it compatible, but I can't seem to find a way to get that download to work...

Does anyone have any experience with this problem?
Find
Reply
04-25-2021, 05:30 PM
#4
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,625
Threads: 7
Joined: Oct 2014
You need Visual Studio 2015 for 5.0, not Visual Studio 2013. I don't believe it's possible to compile 5.0 with Visual Studio 2019.
Find
Reply
04-26-2021, 11:25 AM
#5
Lobsterzelda Offline
Junior Member
**
Posts: 17
Threads: 5
Joined: Apr 2021
(04-25-2021, 05:30 PM)JosJuice Wrote: You need Visual Studio 2015 for 5.0, not Visual Studio 2013. I don't believe it's possible to compile 5.0 with Visual Studio 2019.


I downloaded Visual Studio 2013, and then was able to build 5.0 in Visual Studio 2019 (downloading Visual Studio 2015 had no effect on the downloading process).

I was able to compile and build 5.0, and to get Dolphin to start running. However, after I hit "Play" to start a game, an exception occurs: 

Exception thrown at 0x000000001B6D4A95 in Dolphin.exe: 0xC0000005: Access violation writing location 0x000000034BFF500A.

Any ideas what might be causing this: 

The only error message I see during compilation is:

#error directive: alignof compat can be removed, from project Common in File CommonFuncs.h line 109. 

This seems to occur because the MSC version (which is 1928 for me) is above 1800.

Any thoughts on what might be causing the exception and how to fix it?
Find
Reply
04-26-2021, 05:12 PM
#6
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,625
Threads: 7
Joined: Oct 2014
Just tell Visual Studio to ignore that type of exception and it will work. (The segfault is caused by Dolphin's fastmem feature intentionally, and gets caught by a piece of code in Dolphin.)
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