-
Notifications
You must be signed in to change notification settings - Fork 35
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
fails with VS11 #2
Comments
was able to compile by defining below flag (just temporarily modified afx.h file), i think we need to get into the build config #define _AFXDLL |
Thanks algopats, I'll look into including that directive. |
Distutils adds the /MD flag so I think the issue lies with them and Visual Studio 11. However after reading around this a bit it seems it is not recommended to built Python extensions on Windows with Visual Studio versions other than 2008 (version 9), as that is what the windows version of Python is built with. So it seems distutils will only properly support that version.... |
agree. just want to note, VS11 did work using the above workaround. I am now successfully using tws with swigibpy. |
Thanks, I'll update the documentation with some info about visual studio. |
below is the error msg
"\afx.h(24) : fatal error C1189: #error : Building MFC application with /MD[d](CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]"
The text was updated successfully, but these errors were encountered: