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 to compile the dlls with multithread- and DLL-specific(/MD) version on windows? #27

Open
yemenr opened this issue Apr 2, 2018 · 2 comments

Comments

@yemenr
Copy link

yemenr commented Apr 2, 2018

I tried to install MXNet with visual studio 2015 on my windows 10.
I can only compile it successfully with runtime libraries of the /MT mode. The output dmlc lib should be set to a static lib in this scenario. However, I failed to change the runtime libraries to the /MD mode. Is there any import settings ignored?

@yajiedesign
Copy link
Owner

You need to modify all /MT to /MD

@yemenr
Copy link
Author

yemenr commented Apr 9, 2018

@yajiedesign Thank you! I had been failed to try it. The compiler prompted an error that said "dmlc.lib is needed". But I only got a dmlc.dll without dmlc.lib in this scenario. How to fix it ?

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

2 participants