2023-07-25, 07:21 AM
So I did a complete rebuild of my usb stick, more than once I might add, before I got it to work. In the end, the simplest solution was the best. I was installing wxWidgets and kept getting libs and include dirs not found. Not required. The needed libs are in the list for the linux build in the opencpn manual. I have updated it below.
Stelian, the file size i had originally was 10x larger than the official 40.4 version so probably rubbish. This version was about twice the size. I did use the -DCMAKE_BUILD_TYPE=Release flag for cmake this time, not sure about previously.
John
Quote: sudo apt-get install build-essential cmake gettext git-core gpsd gpsd-clients libgps-dev wx-common libwxgtk3.0-gtk3-dev libglu1-mesa-dev libgtk2.0-dev libgtk-3-dev wx3.0-headers libbz2-dev libtinyxml-dev libsndfile1-dev libportaudio2 portaudio19-dev libcurl4-openssl-dev libexpat1-dev libcairo2-dev libarchive-dev liblzma-dev libexif-dev libelf-dev libsqlite3-dev libusb-1.0-0-devI built pypilot_pi using the instructions on github Read-Build.md for local testing then copied the libpypilot_pi.so file to the .local/lib/opencpn directory. Strange thing was that once I got it to compile, the problem with the mode selection being blank had disappeared, not sure why, no changes to code.
Stelian, the file size i had originally was 10x larger than the official 40.4 version so probably rubbish. This version was about twice the size. I did use the -DCMAKE_BUILD_TYPE=Release flag for cmake this time, not sure about previously.
John