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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 290 291 292 293 294 ... 1197 Next »

[SOLVED] [5.0-5944 on Linux] Dolphin Fails To Build From Source
View New Posts | View Today's Posts

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[SOLVED] [5.0-5944 on Linux] Dolphin Fails To Build From Source
11-27-2017, 02:52 AM (This post was last modified: 11-27-2017, 04:48 AM by Sonic2kk.)
#1
Sonic2kk Offline
Junior Member
**
Posts: 16
Threads: 6
Joined: Mar 2015
Tried building a few versions of Dolphin over the past few days. I have a script which automatically clones and builds Dolphin, and noticed just yesterday that the builds were failing. Not sure what the builds were and I was too tired to take note of the errors. I just tried installing it now with version 5.0-5944 and I get the following error:

Code:
/homedir/dolphin-emu/Source/Core/DolphinQt2/MainWindow.cpp:66:42: fatal error: qpa/qplatformnativeinterface.h: No such file or directory
compilation terminated.
Source/Core/DolphinQt2/CMakeFiles/dolphin-emu-qt2.dir/build.make:374: recipe for target 'Source/Core/DolphinQt2/CMakeFiles/dolphin-emu-qt2.dir/MainWindow.cpp.o' failed
make[2]: *** [Source/Core/DolphinQt2/CMakeFiles/dolphin-emu-qt2.dir/MainWindow.cpp.o] Error 1
CMakeFiles/Makefile2:1814: recipe for target 'Source/Core/DolphinQt2/CMakeFiles/dolphin-emu-qt2.dir/all' failed
make[1]: *** [Source/Core/DolphinQt2/CMakeFiles/dolphin-emu-qt2.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

Using my common sense incredible deduction skills I think it's something to do with the new Dolphin QT backend. I checked that MainWindow.cpp file and it's an include for something called "qpa/qplatformnativeinterface" (as the error would suggest). However from Googling this seems to be something that is included with QT by default. My desktop, KDE, is based on QT, so I'm not sure why I'm getting this error. It's running QT 5.9.2, and my system is fully up to date. Is there a missing dependency that I need to install perhaps? If so, what is it?

Many thanks!
Find
Reply
11-27-2017, 03:27 AM
#2
Neui Offline
Quiet
***
Posts: 175
Threads: 1
Joined: Apr 2015
What distribution do you use? KDE is a Desktop Environment, not an distribution/OS.
Did it fail recently, or for some? Did you do any package updates?
Did you install the QT private header files? It seem it is in qtbase5-private-dev (Debian).
You can also disable building the not-finished QT backend if you don't use it: Go to the build folder, run "cmake . -DENABLE_QT2=OFF", and then build manually like usual ("make -j4")
Find
Reply
11-27-2017, 04:47 AM
#3
Sonic2kk Offline
Junior Member
**
Posts: 16
Threads: 6
Joined: Mar 2015
(11-27-2017, 03:27 AM)Neui Wrote: What distribution do you use? KDE is a Desktop Environment, not an distribution/OS.
Did it fail recently, or for some? Did you do any package updates?
Did you install the QT private header files? It seem it is in qtbase5-private-dev (Debian).
You can also disable building the not-finished QT backend if you don't use it: Go to the build folder, run "cmake . -DENABLE_QT2=OFF", and then build manually like usual ("make -j4")

I am very aware that KDE is a desktop, I never said it was my distro ("My desktop, KDE, is based on QT"). My distro is KDE neon. I did not have the private headers installed, so using apt-get to install them worked with the package name you provided! Cheers.
Find
Reply
11-27-2017, 05:50 AM
#4
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,931
Threads: 7
Joined: Oct 2014
(11-27-2017, 04:56 AM)Neui Wrote: But your profile says otherwise: Operating System: KDE neon 5.11.3 User Edition

No, it says "KDE neon", which is a distro.
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