• 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 ... 280 281 282 283 284 ... 1189 Next »

gtk build failure
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
gtk build failure
12-08-2017, 04:41 AM
#1
jlozadad Offline
Junior Member
**
Posts: 9
Threads: 3
Joined: Dec 2017
Hello,

This is a separate issue from the other threat I started. So I continued trying to troubleshoot why my build fails and I ran across this ticket https://bugs.dolphin-emu.org/issues/10309 Looks like in fedora it still installs wxwigets 3.0 so I went to their site to and looked at installing their 3.1 version. They provide 3.1 rpm for all the recent fedora versions http://codelite.org/LiteEditor/WxWidgets31Binaries#toc3 I installed them during make it fails in this area
Code:
[ 85%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Input/ClassicInputConfigDiag.cpp.o
[ 85%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Input/GuitarInputConfigDiag.cpp.o
[ 86%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Input/DrumsInputConfigDiag.cpp.o
[ 86%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Input/TurntableInputConfigDiag.cpp.o
[ 86%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/DolphinSlider.cpp.o
[ 86%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/FifoPlayerDlg.cpp.o
[ 86%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Frame.cpp.o
In file included from /usr/include/gtk-2.0/gdk/gdkscreen.h:32:0,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkprivate.h:30,
                 from /usr/include/gtk-2.0/gdk/gdkx.h:30,
                 from /home/jcasanova/Downloads/git/dolphin-emu/Source/Core/DolphinWX/Frame.cpp:82:
/usr/include/gtk-2.0/gdk/gdktypes.h:114:39: error: conflicting declaration ‘typedef struct _GdkDrawable GdkWindow’
typedef struct _GdkDrawable           GdkWindow;
                                       ^~~~~~~~~
In file included from /usr/include/wx-3.1/wx/string.h:24:0,
                 from /usr/include/wx-3.1/wx/bitmap.h:18,
                 from /home/jcasanova/Downloads/git/dolphin-emu/Source/Core/DolphinWX/Frame.h:13,
                 from /home/jcasanova/Downloads/git/dolphin-emu/Source/Core/DolphinWX/Frame.cpp:5:
/usr/include/wx-3.1/wx/defs.h:3307:31: note: previous declaration as ‘typedef struct _GdkWindow GdkWindow’
     typedef struct _GdkWindow GdkWindow;
                               ^~~~~~~~~
In file included from /home/jcasanova/Downloads/git/dolphin-emu/Source/Core/DolphinWX/Frame.cpp:82:0:
/home/jcasanova/Downloads/git/dolphin-emu/Source/Core/DolphinWX/Frame.cpp: In function ‘Window X11Utils::XWindowFromHandle(void*)’:
/usr/include/gtk-2.0/gdk/gdkx.h:113:69: error: cannot convert ‘GdkWindow* {aka _GdkWindow*}’ to ‘GdkDrawable* {aka _GdkDrawable*}’ for argument ‘1’ to ‘XID gdk_x11_drawable_get_xid(GdkDrawable*)’
#define GDK_WINDOW_XID(win)           (gdk_x11_drawable_get_xid (win))
                                                                     ^
/home/jcasanova/Downloads/git/dolphin-emu/Source/Core/DolphinWX/Frame.cpp:90:10: note: in expansion of macro ‘GDK_WINDOW_XID’
   return GDK_WINDOW_XID(gtk_widget_get_window(GTK_WIDGET(Handle)));
          ^
In file included from /usr/include/wx-3.1/wx/string.h:24:0,
                 from /usr/include/wx-3.1/wx/bitmap.h:18,
                 from /home/jcasanova/Downloads/git/dolphin-emu/Source/Core/DolphinWX/Frame.h:13,
                 from /home/jcasanova/Downloads/git/dolphin-emu/Source/Core/DolphinWX/Frame.cpp:5:
/usr/include/wx-3.1/wx/defs.h:3307:20: note: class type ‘GdkWindow {aka _GdkWindow}’ is incomplete
     typedef struct _GdkWindow GdkWindow;
                    ^~~~~~~~~~
make[2]: *** [Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/build.make:1671: Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Frame.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1386: Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
Find
Reply
12-08-2017, 06:26 AM
#2
jlozadad Offline
Junior Member
**
Posts: 9
Threads: 3
Joined: Dec 2017
(12-08-2017, 04:41 AM)jlozadad Wrote: Hello,

This is a separate issue from the other threat I started. So I continued trying to troubleshoot why my build fails and I ran across this ticket https://bugs.dolphin-emu.org/issues/10309 Looks like in fedora it still installs wxwigets 3.0 so I went to their site to and looked at installing their 3.1 version. They provide 3.1 rpm for all the recent fedora versions http://codelite.org/LiteEditor/WxWidgets31Binaries#toc3 I installed them during make it fails in this area

Code:
[ 85%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Input/ClassicInputConfigDiag.cpp.o
[ 85%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Input/GuitarInputConfigDiag.cpp.o
[ 86%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Input/DrumsInputConfigDiag.cpp.o
[ 86%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Input/TurntableInputConfigDiag.cpp.o
[ 86%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/DolphinSlider.cpp.o
[ 86%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/FifoPlayerDlg.cpp.o
[ 86%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Frame.cpp.o
In file included from /usr/include/gtk-2.0/gdk/gdkscreen.h:32:0,
                from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                from /usr/include/gtk-2.0/gdk/gdk.h:32,
                from /usr/include/gtk-2.0/gdk/gdkprivate.h:30,
                from /usr/include/gtk-2.0/gdk/gdkx.h:30,
                from /home/jcasanova/Downloads/git/dolphin-emu/Source/Core/DolphinWX/Frame.cpp:82:
/usr/include/gtk-2.0/gdk/gdktypes.h:114:39: error: conflicting declaration ‘typedef struct _GdkDrawable GdkWindow’
typedef struct _GdkDrawable           GdkWindow;
                                      ^~~~~~~~~
In file included from /usr/include/wx-3.1/wx/string.h:24:0,
                from /usr/include/wx-3.1/wx/bitmap.h:18,
                from /home/jcasanova/Downloads/git/dolphin-emu/Source/Core/DolphinWX/Frame.h:13,
                from /home/jcasanova/Downloads/git/dolphin-emu/Source/Core/DolphinWX/Frame.cpp:5:
/usr/include/wx-3.1/wx/defs.h:3307:31: note: previous declaration as ‘typedef struct _GdkWindow GdkWindow’
    typedef struct _GdkWindow GdkWindow;
                              ^~~~~~~~~
In file included from /home/jcasanova/Downloads/git/dolphin-emu/Source/Core/DolphinWX/Frame.cpp:82:0:
/home/jcasanova/Downloads/git/dolphin-emu/Source/Core/DolphinWX/Frame.cpp: In function ‘Window X11Utils::XWindowFromHandle(void*)’:
/usr/include/gtk-2.0/gdk/gdkx.h:113:69: error: cannot convert ‘GdkWindow* {aka _GdkWindow*}’ to ‘GdkDrawable* {aka _GdkDrawable*}’ for argument ‘1’ to ‘XID gdk_x11_drawable_get_xid(GdkDrawable*)’
#define GDK_WINDOW_XID(win)           (gdk_x11_drawable_get_xid (win))
                                                                    ^
/home/jcasanova/Downloads/git/dolphin-emu/Source/Core/DolphinWX/Frame.cpp:90:10: note: in expansion of macro ‘GDK_WINDOW_XID’
  return GDK_WINDOW_XID(gtk_widget_get_window(GTK_WIDGET(Handle)));
         ^
In file included from /usr/include/wx-3.1/wx/string.h:24:0,
                from /usr/include/wx-3.1/wx/bitmap.h:18,
                from /home/jcasanova/Downloads/git/dolphin-emu/Source/Core/DolphinWX/Frame.h:13,
                from /home/jcasanova/Downloads/git/dolphin-emu/Source/Core/DolphinWX/Frame.cpp:5:
/usr/include/wx-3.1/wx/defs.h:3307:20: note: class type ‘GdkWindow {aka _GdkWindow}’ is incomplete
    typedef struct _GdkWindow GdkWindow;
                   ^~~~~~~~~~
make[2]: *** [Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/build.make:1671: Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Frame.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1386: Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
related tickets https://bugs.dolphin-emu.org/issues/7555 and https://bugs.dolphin-emu.org/issues/10309
Find
Reply
12-08-2017, 06:40 AM
#3
Helios Offline
Stellaaaaaaa
**********
Developers (Some Administrators and Super Moderators)
Posts: 4,397
Threads: 15
Joined: May 2012
We include Wx in our Externals directory. You shouldn't need to install it
Find
Reply
12-10-2017, 02:14 AM
#4
jlozadad Offline
Junior Member
**
Posts: 9
Threads: 3
Joined: Dec 2017
(12-08-2017, 06:40 AM)Helios Wrote: We include Wx in our Externals directory. You shouldn't need to install it

so just run make without pointing to the wx dirs?
This is what I had to do

Code:
cmake .. -DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config-3.1' -DENABLE_LTO='TRUE' -DUSE_SHARED_ENET=TRUE

make
Find
Reply
12-10-2017, 03:21 AM
#5
Helios Offline
Stellaaaaaaa
**********
Developers (Some Administrators and Super Moderators)
Posts: 4,397
Threads: 15
Joined: May 2012
Why are you using all those cmake flags?

cmake ..

make -j(cpus)

should work just fine. Well, excluding your ffmpeg issue.
Find
Reply
12-10-2017, 07:41 AM
#6
jlozadad Offline
Junior Member
**
Posts: 9
Threads: 3
Joined: Dec 2017
(12-10-2017, 03:21 AM)Helios Wrote: Why are you using all those cmake flags?

cmake ..

make -j(cpus)

should work just fine. Well, excluding your ffmpeg issue.

I apologize, I was just trying to use what was in the srpm and other issues I found that had those because they got the error mentioned above.
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