Cross compilation openCV application

前端 未结 2 1759
误落风尘
误落风尘 2020-12-11 12:18

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

2条回答
  •  长情又很酷
    2020-12-11 13:06

    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.

提交回复
热议问题