No Make file found

asked 2016-09-07 02:29:29 -0500

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?????

edit retag flag offensive close merge delete

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 ( 2016-09-07 02:51:05 -0500 )edit

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...

scholar gravatar imagescholar ( 2016-09-07 03:04:15 -0500 )edit