compiling code with opencv - /usr/bin/ld: cannot find -lippicv

前端 未结 5 925
执笔经年
执笔经年 2020-12-16 21:56

When compiling some code with opencv I get this error

# g++ txtbin-03.1.cpp -o txtbin `pkg-config opencv --cflags --libs`
/usr/bin/ld: cannot fi         


        
5条回答
  •  温柔的废话
    2020-12-16 22:49

    Recompile OpenCv using following option:

    cmake -DWITH_IPP=ON . && make -j $(nproc) && make install
    

提交回复
热议问题