Hi guys I am doing an application in c++ for ARM. I have a application prototype which I compiled with cross compilation and it works very nice in the ARM. What I did was th
It seems that you need to set include path to your cross OpenCV installation:
arm-linux-g++ -I/path/to/opencv/include IPCamera.cpp -o tru2
When you call pkg-config it reports settings for you host system not for your arm cross toolchain.
As @dennisfen suggest you may need to set include path as well as the library path to your cross OpenCV with the libraries you are using as follows:
arm-linux-g++ -I/path/to/opencv/include -L/path/to/library IPCamera.cpp -o tru2 -lopencv_core -pthread