Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Cannot find libs for cross-compiling (BBB) while Host PC works fine

$
0
0
Hi all, this example with projectfile does nothing and works fine on my Host PC (Linux Host 3.13.0-37-generic x86_64 GNU/Linux): #------------------------------------------------- # # Project created by QtCreator 2014-10-13T18:43:25 # #-------------------------------------------------   QT       += core QT       -= gui   TARGET = Marker-Test     target.files = Marker-Test     target.path = /home/ubuntu/workspace/temp INSTALLS += target   TARGET = Marker-Test CONFIG   += console CONFIG   -= app_bundle   TEMPLATE = app   SOURCES +=  main.cpp \   INCLUDEPATH +=  /usr/local/opencv-2.4.9/include \                                /usr/include/c++/4.8/   #just an example lib! LIBS +=         -L/usr/lib -lgs This example works finde on my Host. If i compile and run it on my Host PC for my BeagleboneBlack, sometimes there is an error but not allways: 1. error: cannot find -lgs (depends on the libs) 2. error: collect2: error: ld returned 1 exit status How can i solve this problem? If i do not include any lib it works fine on my BBB. Thanks Bart

Viewing all articles
Browse latest Browse all 2113

Trending Articles