cross compiling opencv program for arm
I have cross compiled opencv for arm. I have all the cross compiled files in /usr/local/opencv .
when i run trial.cpp file with arm-fsl-linux-gnueabi-g++ -o trial trial.cpp pkg-config --cflags --static opencv
-I/usr/local/opencv/include -L/usr/local/opencv/lib/.libs -lopencv_imgproc -lopencv_core
I get error " : cannot find -lopencv_imgproc " and ": cannot find -lopencv_core"
Why is the compiler isn't compiling libraries ? Where am i going wrong ?
Thank you .
Are you sure that "-I/usr/local/opencv/include" is ok and itis not "-I/usr/local/include/opencv"? the same for -L/usr/local/opencv/lib/.libs?