AnsweredAssumed Answered

Var-Som-Dual i.mx6, Yocto, OpenCV

Question asked by Andrea Scala on Apr 28, 2017
Latest reply on May 2, 2017 by Andrea Scala

Hello EveryOne !!!

 

I'm trying to build an OpenCV application on a Var-Som-Dual i.mx6 [yocto].

 

I've created the image file with the corretcs EXTRA_IMAGE_INSTALL....etc..

 

I wrote a code with just the #include<opencv2....> 

using namespace cv; using namespace std; int main(){ return0;};.....and it compile.

 

But when i add the simple line IplImage* image=cvLoadImage("Myimg",1);

 

the compiler says to me "undefined reference to cvloadimage".....

...the problem is that al the libraries (.so file) and the include are in the correct directory.....

....how can i fix that problem ????

Outcomes