a DLL has a dependency to msvcr80.dll, the application links to msvcrt90.dll you end up loading two different c-runtimes (two heaps). The problem is not about calling conventions. I don't say that it is not possible to use a library compiled with compiler A with compiler B, but then you need to know what you are doing. The trick is always to compile everything from source with the same compiler, than you have no issues with binary compatibility. If you buy the C SDK with sources you can compile the SDKs with other compilers like MinGW even though that's not officially supported.īut the SDK compiles also with GCC on Linux, QNX, vxWorks, etc. You cannot mix C libraries of different compilers, that's why you need VC for the Eval-Version. If you don't use Express Edition I guess your system is not setup correctly. Here must install the Windows SDK yourself. The only problem is the Express Edition of Visual Studio. The toolchain works out of the box in Visual Studio, on the command prompt and also inside QtCreator. If you install Visual Studio 2008 SP1 Prof. WindowsSdkDir=C:\Program Files\Microsoft SDKs\Windows\v6.0A\īut you should not need any special configuration. Path=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools C:\Windows\Microsoft.NET\Framework\v3.5 C:\Windows\Microsoft.NET\Framework\v7 C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin C:\Windows\system32 C:\Windows C:\Windows\System32\Wbem C:\Windows\System32\WindowsPowerShell\v1.0\ C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static C:\Program Files (x86)\Visual Leak Detector\bin\Win32 C:\Program Files (x86)\Visual Leak Detector\bin\Win64 C:\Qt\4.7.4\bin C:\Program Files\doxygen\bin C:\Program Files (x86)\GNU\GnuPG\pub C:\Program Files\TortoiseGit\bin C:\Program Files\TortoiseSVN\bin C:\Program Files (x86)\CMake 2.8\bin LIBPATH=C:\Windows\Microsoft.NET\Framework\v3.5 C:\Windows\Microsoft.NET\Framework\v7 C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\LIB LIB=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\LIB C:\Program Files\Microsoft SDKs\Windows\v6.0A\lib INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE C:\Program Files\Microsoft SDKs\Windows\v6.0A\include
0 Comments
Leave a Reply. |