Installation issue openSim 1.8

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Michele Vanoncini
Posts: 10
Joined: Tue Jan 27, 2009 4:32 am

Installation issue openSim 1.8

Post by Michele Vanoncini » Wed Jan 28, 2009 8:05 am

Hi,

I have an installation issue with OpenSim 1.8.
I don't have any previous installation, and running on windows XP Professional SP3.

When I try to run opensim, I get an error message saying:

a) that required libraries failed to load, and I should check that the libraries osimJavaJNI and osimSimbodyEngine are in the PATH.

The OpenSim 1.8\bin folder, where the libraries are, appears to be in the path (checked typing "PATH" in the command window).


b) that the library osimjavaJNI could not be run because its configuration is incorrect.

Can anyone suggest a possible solution?
i've already uninstalled and reinstalled once.

Thank you very much in advance!
Michele

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

RE: Installation issue openSim 1.8

Post by Ayman Habib » Wed Jan 28, 2009 8:21 am

Hi Michele,

How are you launching the application? The application is setup to be launched from a batch file (start_opensim.bat) that sets up the path. If you try to launch it by double clicking "opensim.exe" you will not have correct environment and you'll see the errors above.

Hope that helps,
-Ayman

User avatar
Michele Vanoncini
Posts: 10
Joined: Tue Jan 27, 2009 4:32 am

RE: Installation issue openSim 1.8

Post by Michele Vanoncini » Wed Jan 28, 2009 8:36 am

Hi Ayman,

thanks for your reply...sorry,but I'm still confused:

I'm launching it from window's "start" menu.
It opens a command window, and executes:

a) set OPENSIM_HOME= etc...

b) set PATH= etc...

c) "./bin/opensim.exe"

I get the same result calling "start_opensim.bat" from the command line...

???

Regards,
Michele



User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

RE: Installation issue openSim 1.8

Post by Ayman Habib » Wed Jan 28, 2009 11:27 am

Hi Michele,

Sorry for the confusion. I assumed you're not launching the application from the batch file since the batch file definitely does add the "bin" directory to the PATH before launching.

Since this's not the problem, it is likely something with the environment that we need to zone in. Very likely candidate is some Windows dll that's different on your machine. Do you have VisualStudio installed on your machine? What version?

Thanks,
-Ayman

User avatar
Michele Vanoncini
Posts: 10
Joined: Tue Jan 27, 2009 4:32 am

RE: Installation issue openSim 1.8

Post by Michele Vanoncini » Thu Jan 29, 2009 2:13 am

Hi Ayman,

...mmhh...no VisualStudio as such...I have some dll from Microsoft Visual Basic and visual C, version 1.14322.

I'm not sure where these dlls came from...possibly installed by some other programs?
(I got this machine a couple of weeks ago, from somebody else...so I don't know much about its history...)

Where could I find a list of the dll used by Opensim?

Thanks,
Michele

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

RE: Installation issue openSim 1.8

Post by Ayman Habib » Thu Jan 29, 2009 10:15 am

Michele,

I'd strongly recommend downloading and installing the dependency walker from http://www.dependencywalker.com/ and running it on the dll osimJavaJNI.dll in the bin directory. That should tell you exactly what are the missing dll's if any. Missing dll names will be highlighted in red.

-Ayman




User avatar
Michele Vanoncini
Posts: 10
Joined: Tue Jan 27, 2009 4:32 am

RE: Installation issue openSim 1.8

Post by Michele Vanoncini » Fri Jan 30, 2009 2:08 am

Hi Ayman,

thank you for the tip. According to dependency walker there's no dll missing...

Michele

User avatar
Michele Vanoncini
Posts: 10
Joined: Tue Jan 27, 2009 4:32 am

RE: Installation issue openSim 1.8

Post by Michele Vanoncini » Fri Jan 30, 2009 2:22 am

...but the results for osimBodyengine seem to be more interesting; I get a "side-by-Side configuration information is incorrect" error message for the following modules:
SIMTKCOMMON.DLL
OSIMCOMMON.DLL
SIMTKMATH.DLL
SIMTKCPODES.DLL
OSIMSIMULATION.DLL
SIMTKSIMBODY.DLL

...no idea of what this means :(

Michele

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

RE: Installation issue openSim 1.8

Post by Ayman Habib » Fri Jan 30, 2009 11:56 am

Hi Michele,

I think you found it (the side-by-side error). You should be able to resolve that by running the VC8 redistributable vcredist_x86.exe which you can get from http://wiki.simtk.org/opensim/

Please let me know how that goes,
-Ayman

User avatar
Michele Vanoncini
Posts: 10
Joined: Tue Jan 27, 2009 4:32 am

RE: Installation issue openSim 1.8

Post by Michele Vanoncini » Mon Feb 02, 2009 1:58 am

Hi Ayman,

it worked!

Thanks,
Michele

POST REPLY