Ask Your Question

No Make file found

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

scholar gravatar image

I need to install opencv extra modules.. so I followed the steps given :

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



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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-09-07 03:04:15 -0600

scholar gravatar image

updated 2016-09-07 03:06:09 -0600

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

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-09-07 02:29:29 -0600

Seen: 918 times

Last updated: Sep 07 '16