Ask Your Question
1

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

asked 2016-02-04 05:33:30 -0600

sahiji gravatar image

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
edit retag flag offensive close merge delete

Comments

help please

sahiji gravatar imagesahiji ( 2016-02-04 05:34:03 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-02-04 05:44:51 -0600

berak gravatar image

those are simple typos, it should be :

 -lopencv_highgui    (not -lopencv_highhui)
 -lopencv_calib3d    (not -lopencv_claib3d)
 -lopencv_photo      (not -lopencv__photo)
edit flag offensive delete link more

Comments

as in the g++ line while building the project

sahiji gravatar imagesahiji ( 2016-02-08 23:19:09 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-02-04 05:33:30 -0600

Seen: 288 times

Last updated: Feb 04 '16