Project

General

Profile

Actions

Emulator Issues #3529

closed

Connot link with wxGTK 2.9.1 - undefined references

Added by nitro322 over 13 years ago.

Status:
Duplicate
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

What's the problem?
Dolphin does not appear to correctly support wxGTK 2.9.1 on Linux. I can build just fine with 2.8.10, but after upgrading to 2.9.1 the build fails when trying to link the main dolphin-emu binary with multiple undefined reference errors.

Dolphin version with the problem (as it appears in the title bar, Ex.: "R
4779" or "R 6403M"):
r6441

(optional) Dolphin version that does not have the problem:
N/A

Operating system and version:
32-bit or 64-bit:
Gentoo amd64

Build command-line (not on Windows):
cmake -C /tmp/portage/games-emulation/dolphin-emu-9999_p6441/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DDOLPHIN_WC_REVISION=6441 -DCMAKE_INSTALL_PREFIX=/usr/games -Dprefix=/usr/games -Ddatadir=/usr/share/games/dolphin-emu -Dplugindir=/usr/games/lib64/dolphin-emu -DDISABLE_WX=OFF -DENCODE_FRAMEDUMPS=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/tmp/portage/games-emulation/dolphin-emu-9999_p6441/temp/gentoo_rules.cmake /tmp/portage/games-emulation/dolphin-emu-9999_p6441/work/dolphin-emu-9999_p6441

Please provide any additional information below.

As noted above, same ebuild and dolphin revision works fine with 2.8.10. I've confirmed that my environment was properly updated for 2.9.1 before rebuilding, and another Gentoo user running 2.9.1 has the same problem (actually, he notified of an issue with my new cmake ebuild, and I tracked it down to the wxGTK version).

Here's a snippet of the relevant output:

Linking CXX executable ../../../Binaries/dolphin-emu
CMakeFiles/dolphin-emu.dir/Src/Frame.cpp.o: In function CFrame::OnClose(wxCloseEvent&)': Frame.cpp:(.text+0x5d8): undefined reference to wxAuiManager::UnInit()'
CMakeFiles/dolphin-emu.dir/Src/Frame.cpp.o: In function T.3548': Frame.cpp:(.text+0xd24): undefined reference to wxEVT_COMMAND_AUITOOLBAR_TOOL_DROPDOWN'
Frame.cpp:(.text+0xdc6): undefined reference to wxEVT_COMMAND_AUITOOLBAR_TOOL_DROPDOWN' Frame.cpp:(.text+0x18c0): undefined reference to wxEVT_AUI_PANE_CLOSE'
Frame.cpp:(.text+0x191a): undefined reference to wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE' Frame.cpp:(.text+0x1974): undefined reference to wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND'

I can attach a full build log if desired. For reference, these errors affect Frame.cpp, FrameAui.cpp, FrameTools.cpp, LogWindow.cpp, and CodeWindow.cpp.


Related issues 1 (0 open1 closed)

Is duplicate of Emulator - Emulator Issues #4535: wxWidgets 2.9 from Externals does not build on Linux x86_32Fixed

Actions
Actions

Also available in: Atom PDF