LibrePilot Forum
Development => GCS General => Topic started by: jedas on August 17, 2016, 03:25:10 pm
-
Hi,
I was trying to build "Next" revision, on Linux x64 LTS 14.05. Everything went fine, except when I try to launch binary I get few errors:
./build/librepilot-gcs_release/bin/librepilot-gcsCommand line ("./build/librepilot-gcs_release/bin/librepilot-gcs")
Loading system settings from "/home/jedas/libre/librepilot/build/librepilot-gcs_release/share/librepilot-gcs/"
Loading user settings from "/home/jedas/.config/LibrePilot/LibrePilot GCS.xml"
main - system locale: "en_US"
main - GCS locale: "en_US"
main - language: "en_US"
OsgEarth::registerQmlTypes - registering Qml types...
SerialPluginConfiguration::restoresettings - speed "57600"
qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method
./build/librepilot-gcs_release/bin/librepilot-gcs: symbol lookup error: /home/jedas/libre/librepilot/build/librepilot-gcs_release/lib/librepilot-gcs/qt5/plugins/mediaservice/libgstmediaplayer.so: undefined symbol: gst_video_connector_get_type
I've checked up, qt56multimedia is present and up to date. Any ideas?
regards,
Gedas
-
Hi
Without looking very closely on this it looks like a version mismatch of some Qt libs.
Im afraid its hard for me to give any more help right now. I will try to build it on my Linux VM and see if I can repro it.
/Fredrik
-
If you want to use the Qt5.6 from host you should remove or move the tools/qt-xxx to another dir, same for osg/osgearth
Looks how Travis do the build:
https://travis-ci.org/librepilot/LibrePilot
sudo add-apt-repository ppa:librepilot/tools -y
sudo apt-get update -q
sudo apt-get install -y libc6-i386 libudev-dev libusb-1.0-0-dev libsdl1.2-dev python libopenscenegraph-dev libosgearth-dev qt56-meta-minimal qt56svg qt56script qt56serialport qt56multimedia qt56translations qt56tools
make arm_sdk_install
make config_new CCACHE=ccache GCS_EXTRA_CONF='osg osgearth'
make all_flight
make opfw_resource
make gcs
-
Thanks for the answers! Actually those commands has helped. It seems something was missed by initial apt-get sequence which I've took from wiki.