MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

# Thread Subject: Unable to locate mclmcrrt77.dll??

 Subject: Unable to locate mclmcrrt77.dll?? From: Kiran Satish Date: 9 Nov, 2007 22:04:14 Message: 1 of 8 I have been trying to get this problem resolved but couldnt get it right.... I tried all possible ways that I can, to get it working. I have a matlab m file which is a function that does some image processing on a given image data. I used mcc and created a library file (along with dll, h, cpp etc files) without any errors. Then I included that library into my MFC application (using VS 6.0) as follows- #include "mclmcr.h" #include "matrix.h" #include "autoConelib.h" and added- D:\MATLAB\R2007B\EXTERN\INCLUDE for include files path D:\MATLAB\R2007B\EXTERN\LIB\WIN32\MICROSOFT for library path and added mclmcrrt.lib mclmcr.lib libmx.lib autoConelib.lib  to linker modules setup. The application compiles without any errors, but when I try to execute the application it gives me "The application has failed to start, because mclmcrrt77.dll was not found." Can someone help me with this issue. I even tried to install MCR using the installer in matlab and even trying with new paths after installing this. BUt it still comes up with same error. thanks, -PNT.
 Subject: Unable to locate mclmcrrt77.dll?? From: Kiran Satish Date: 20 Nov, 2007 23:17:19 Message: 2 of 8 anyone has any answer to this.... ???
 Subject: Unable to locate mclmcrrt77.dll?? From: Vivek Bannore Date: 21 Nov, 2007 05:46:16 Message: 3 of 8 hi kiran, I faced the problem a year back when i first started compiling my code to an exe. I had compiled using a newer version of MATLAB compiler. But the MATLAB COMPONENT RUNTIME (MCR Installer) provided was of a older version and hence the error.   Basically, the MCR Installer should be of the corresponding version of MATLAB & MATLAB compiler on which the *.exe is built. I hope this helps. I didn't change any paths anywhere and it worked for me. If you have a different version of MATLAB try that for compiling and then use the MCR that comes along with the installed MATLAB Compiler....i forgot but once everything is installed go into the installed folder and search for MCR in deployment or something like that. Vivek
 Subject: Unable to locate mclmcrrt77.dll?? From: Vivek Bannore Date: 21 Nov, 2007 05:57:48 Message: 4 of 8 Kiran, the usual location of MCR is usually as follows, (please change the naming as per your installation directory) C:\MATLAB\R2006b\toolbox\compiler\deploy\win32\ The MCR installer is in the win32 folder. Vivek
 Subject: Unable to locate mclmcrrt77.dll?? From: Kiran Satish Date: 21 Nov, 2007 16:39:39 Message: 5 of 8 Thanks for the reply atlast.. huh.. I tried it today by just reassigning the paths and it worked. But now the library initialization function always returns with 0. Have to check on it now. thanks, -Pavan. "Vivek Bannore" wrote in message ... > Kiran, the usual location of MCR is usually as follows, > (please change the naming as per your installation > directory) > > C:\MATLAB\R2006b\toolbox\compiler\deploy\win32\ > > The MCR installer is in the win32 folder. > > Vivek
 Subject: Unable to locate mclmcrrt77.dll?? From: Pieter Date: 15 Feb, 2008 12:44:02 Message: 6 of 8 Hello Kiran, Better late than never... I've struggled with this problem when deploying to some pc's, but not all! Eventually installing Microsoft Visual C++ 2005 Redistributable Package (x86) always solves the problem http://www.microsoft.com/Downloads/details.aspx? FamilyID=32bc1bee-a3f9-4c13-9c99- 220b62a191ee&displaylang=en Hope this helps, Pieter "Kiran Satish " wrote in message ... > Thanks for the reply atlast.. huh.. I tried it today by just > reassigning the paths and it worked. But now the library > initialization function always returns with 0. Have to check > on it now. > > thanks, > -Pavan. > "Vivek Bannore" wrote > in message ... > > Kiran, the usual location of MCR is usually as follows, > > (please change the naming as per your installation > > directory) > > > > C:\MATLAB\R2006b\toolbox\compiler\deploy\win32\ > > > > The MCR installer is in the win32 folder. > > > > Vivek >
 Subject: Unable to locate mclmcrrt77.dll?? From: Kiran Satish Date: 15 Feb, 2008 15:56:03 Message: 7 of 8 Thanks Pieter for your reply. I got it working somehow and I am not sure exactly how I did it otherwise I would have posted it here. If you can, could you check this http://www.mathworks.com/matlabcentral/newsreader/view_thread/163736 and see if you have any suggestions to make?? The mixing up of the data happens only when h!=w, except that in all cases when h==w the data transfered into matlab is fine. -Kiran "Pieter " wrote in message ... > Hello Kiran, > > Better late than never... > I've struggled with this problem when deploying to some > pc's, but not all! Eventually installing Microsoft Visual > C++ 2005 Redistributable Package (x86) always solves the > problem > > http://www.microsoft.com/Downloads/details.aspx? > FamilyID=32bc1bee-a3f9-4c13-9c99- > 220b62a191ee&displaylang=en > > Hope this helps, > Pieter > > "Kiran Satish " wrote in message > ... > > Thanks for the reply atlast.. huh.. I tried it today by > just > > reassigning the paths and it worked. But now the library > > initialization function always returns with 0. Have to > check > > on it now. > > > > thanks, > > -Pavan. > > "Vivek Bannore" wrote > > in message ... > > > Kiran, the usual location of MCR is usually as follows, > > > (please change the naming as per your installation > > > directory) > > > > > > C:\MATLAB\R2006b\toolbox\compiler\deploy\win32\ > > > > > > The MCR installer is in the win32 folder. > > > > > > Vivek > > >
 Subject: Unable to locate mclmcrrt77.dll?? From: Andreas H?kansson Date: 11 Sep, 2008 12:18:01 Message: 8 of 8 I also experienced a similar problem with mclmcrrtt77.dll missing when trying out my own .exe file from MATLAB R2007b. I solved it by simply running the MCRInstaller.exe file. /Andreas