Ishiiruka icon indicating copy to clipboard operation
Ishiiruka copied to clipboard

Can't build target dolphin-emu-qt2_automoc

Open tbilik opened this issue 7 years ago • 10 comments

I am trying to build on Linux Mint 18.2.

[  0%] Built target bdisasm
[  3%] Built target glslang
[  3%] Built target pugixml
[  3%] Built target cpp-optparse
[  4%] Built target enet
[  5%] Built target xxhash
[  6%] Built target SoundTouch
[ 39%] Built target wx
[ 39%] Built target xbrz
[ 39%] Built target speex
[ 40%] Built target cubeb
[ 41%] Built target audiocommon
[ 45%] Built target mbedcrypto
[ 46%] Built target mbedx509
[ 47%] Built target mbedtls
[ 52%] Built target common
[ 52%] Built target traversal_server
[ 54%] Built target inputcommon
[ 54%] Built target hidapi
[ 56%] Built target discio
[ 57%] Built target videovulkan
[ 59%] Built target videosoftware
[ 60%] Built target videoogl
[ 65%] Built target videocommon
[ 85%] Built target core
[ 86%] Built target uicommon
[ 94%] Built target ishiiruka
[ 94%] Built target ishiiruka-nogui
[ 94%] Automatic moc for target dolphin-emu-qt2
[ 94%] Built target dolphin-emu-qt2_automoc
[ 94%] Building CXX object Source/Core/DolphinQt2/CMakeFiles/dolphin-emu-qt2.dir/HotkeyScheduler.cpp.o
In file included from /home/tbilik/workspace/Ishiiruka/Source/Core/DolphinQt2/GameList/GameListModel.h:12:0,
                 from /home/tbilik/workspace/Ishiiruka/Source/Core/DolphinQt2/GameList/GameList.h:14,
                 from /home/tbilik/workspace/Ishiiruka/Source/Core/DolphinQt2/MainWindow.h:14,
                 from /home/tbilik/workspace/Ishiiruka/Source/Core/DolphinQt2/HotkeyScheduler.cpp:20:
/home/tbilik/workspace/Ishiiruka/Source/Core/DolphinQt2/GameList/GameTracker.h:13:36: fatal error: Common/WorkQueueThread.h: No such file or directory
compilation terminated.
Source/Core/DolphinQt2/CMakeFiles/dolphin-emu-qt2.dir/build.make:86: recipe for target 'Source/Core/DolphinQt2/CMakeFiles/dolphin-emu-qt2.dir/HotkeyScheduler.cpp.o' failed
make[2]: *** [Source/Core/DolphinQt2/CMakeFiles/dolphin-emu-qt2.dir/HotkeyScheduler.cpp.o] Error 1
CMakeFiles/Makefile2:1818: 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

tbilik avatar Sep 16 '17 20:09 tbilik

The file "Common/WorkQueueThread.h" is missing. I copied it from dolphin-master, but an other error occurs which I don't know how to investigate:

[ 85%] Built target wx
make[1]: Verzeichnis „/home/vdr/build/Ishiiruka/build“ wird verlassen
Makefile:152: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2

That is all I get.

oCanna avatar Sep 20 '17 12:09 oCanna

I'm aware of the issues, still does not support the qt front end, will try to fix those issues soon

Tinob avatar Sep 20 '17 12:09 Tinob

Sorry for the silly question, but where is the Common/ directory in the source code?

tbilik avatar Sep 20 '17 13:09 tbilik

Source/Core/Common

Tinob avatar Sep 20 '17 14:09 Tinob

Adding WorkQueueThread.h to the Common/ directory spits out this error when I build:

[  0%] Built target bdisasm
[  3%] Built target glslang
[  3%] Built target pugixml
[  3%] Built target cpp-optparse
[  4%] Built target enet
[  5%] Built target xxhash
[  6%] Built target SoundTouch
[ 39%] Built target wx
[ 39%] Built target xbrz
[ 39%] Built target speex
[ 40%] Built target cubeb
[ 41%] Built target audiocommon
[ 45%] Built target mbedcrypto
[ 46%] Built target mbedx509
[ 47%] Built target mbedtls
[ 52%] Built target common
[ 52%] Built target traversal_server
[ 54%] Built target inputcommon
[ 54%] Built target hidapi
[ 56%] Built target discio
[ 57%] Built target videovulkan
[ 59%] Built target videosoftware
[ 60%] Built target videoogl
[ 65%] Built target videocommon
[ 85%] Built target core
[ 86%] Built target uicommon
[ 94%] Built target ishiiruka
[ 94%] Built target ishiiruka-nogui
[ 94%] Automatic moc for target dolphin-emu-qt2
[ 94%] Built target dolphin-emu-qt2_automoc
[ 94%] Building CXX object Source/Core/DolphinQt2/CMakeFiles/dolphin-emu-qt2.dir/HotkeyScheduler.cpp.o
/home/tbilik/workspace/Ishiiruka/Source/Core/DolphinQt2/HotkeyScheduler.cpp: In member function ‘void HotkeyScheduler::Run()’:
/home/tbilik/workspace/Ishiiruka/Source/Core/DolphinQt2/HotkeyScheduler.cpp:200:13: warning: variable ‘wiimote_id’ set but not used [-Wunused-but-set-variable]
         int wiimote_id = -1;
             ^
