Prev: Faster way to draw a solid circle
Next: How to check if a string contains certain set of character
From: Ravi Rastogi on 12 Jul 2010 16:24 "omegayen " <omegayen(a)ameritech.net> wrote in message <hkgft5$s6g$1(a)fred.mathworks.com>... > "Paul " <p.black(a)cascade-technology.com> wrote in message <hket5c$6nq$1(a)fred.mathworks.com>... > > Hi, > > > > I only have the 2008 version of MS Visual Studio Express installed, but it did come up after running the !set vs command. > > > > After running !"%VS80COMNTOOLS%..\..\VC\vcvarsall.bat" I got the following message:- > > > > Setting environment for using Microsoft Visual Studio 2008 x86 tools. > > > > After that I tried to load the library again, it didn't work but the error message changed to:- > > > > Error using ==> loadlibrary at 422 > > Building GasDBExt_thunk_pcwin64 failed. Compiler output is: > > > > I think this may now be a problem with the library rather than Matlab itself, I am going to ask the person who wrote the library. > > > > Thanks for your help. > > > > Paul > > Paul I think you need to use the x64 compiler present in the Pro Version.... I wrote a guide on loadlibrary recently you may find helpful for some testing to see if you can get basic things to work > > http://www.toddmccollough.com/how-to-write-a-dll-file-in-windows-32-bit-64-bit-and-compile-in-matlab-32-bit-64-bit-and-how-to-write-a-so-file-in-ubuntu-linux-and-compile-in-64-bit-matlab/ Hi there, I am also getting the same problem, when i am trying to load my dll. I have 2010a matlab and Visual c++ 2008 express installed on my system. As you suggested, i ran !set vs & this is what i got.. VS71COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Common7\Tools\ VS90COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tool Then i also tried running: !"%VS90COMNTOOLS%..\..\VC\vcvarsall.bat" I GOT : Setting environment for using Microsoft Visual Studio 2008 x86 tools. For the one with VS71COMNTOOLS, i got: The system cannot find the path specified. Can you please tell me where am i going wrong? As per the solutions VC++ express 2008 should work with 2010a.. http://www.mathworks.com/support/compilers/R2010a/win64.html I can not figure out where am i going wrong. Please help Ravi
|
Pages: 1 Prev: Faster way to draw a solid circle Next: How to check if a string contains certain set of character |