Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ubuntu eclipse error opencv while build(c++)?

Cannot build the project there is no BINARY file in the project(that is created in with INCLUDE and main.cpp)

It is showing this error

make all 
Building target: xs
Invoking: GCC C++ Linker
g++ -L/usr/local/lib -o"xs"  ./nim.o   -lopencv_video -lopencv_highhui -lopencv_core -lopencv_videostab -lopencv_claib3d -lopencv_flann -lopencv_imgproc -lopencv_stitching -lopencv_imgcodecs -lopencv_videoio -lopencv_ml -lopencv_objdetect -lopencv_features2d -lopencv_shape -lopencv__photo

/usr/bin/ld: cannot find -lopencv_highhui
/usr/bin/ld: cannot find -lopencv_claib3d
/usr/bin/ld: cannot find -lopencv__photo
collect2: error: ld returned 1 exit status
make: *** [xs] Error 1