美文网首页机器视觉
How to compile OpenCV sample cod

How to compile OpenCV sample cod

作者: phoenixmy | 来源:发表于2018-10-30 19:00 被阅读0次

    The simple one like this:
    g++ pkg-config --libs opencv your_code.cpp

    or the complicated one like this:
    g++ -ggdb pkg-config --cflags --libs opencv -stdlib=libstdc++ your_code.cpp -o your_code

    相关文章

      网友评论

        本文标题:How to compile OpenCV sample cod

        本文链接:https://www.haomeiwen.com/subject/wfhntqtx.html