JPOD last edited by
I'm using NVIDIA Jetson TK1 OS:Ubuntu, IDE:QtCreator, i'm programming in c++ and i'm also using OpenCV. My goal is to be able to capture pictures with my Basler GigE camera. I downloaded the Basler Pylon SDK for ARM and followed the install instructions. I've also set up the environment variables. After ive done that i ran a sample that came with the SDK and it worked fine. Then i attempted to implement the Pylon libraries into a Qt project, so i could capture frames within my code, but what i get is the following:
The programmer's guide that came with Pylon tells me to do the following:
- the $PYLON_ROOT/bin/pylon-setup-env.sh shell script sets up the environment *
I've done that, and checked it using the env command in terminal
*Add the following include directories in your make file:
Add the following library directories in your make file:
NOTE: Linux32_i86 is replaced by Linux32_ARM in my case..
I'm not quite confident i've done that correctly. I've added the include directories using the INCLUDEPATH+=... in .pro file and i've added the libraries using the LIBS+=...
in the main.cpp i've added the following lines:
using namespace Pylon;
and in function main:
I should say that i'm quite new to all this, so excuse me if it's a dumb question but i cant seem to get past it without any help :)
Thank you in advance
Hi and welcome to devnet,
You should use
LIBS += -lopencv_core \ -lopencv_XXX \ -lall_need_libraries
here it's a lowercase L, uppercase L is more adding additional search paths for the linker and lowercase L is for telling the linker which lib it should use.
From your errors in looks like you are not linking to the genicam libraries