Page 1 of 1

Installation issue openSim 1.8

Posted: Wed Jan 28, 2009 8:05 am
by mvanoncini
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

RE: Installation issue openSim 1.8

Posted: Wed Jan 28, 2009 8:21 am
by aymanh
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

RE: Installation issue openSim 1.8

Posted: Wed Jan 28, 2009 8:36 am
by mvanoncini
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



RE: Installation issue openSim 1.8

Posted: Wed Jan 28, 2009 11:27 am
by aymanh
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

RE: Installation issue openSim 1.8

Posted: Thu Jan 29, 2009 2:13 am
by mvanoncini
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

RE: Installation issue openSim 1.8

Posted: Thu Jan 29, 2009 10:15 am
by aymanh
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




RE: Installation issue openSim 1.8

Posted: Fri Jan 30, 2009 2:08 am
by mvanoncini
Hi Ayman,

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

Michele

RE: Installation issue openSim 1.8

Posted: Fri Jan 30, 2009 2:22 am
by mvanoncini
...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

RE: Installation issue openSim 1.8

Posted: Fri Jan 30, 2009 11:56 am
by aymanh
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

RE: Installation issue openSim 1.8

Posted: Mon Feb 02, 2009 1:58 am
by mvanoncini
Hi Ayman,

it worked!

Thanks,
Michele