chengzhengxin/sdm

How do we compile the code in Visual Studio 2015

Opened this issue · 4 comments

I have downloaded mingw compiler. I opened cmake-gui and chose as a generator the MinGW Makefiles, and chose as a source file the sdm-master, and for the build file I chose the sdm-master-buid. Once done, I wrote mingw32-make in cmd while I'm in sdm-master-build. Then I got the following error:

capture

IT seems that the opencv files are not build. How to fix this?

Thank you in advance for your help and for the code!!

you can use your own opencv libs

@issa-s-ayoub Hi, did you manage to solve the problem? I have encountered exactly the same issue and I would appreciate if you could share your solution.
@yudie433 Would you further explain how do I modify anything to incorporate my own opencv libs? Thank you very much!

I use the mingw492 to compile the program successfully, but I just got a exe. I still have to use a IDE to deal with the code.
tim 20171222095244

Hey guys, for those who is seeking help on compiling on visual studio 2015, here is the solution.

Include opencv and src/include two paths , link to opencv lib, and copy the sdm code on your source cpp, then build it. Very easy.