Hello,
I've been trying to solve this since yesterday with no luck,
first I downloaded the latest version of opencv , it came with it two folders , one is source and one is build I assumed build folder is the precompiled folder which is what I want, anyways I did this in the pro file:
INCLUDEPATH += C:/opencv/build/include
LIBS +=-LC:/opencv/build/x86/vc11/staticlib
CONFIG(debug, debug|release){
LIBS +=-lopencv_core249\
LIBS +=-lopencv_core249d\
LIBS +=-lopencv_highgui249\
LIBS +=-lopencv_highgui249d\
}
INCLUDEPATH += C:/opencv/build/include
LIBS +=-LC:/opencv/build/x86/vc11/staticlib
CONFIG(debug, debug|release){
LIBS +=-lopencv_core249\
LIBS +=-lopencv_core249d\
LIBS +=-lopencv_highgui249\
LIBS +=-lopencv_highgui249d\
}
To copy to clipboard, switch view to plain text mode
and it gives me this error:
:-1: error: LNK1104: cannot open file '+=-lopencv_core249d.obj'
:-1: error: LNK1104: cannot open file '+=-lopencv_core249d.obj'
To copy to clipboard, switch view to plain text mode
when I delete
LIBS +=-lopencv_core249d\
it gives me the same error except it's for the highgui249d file.
Bookmarks