davidk/PrusaSlicer-ARM.AppImage

Missing libnlopt library in Dependencies Docs

ericd1949 opened this issue · 1 comments

Hi David,
This is an excellent piece of work, and it runs very well indeed on my 4Gb, 128Gb SSD setup.
I probably don't spend enough time in Linux Land, because I had no idea what an AppImage was. A bit of Google research sorted that out.
When I first ran it I got an:
prusa-slicer: error while loading shared libraries: libnlopt.so.0: cannot open shared object file: No such file or directory
No worries, an installation of libnlopt-dev sorted it out.

When double clicked the options of executing it, or executing it from a terminal is interesting.
Both work, but the terminal option gives a number of errors, such as:

__(prusa-slicer:7496): Gtk-CRITICAL **: 17:50:28.437: IA__gtk_tree_view_scroll_to_cell: assertion 'tree_view->priv->tree != NULL' failed

(prusa-slicer:7496): Gtk-CRITICAL **: 17:50:28.437: IA__gtk_tree_view_scroll_to_cell: assertion 'tree_view->priv->tree != NULL' failed
[2020-01-24 17:50:28.448357] [0xb1e18010] [error] Unable to enumerate HID devices
[2020-01-24 17:50:37.030211] [0xb1e18010] [error] Unable to enumerate HID devices__

Great work, many thanks, I had the pi4 with nothing for it to do, but now ...
Cheers,
Eric

Hey @ericd1949!
Thanks for giving the AppImage a go, it means a lot! You're correct that the AppImage isn't very well explained, and i'm sorry to hear that libnlopt-dev gave you trouble.

It should have been pulled in with the addition of libnlopt-cxx-dev. I've re-tested the AppImage instructions on a both fresh Raspbian Buster install and by removing / reinstalling on my own RPI 4 and that appears to be the correct behavior (where installing libnlopt-cxx-dev pulls in the right dependencies).

While it behaves as expected, i've added libnlopt-dev to the apt command line in the latest release just to be sure nobody else encounters this. The README has also had the out of date dependencies removed too.

As to the terminal output, I believe the Gtk errors are fixed in the PrusaSlicer's latest (as i'm writing: 2.2.0-alpha4-armhf) release. The Unable to enumerate HID devices appears to be for 3DConnexion SpaceMouse support, which i'm not entirely certain how to resolve, but should be harmless (aside from filling the terminal, unfortunately).

If you encounter any other weirdness here, please let me know, and i'll take a look. Thanks!