Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
-
Sina Porsa
- Posts: 99
- Joined: Thu Feb 03, 2011 7:21 pm
Post
by Sina Porsa » Sun Jun 23, 2013 6:32 pm
Hi all,
I can compile my scripts but when I want to run them, i receive this error message:
This application has failed to start because osimCommon.dll was not found. Re-installing the application may fix the problem.
which is really weird for me. Because I could run the same code a couple of days ago!
I re-installed opensim and I still have the same problem. I can find osimCommon.dll in this address: c:\OpenSim2.4.0\bin\osimCommon.dll
Yesterday I installed opensim3.1 (the betta version) and uninstalled it as I understood it is for VC10 Pro while I have VC8 Pro. Can this cause the problem? and more importantly, how can I solve this problem?
Thanks
Sina
-
Ayman Habib
- Posts: 2251
- Joined: Fri Apr 01, 2005 12:24 pm
Post
by Ayman Habib » Mon Jun 24, 2013 12:02 pm
Hi Sina,
Since this appears to be a runtime problem (rather than a compilation problem), the most likely reason is your path setting which is used to load dynamic libraries on windows. There's a place in Matlab setup where you specify the librarypath, please make sure you only specify the OpenSim version you want to use. There's another place in the system's Path Environment variables that I'm not sure is used within Matlab, but you'd want to check it as well in case it does get used.
Please let me know how that goes,
-Ayman
-
Sina Porsa
- Posts: 99
- Joined: Thu Feb 03, 2011 7:21 pm
Post
by Sina Porsa » Tue Jun 25, 2013 10:11 pm
Thank you Ayman,
Problem solved