-
Notifications
You must be signed in to change notification settings - Fork 39
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
SlimDx can't be used from a VS2015 C++ Project #506
Comments
I encountered the same problem. I managed to build the SlimDx.dll with vs2015 by changing some code. |
@robertxwu I’m stuck with the same problem. I’m wondering how you were able to fix this problem. Are you willing to help me? |
@DankersW Surely I would like to help. Do you know how to create a new branch for VS2015? |
@robertxwu No sorry I don’t know how to do that, thank you in advance for the help |
@DankersW, the attachment (you have to change its extension to .7z) includes all changes I made to SlimDX-master in order to build them with VS2015. Note: although a large number of files are included in the attachment, only a very small portion of them were modified. What you have to do:
Note: the solution was modified so that only project SlimDX and Effects11 were loaded. Good luck! |
@robertxwu
|
In vs2019 it's not working, I still get a Unfortunately no way to solve this (I tried also to change order of include by modifying include path), any advice on that? |
When I try to compile a Visual Studio 2015 C++/CLI Project referencing SlimDx, I get the error
'std::errc': has already been defined to be a namespace
I think the issue is that SlimDx includes std::errc as a namespace:
Could you publish a version compiled with VC++ 2015?
Ref http://stackoverflow.com/questions/32051099/migrating-clr-project-to-vs-2015-throws-c2869-compiler-error
The text was updated successfully, but these errors were encountered: