Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do we compile the code in Visual Studio 2015 #23

Open
ghost opened this issue May 5, 2017 · 4 comments
Open

How do we compile the code in Visual Studio 2015 #23

ghost opened this issue May 5, 2017 · 4 comments

Comments

@ghost
Copy link

ghost commented May 5, 2017

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

@yudie433
Copy link

you can use your own opencv libs

@yunfan0621
Copy link

@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!

@lostsea
Copy link

lostsea commented Dec 22, 2017

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

@ghost
Copy link

ghost commented Mar 12, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants