Re: Unable to execute a MeX-file created on another machine



Hi,
did you compile using debug information (flag -d)? The visual studio runtime
libraries are free for the non debug libraries (therefore delivered with
windows)
but not for the debug version...

Titus

"Wang yan" <Bobby_yan@xxxxxxx> schrieb im Newsbeitrag
news:ef4f60c.-1@xxxxxxxxxxxxxxxxxxxxxxxxxx
I'm unable to execute a MEX-file created by Matlab R2006a with Visual
Studio 2005(SP1) on another machine. But before I installed the
Visual Studio 2005 Service Pack 1, everything was OK. Both machines
run Windows XP SP2 and Matlab R2006a, but the machine on which the
MEX-file runs doesn't have Visual Studio.
The following message appears:
??? Invalid MEX-file d:\Program Files\MATLAB\R2006a\work\Shape
Context\EMD\Dist_BW_SC_EMD.mexw32': This application has failed to
start because the application configuration is incorrect.
Reinstalling the application may fix this problem.
I have read the Technical Solution 1-2223MW
(http://www.mathworks.com/support/solutions/data/1-2223MW.html),
ut it doesn't solve my problem.
Thanks.


.



Relevant Pages

  • Re: Problem with Registering filter on windows mobile
    ... The fix is to modify C/C++ preprocessor definitions in the ... unresolved external because it's only defined in debug builds, ... the project using the visual studio wizard it worked, ... Windows CE Multimedia and Graphics ...
    (microsoft.public.windowsce.app.development)
  • Re: Resizable dialog
    ... if I use a debug build of the executable. ... I am using Visual Studio 2003 on Windows 2003 and I have seen this problem ...
    (microsoft.public.vc.mfc)
  • VS 2003 cant debug on iis, Windows XP SP2,
    ... Visual Studio 2003 can't debug on iis, Windows XP SP2, ...
    (microsoft.public.vsnet.general)
  • Re: Problem with Registering filter on windows mobile
    ... unresolved external because it's only defined in debug builds, ... the project using the visual studio wizard it worked, ... Windows CE Multimedia and Graphics ... I'm assuming you're using visual studio with the PPC SDK. ...
    (microsoft.public.windowsce.app.development)
  • Re: Slow booting xp home.
    ... Changing the boot order to boot first from your hard disk might save you a half second, but you won't be able to boot from a CD until you change it back - and the time spent to do that will erase any previous time saved. ... 2- Consider what software you really want to start with Windows and also how you've configured your applications at startup ... Installing and Registering Visual Studio Express Editions Smart Device ...
    (microsoft.public.windowsxp.perform_maintain)