Can anyone provide sample yaml code that includes the wxwdigets package in a snap. my attempt is as follows:
parts:
tdhcad:
plugin: dump
source: TdhCad_linux64.zip
stage-packages:
- libwxgtk3.0-0v5
- libcairo2-dev
but running the snap produces:
error while loading shared libraries: libwx_gtk2u_adv-3.0.so.0: cannot open shared object file: No such file or directory.
Thanks.
1 Like
after much hair pulling, i have found i only needed to add:
apps:
tdhcad:
plugs: [home, desktop]
Please surround your code with the fenced code block markup for proper formatting, preferably with code highlighting via:
```yaml
your code here
```
This is due to the fact that Ubuntu 16.04 only ships GTK3 build of wxWidgets instead of GTK2, you have to ship a GTK2 distribution manually.
UPDATE: It appears that Ubuntu ships both in the same package so that’s not a problem.