• 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 ... 15 16 17 18 19 ... 115 Next »

Compiling DolphinQT2
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Compiling DolphinQT2
04-27-2018, 06:17 AM
#1
ryanebola16 Offline
Member
***
Posts: 61
Threads: 11
Joined: May 2016
Question 
I'm trying to build QT2 for the first time (since it's the new default). I get the attached errors in visual studio. I tried running
Code:
git submodule update --init --recursive
but that didn't make a difference. I assume I need to compile QT 5 and then replace "submodule" with something? Should I also create an issue to add QT 5 to Dolphin so we don't need to separately compile QT? Ideally it should be just as easy to compile QT vs WX.


Attached Files Thumbnail(s)
   
Find
Reply
04-27-2018, 06:22 AM
#2
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,643
Threads: 7
Joined: Oct 2014
It looks like you're trying to build with CMake, which isn't really something that works well on Windows right now. Make sure that you're using the Visual Studio solution file instead.

(04-27-2018, 06:17 AM)ryanebola16 Wrote: I assume I need to compile QT 5 and then replace "submodule" with something?

No. You just need to run that, and it fetches everything you need for building and running Dolphin with Qt. If you haven't done that (or if you didn't do it correctly), Dolphin's build process will give you an error message that specifically mentions the submodule.
Find
Reply
04-27-2018, 06:30 AM
#3
ryanebola16 Offline
Member
***
Posts: 61
Threads: 11
Joined: May 2016
I followed the instructions on https://github.com/dolphin-emu/dolphin/wiki/Building-for-Windows.

Am I missing a solution file? I tried dolphin-emu.sln and that didn't work. I assume the DSP.sln is for the DSP...


Attached Files Thumbnail(s)
   
Find
Reply
04-27-2018, 06:33 AM
#4
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,643
Threads: 7
Joined: Oct 2014
That's odd, then... dolphin-emu.sln is the one you're supposed to be using.
Find
Reply
04-27-2018, 06:35 AM
#5
ryanebola16 Offline
Member
***
Posts: 61
Threads: 11
Joined: May 2016
And expanding the error message gave me this (regardless of running git submodule update) To the issue tracker?:

Severity Code Description Project File Line Suppression State
Error CMake Error at Source/Core/DolphinQt2/CMakeLists.txt:1 (find_package):
By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5", but
CMake did not find one.

Could not find a package configuration file provided by "Qt5" with any of
the following names:

Qt5Config.cmake
qt5-config.cmake

Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
to a directory containing one of the above files. If "Qt5" provides a
separate development package or SDK, be sure it has been installed. Source/Core/DolphinQt2/CMakeLists.txt
Find
Reply
04-27-2018, 06:38 AM
#6
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,643
Threads: 7
Joined: Oct 2014
No, I don't think this should be reported on the issue tracker. CMake isn't expected to be functional on Windows. I don't know why VS is trying to build with CMake, but it is possible to make it not build with CMake.
Find
Reply
04-27-2018, 06:41 AM (This post was last modified: 04-27-2018, 07:04 AM by ryanebola16.)
#7
ryanebola16 Offline
Member
***
Posts: 61
Threads: 11
Joined: May 2016
Oops misread that. I'm open to trying something as I'd like to build the new default QT for testing purposes.

EDIT: Fixed the package did not load correctly error with https://stackoverflow.com/questions/17574089/microsoft-visual-studio-package-did-not-load-correctly. Now to look into the missing package configuration file error...
Find
Reply
05-19-2018, 05:21 AM
#8
spycrab Offline
Qt guy
**********
Developers (Some Administrators and Super Moderators)
Posts: 86
Threads: 1
Joined: Apr 2017
Please retry with a clean clone.
Find
Reply
05-19-2018, 06:55 AM
#9
ryanebola16 Offline
Member
***
Posts: 61
Threads: 11
Joined: May 2016
Same error using fresh clone from https://github.com/dolphin-emu/dolphin.git
Find
Reply
05-19-2018, 08:41 PM
#10
spycrab Offline
Qt guy
**********
Developers (Some Administrators and Super Moderators)
Posts: 86
Threads: 1
Joined: Apr 2017
My next best guess is that your VS install is broken in some way. Thus far it doesn't look like our solution is at fault.
Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • 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