From: Dietrich Lueerssen on 5 May 2010 10:26 Dear fellow MATLABbers, I need to use for one of my projects a 64 bit Windows system, and I need to use a 64 bit DLL. On a 64 bit system, this requires a compiler to be installed. The MathWorks does not support the free Visual C++ Express for this purpose. I have still been able to make it work, and the change is simple for anyone to carry out. Steps: 1. Install Visual C++ 2008 Express (should also work with 2010, but I have not tested that). 2. Install Windows SDK (I used version 7.0). 3. Follow Jens Huebel's instructions to make VCE use the new SDK (http://jenshuebel.wordpress.com/2009/02/12/visual-c-2008-express-edition-and-64-bit-targets/); this is the part that takes longest, but it is worth it. 4. One of the BAT files included with the VCE installation gets the path of some components wrong. This file needs to be edited: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat and the location of the BAT files adjusted. 5. I have the MATLAB compiler and configure it using 'mbuild -setup'; maybe this step is not required for you? Et voila, my system was able to use loadlibrary on a Windows 7 64 bit without the need to buy the Microsoft compiler. I hope this is helpful for you as well.
|
Pages: 1 Prev: MATLAB R2009b can't install on Windows 7 Next: R2009b Visual Studio 2008 / Win7 x64 |