Ask Your Question
0

No Make file found

asked Sep 7 '16

scholar gravatar image

I need to install opencv extra modules.. so I followed the steps given :https://github.com/opencv/opencv_contrib

I did: C:\Users\research lab>cd C:\opencv3.1\build

C:\opencv3.1\build> cmake -DOPENCV_EXTRA_MODULES_PATH=C:\opencv_ex\opencv_contrib-master\modules C:\opencv3.1\sources

I got:-- Configuring done -- Generating done -- Build files have been written to: C:/opencv3.1/build

but when i run : make-j5 i got an error : no targets specified and no makefile found..

I checked my build folder, no MAKEFILE was there . WHY is it happening? does makefile is not being generated or some other issue is there?????

Preview: (hide)

Comments

2

if you are using vs, cmake will generate a vs solution, not a makefile. you do not need make in this case, just build that solution (BUILD-ALL)

if that finishes correctly, build the INSTALL project. this will copy headers , libs and dlls to build/install

berak gravatar imageberak (Sep 7 '16)edit

1 answer

Sort by » oldest newest most voted
0

answered Sep 7 '16

scholar gravatar image

updated Sep 7 '16

yea i did this also.. but m confused with x86 and x64.. as my system is x64 and i am buliding x64 applications always.. now to give path there must be a folder x64 but its not dere .. only x86 is dere.. i have mentioned all details here http://answers.opencv.org/question/10...

Preview: (hide)

Question Tools

1 follower

Stats

Asked: Sep 7 '16

Seen: 1,341 times

Last updated: Sep 07 '16