Public bug reported:
I have 3 backends installed on my Ubuntu setup:
base-unicode-3.0
gtk2-unicode-3.0
gtk3-unicode-3.0
However when I try to attempt to integrate my own code using the
existing includes package, I get the following error:
In file included from /usr/include/wx-3.0/wx/memory.h:14:
In file included from /usr/include/wx-3.0/wx/defs.h:27:
/usr/include/wx-3.0/wx/platform.h:183:10: fatal error: 'wx/setup.h' file not
found
#include "wx/setup.h"
^~~~~~~~~~~~
The simple fix was to symlink the proper file as wx/setup.h:
sudo bash -c '(cd /usr/include/wx-3.0/wx; ln -sf /usr/lib/x86_64-linux-
gnu/wx/include/gtk3-unicode-3.0/wx/setup.h)'
For the sake of simplyfing things for the user, isn't this something the
package can do (also in the case when update-alternatives is used to
change the backend!)
Information
-----------
Description: Ubuntu 19.04
Release: 19.04
wx-common:
Installed: 3.0.4+dfsg-8
Candidate: 3.0.4+dfsg-8
Version table:
*** 3.0.4+dfsg-8 500
500 http://mirror.math.princeton.edu/pub/ubuntu disco/universe amd64
Packages
100 /var/lib/dpkg/status
3.0.4+dfsg-3 500
500 http://cz.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
** Affects: bochs (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848077
Title:
wx Widgets does not link to a valid wx/setup.h
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bochs/+bug/1848077/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs