Project

General

Profile

Actions

Emulator Issues #7555

closed

wxGTK3-devel not detected on fedora

Added by sheepdestroyer almost 10 years ago. Updated almost 6 years ago.

Status:
Won't fix
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

I have Wx3 packages installed in fedora 20 but they are not detected by cmake which searches for wxrc and wxconfig instead of wx-config-3.0 and wxrc-3.0

ln -ls those in /usr/bin to wxrc and wxconfig fails to compile with gtk2 related errors

The result is the included external package is used instead of my native fedora ones.

Actions #2

Updated by phire almost 9 years ago

Has this been fixed upstream?

Actions #3

Updated by sheepdestroyer almost 9 years ago

will retry soon on fc22

Actions #4

Updated by sheepdestroyer almost 9 years ago

So,
current state on Fedora 22 with wxGTK3-devel is :

with just running cmake without option I get :
-- Could NOT find wxWidgets (missing: wxWidgets_FOUND)
-- Could NOT find wxWidgets (missing: wxWidgets_FOUND)
Using static wxWidgets from Externals

But, with "cmake -DwxWidgets_CONFIG_EXECUTABLE=/usr/libexec/wxGTK3/wx-config" I have
-- Found wxWidgets: TRUE
Found wxWidgets version 3.0.2
wxWidgets found, enabling GUI build

It seems there is now further modification coming to Fedora on that front so maybe Dolphin's cmake should be looking at both places?


anyway, build after "cmake -DwxWidgets_CONFIG_EXECUTABLE=/usr/libexec/wxGTK3/wx-config" still fails with gtk2 errors :
Linking CXX static library libcore.a
[ 89%] Built target core
Scanning dependencies of target dolphin-emu-nogui
Scanning dependencies of target dolphin-emu
[ 89%] [ 90%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu-nogui.dir/MainNoGUI.cpp.o
Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu-nogui.dir/X11Utils.cpp.o
In file included from /usr/include/wx-3.0/wx/arrstr.h:14:0,
from /home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/X11Utils.h:18,
from /home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/MainNoGUI.cpp:116:
/usr/include/wx-3.0/wx/defs.h:3412:31: error: conflicting declaration ‘typedef struct _GdkWindow GdkWindow’
typedef struct _GdkWindow GdkWindow;
^
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/gtk/gtk.h:32,
from /home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/X11Utils.h:16,
from /home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/MainNoGUI.cpp:116:
/usr/include/gtk-2.0/gdk/gdktypes.h:114:39: note: previous declaration as ‘typedef struct _GdkDrawable GdkWindow’
typedef struct _GdkDrawable GdkWindow;
^
[ 90%] [ 90%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/ARCodeAddEdit.cpp.o
Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/AboutDolphin.cpp.o
In file included from /usr/include/wx-3.0/wx/arrstr.h:14:0,
from /home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/X11Utils.h:18,
from /home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/X11Utils.cpp:12:
/usr/include/wx-3.0/wx/defs.h:3412:31: error: conflicting declaration ‘typedef struct _GdkWindow GdkWindow’
typedef struct _GdkWindow GdkWindow;

Actions #5

Updated by sheepdestroyer about 8 years ago

Dolphin still does not find wxWidget3 automatically on Fedora 23.

Fedora has implemented symlinks for wxW 2&3 to coexist on the same system and the bug has been closed.

However dolphin does not look for them.

This is what I have to change to make it work with cmake :

_filename=/usr/include/wx-3.0/wx/version.h
wxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-3.0
wxWidgets_wxrc_EXECUTABLE=/usr/bin/wxrc-3.0

however build still fails with GTK2 errors so I am opening an other bug for that

Actions #6

Updated by sheepdestroyer about 8 years ago

Bug https://bugs.dolphin-emu.org/issues/9414 opened about build failure

Actions #7

Updated by sheepdestroyer about 8 years ago

So, actually I am not sure about that anymore ; I just rm-ed everything and git-cloned again and now it seems that wxwidget3 is detected just fine.

-- Found wxWidgets: -pthread;;;-lwx_gtk3u_xrc-3.0;-lwx_gtk3u_webview-3.0;-lwx_gtk3u_html-3.0;-lwx_gtk3u_qa-3.0;-lwx_gtk3u_adv-3.0;-lwx_gtk3u_core-3.0;-lwx_baseu_xml-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0 (found version "3.0.2") 
-- Found wxWidgets: -pthread;;;-lwx_gtk3u_core-3.0;-lwx_gtk3u_aui-3.0;-lwx_gtk3u_adv-3.0;-lwx_baseu-3.0 (found version "3.0.2") 
Found wxWidgets version 3.0.2
-- Found GTK2_GTK: /usr/lib64/libgtk-x11-2.0.so  
wxWidgets found, enabling GUI build

The GTK3/GTK2 things is still valid though meaning that by default, dolphin will not build on Fedora systems where wxWidget3-devel is installed.

Actions #8

Updated by 8times9 almost 6 years ago

This can be closed.

Actions #9

Updated by JMC4789 almost 6 years ago

  • Status changed from New to Won't fix
Actions

Also available in: Atom PDF