Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1215960 - Can't build anything that requires wxWidgets 3.0
Summary: Can't build anything that requires wxWidgets 3.0
Alias: None
Product: Fedora
Classification: Fedora
Component: cmake
Version: 22
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2015-04-28 08:45 UTC by Banana Fool
Modified: 2016-03-25 10:40 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2016-03-25 10:40:30 UTC
Type: Bug

Attachments (Terms of Use)

Description Banana Fool 2015-04-28 08:45:37 UTC
Can't build anything that requires wxWidgets 3.0, because FindwxWidgets.cmake uses wx-config instead of ws-config-3.0.


cmake_minimum_required(VERSION 3.0)

find_package(wxWidgets 3.0 REQUIRED core base)

add_executable(testwx testwx.cpp)
target_link_libraries(testwx ${wxWidgets_LIBRARIES})


#include <wx/wx.h>

int main(int argc, char** argv) {
  wxString test = "Hello, World!";
  return 0;


In file included ... from /usr/include/wx-2.8/wx/wx.h:16
... no known conversion for argument 1 from «const char [14]» to «int»

Comment 1 Orion Poplawski 2015-04-28 23:13:25 UTC
Couple things:

- I don't think the FindwxWidgets parses the 3.0 in any meaningful way (

- For now this appears to work:

cmake -DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config-3.0'

Comment 2 Orion Poplawski 2015-04-29 16:12:41 UTC
Filed upstream:

Comment 3 Fedora Update System 2015-08-14 14:20:16 UTC
cmake-3.3.1-1.fc22 has been submitted as an update for Fedora 22.

Comment 4 Fedora Update System 2015-08-18 05:19:50 UTC
Package cmake-3.3.1-1.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cmake-3.3.1-1.fc22'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 5 Björn 'besser82' Esser 2016-03-25 10:40:30 UTC
This has gone stable in fc22 since a long time.  Closing here.

Note You need to log in before you can comment on or make changes to this bug.