FS#54412 - [wxgtk3] Compilation of wxgtk headers fail
Attached to Project:
Arch Linux
Opened by Rickard Närström (riccetn) - Sunday, 11 June 2017, 17:51 GMT
Last edited by Antonio Rojas (arojas) - Monday, 12 June 2017, 07:20 GMT
Opened by Rickard Närström (riccetn) - Sunday, 11 June 2017, 17:51 GMT
Last edited by Antonio Rojas (arojas) - Monday, 12 June 2017, 07:20 GMT
|
Details
When I try to compile a small application witch includes the
wxgtk headers I get the following error from the
compiler:
$ clang++ -std=c++11 -Wall -o hello hello.cpp $(wx-config --toolkit=gtk3 --cflags --libs core) In file included from hello.cpp:1: In file included from /usr/include/wx-3.0/wx/app.h:19: In file included from /usr/include/wx-3.0/wx/event.h:14: In file included from /usr/include/wx-3.0/wx/defs.h:27: In file included from /usr/include/wx-3.0/wx/platform.h:596: /usr/include/wx-3.0/wx/chkconf.h:2195:9: error: "wxUSE_WEBVIEW requires at least one backend" # error "wxUSE_WEBVIEW requires at least one backend" ^ 1 error generated. Using wxgtk3 version 3.0.3-4 |
This task depends upon
Closed by Antonio Rojas (arojas)
Monday, 12 June 2017, 07:20 GMT
Reason for closing: Fixed
Additional comments about closing: wxgtk 3.0.3.1-5
Monday, 12 June 2017, 07:20 GMT
Reason for closing: Fixed
Additional comments about closing: wxgtk 3.0.3.1-5
Comment by Jan de Groot (JGC) -
Sunday, 11 June 2017, 20:47 GMT
Comment by
Rickard Närström (riccetn) -
Sunday, 11 June 2017, 23:56 GMT
Try wx-config-gtk3 instead of wx-config.
'wx-config --toolkit=gtk3' and 'wx-config-gtk3' is outputting the
exact same thing, so I see the same compiler error with
wx-config-gtk3.