Page 1 of 1

Error: osimCommon.dll was not found

Posted: Sun Jun 23, 2013 6:32 pm
by porsasina
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

Re: Error: osimCommon.dll was not found

Posted: Mon Jun 24, 2013 12:02 pm
by aymanh
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

Re: Error: osimCommon.dll was not found

Posted: Tue Jun 25, 2013 10:11 pm
by porsasina
Thank you Ayman,
Problem solved