Project

General

Profile

Actions

Emulator Issues #5408

closed

Can't build with external wxWidgets; missing gthread.h?

Added by audvare over 12 years ago.

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

Has worked in the past fine.

This part fails:
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
add_definitions(-D__WXGTK__)

                    # Check for required libs
                    check_lib(GTHREAD2 gthread-2.0 glib/gthread.h REQUIRED)
                    check_lib(PANGOCAIRO pangocairo pango/pangocairo.h REQUIRED)

The check_lib(GTHREAD2 gthread-2.0 glib/gthread.h REQUIRED) line fails to work on my Gentoo x86-64 machine.

$ locate gthread.h
/usr/include/bits/sigthread.h
/usr/include/glib-2.0/glib/gthread.h
/usr/include/glib-2.0/glib/deprecated/gthread.h

I have glib-2.32.2 installed.

Thanks

Actions #1

Updated by audvare over 12 years ago

Please ignore this bug. It's a Gentoo issue with CMake 2.8.8. Downgrading to 2.8.7 makes compiling work fine.

Actions #2

Updated by skidau over 12 years ago

  • Status changed from New to Invalid
Actions

Also available in: Atom PDF