I have a Visual Studio 2013 solution with a native static library and a CLR class library. In my project I'm also using some third party DLL (C++/CLI, compiled with Visual Studio 2012). If, in my project, I add a reference to any of the third party
DLLs, then I get the following error :
I found a post on StackOverflow with the same problem and the person sait that it was solved by recompiling the other DLL with the same toolset. My problem is that I don't have access to the source code for the third party dlls, so I can't recompile them with the same toolset. Is there any other fix for this ?
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\memory(1827): error C2869: 'std::pointer_safety' : has already been defined to be a namespace 1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\memory(1833): error C2146: syntax error : missing ';' before identifier '_Pointer_safety' 1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\memory(1833): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\memory(1833): fatal error C1903: unable to recover from previous error(s); stopping compilation
I found a post on StackOverflow with the same problem and the person sait that it was solved by recompiling the other DLL with the same toolset. My problem is that I don't have access to the source code for the third party dlls, so I can't recompile them with the same toolset. Is there any other fix for this ?