【opencv】Opencv在Ubuntu16中的code blocks的编译配置

1. project->build options->compiler settings -> Compiler Flags : pick the "Have g++ follow the C++11 ISO C++ language standard[-std=c++11]"

2. project->build options->compiler settings -> Other options: Add the following line - 

        `pkg-config --cflags opencv`

3. project->build options-> Linker settings -> other linker options: Add the following line - 

        `pkg-config --libs opencv`

猜你喜欢

转载自blog.csdn.net/u013541048/article/details/82454548