HEROIN
V2EX  ›  C

qt 链接 boost 和 opencv 静态库失败

  •  
  •   HEROIN · Oct 24, 2015 · 1077 views
    This topic created in 3883 days ago, the information mentioned may be changed or developed.

    错误输出:
    :-1: error: cannot find -lopencv_core
    :-1: error: cannot find -lopencv_imgproc
    :-1: error: cannot find -lopencv_highgui
    :-1: error: cannot find -lopencv_features2d
    :-1: error: cannot find -lopencv_ml
    :-1: error: cannot find -lboost_thread
    :-1: error: cannot find -lboost_system

    我在.pro 中写的是

    LIBS += -LF:\opencv\build\x64\vc12\lib \
    -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_features2d -lopencv_ml
    LIBS += -LF:\boost_1_55_0\stage\lib \
    -lboost_thread -lboost_system

    求解该如何解决

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3308 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 12:05 · PVG 20:05 · LAX 05:05 · JFK 08:05
    ♥ Do have faith in what you're doing.