/home/tbilik/workspace/Ishiiruka/Source/Core/DolphinQt2/HotkeyScheduler.cpp:220:63: error: ‘EFB_SCALE_AUTO_INTEGRAL’ was not declared in this scope
         g_Config.iEFBScale = std::max(g_Config.iEFBScale - 1, EFB_SCALE_AUTO_INTEGRAL);
                                                               ^
/home/tbilik/workspace/Ishiiruka/Source/Core/DolphinQt2/HotkeyScheduler.cpp:263:24: error: ‘struct VideoConfig’ has no member named ‘sPostProcessingShader’
           if (g_Config.sPostProcessingShader == DUBOIS_ALGORITHM_SHADER)
                        ^
/home/tbilik/workspace/Ishiiruka/Source/Core/DolphinQt2/HotkeyScheduler.cpp:264:22: error: ‘struct VideoConfig’ has no member named ‘sPostProcessingShader’
             g_Config.sPostProcessingShader = "";
                      ^
/home/tbilik/workspace/Ishiiruka/Source/Core/DolphinQt2/HotkeyScheduler.cpp:276:37: error: ‘STEREO_ANAGLYPH’ was not declared in this scope
         if (g_Config.iStereoMode != STEREO_ANAGLYPH)
                                     ^
/home/tbilik/workspace/Ishiiruka/Source/Core/DolphinQt2/HotkeyScheduler.cpp:279:20: error: ‘struct VideoConfig’ has no member named ‘sPostProcessingShader’
           g_Config.sPostProcessingShader = DUBOIS_ALGORITHM_SHADER;
                    ^
/home/tbilik/workspace/Ishiiruka/Source/Core/DolphinQt2/HotkeyScheduler.cpp:284:20: error: ‘struct VideoConfig’ has no member named ‘sPostProcessingShader’
           g_Config.sPostProcessingShader = "";
                    ^
/home/tbilik/workspace/Ishiiruka/Source/Core/DolphinQt2/HotkeyScheduler.cpp:292:24: error: ‘struct VideoConfig’ has no member named ‘sPostProcessingShader’
           if (g_Config.sPostProcessingShader == DUBOIS_ALGORITHM_SHADER)
                        ^
/home/tbilik/workspace/Ishiiruka/Source/Core/DolphinQt2/HotkeyScheduler.cpp:293:22: error: ‘struct VideoConfig’ has no member named ‘sPostProcessingShader’
             g_Config.sPostProcessingShader = "";
                      ^
Source/Core/DolphinQt2/CMakeFiles/dolphin-emu-qt2.dir/build.make:86: recipe for target 'Source/Core/DolphinQt2/CMakeFiles/dolphin-emu-qt2.dir/HotkeyScheduler.cpp.o' failed
make[2]: *** [Source/Core/DolphinQt2/CMakeFiles/dolphin-emu-qt2.dir/HotkeyScheduler.cpp.o] Error 1
CMakeFiles/Makefile2:1818: 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

tbilik avatar Sep 20 '17 14:09 tbilik

yes those are diferences betwen master and ishiiruka, i have to port those settings from ishiiruka ti the qt frontend

Tinob avatar Sep 20 '17 14:09 Tinob

Still didn't seem to compile successfully on the latest commit. Same error as the issue. Is it possible to work around this issue in some way?

tbilik avatar Oct 25 '17 21:10 tbilik

no, im still not working in the qt ui you will have to compile and use wx while i gety some free time to port my changes to the qt frontend

Tinob avatar Oct 25 '17 21:10 Tinob

I can use WX, but how do I compile it so the build doesn't fail?

tbilik avatar Oct 28 '17 01:10 tbilik

Following this

ibrokemypie avatar Nov 17 '17 00:11 ibrokemypie