0
我試圖使用NetBeans + OpenCV + cmake + mingw來運行KAZE_features.cpp。ld.exe:找不到-lopencv_createsamples.exe
我已經添加了所有的圖書館連接器,包括opencv_的所有文件(& & &).exe文件。
g++.exe -o dist/Debug/MinGW-Windows/welcome_1 build/Debug/MinGW-Windows/_ext/571919051/kaze_features.o -L../build/x64/mingw/bin -L../build/x64/mingw/lib -L../build/x64/vc10/bin -L../build/x64/vc10/lib -lopencv_createsamples.exe -lopencv_haartraining.exe -lopencv_perf_calib3d.exe
但是,當我試着調試CPP,它不停地顯示出來thses錯誤:
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lopencv_createsamples.exe
難道我的.exe文件添加到錯誤的地方?任何人都可以給我一個想法這裏有什麼問題嗎?
非常感謝!
是的!它在我刪除所有的.exe後工作。文件!非常感謝! – JoyceZ