Excellent.
I have progress to report.
Deleted everything Flotilla related.
Followed Gadgetoid's script above.
Built libserialport
and them moved it as you suggested.
Built websocketpp
Built the flotilla-daemon
under ~/flotilla-daemon-vs
Started it OK using ~/flotilla-daemon-vs/Flotilla/Debug$ ./flotilla -d
and got the friendly message 'Flotilla ready to set sail'.
Then got heap of:
Warning: Failed to open port /dev/ttyACM0
messages which I know is because the dock firmware needs updating.
Tried to update the dock firmware using '~/flotilla-pre/linux$ sudo ./update_firmware
' and got the following:
Flotilla Firmware Updater
dock firmware file foundThis update will break compatibility with older versions of flotillad
and change your Dock's serial baud rate to 115200
Press CTRL+C now if you're not sure, otherwise... enjoy!./update_firmware: 29: read: Illegal option -s
Please unplug your Flotilla Dock!
Plug in your Flotilla Dock now.
Updating should continue automatically.Bus 001 Device 008: ID 03eb:2fe4 Atmel Corp. ATxmega32A4U DFU bootloader
./firmware/dfu-programmer: error while loading shared libraries: libusb-1.0.so.0: cannot open shared object file: No such file or directory
./firmware/dfu-programmer: error while loading shared libraries: libusb-1.0.so.0: cannot open shared object file: No such file or directory
Update finished, enjoy!
Please unplug/replug your Flotilla Dock before use!
So, I'm guessing that I need libusb, so installed:sudo apt-get install libusb-1.0-0-dev
And tried to update the dock again and got the same message as above.
The good news is that Rockpool launches and I can see my IP and the message 'No docks connected!' which is an improvement.
Thanks for the help so far.