wx Widgets does not link to a valid wx/setup.h

Bug #1848077 reported by Clifton B Wood
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bochs (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.