When I tried to run the HelloWorld Sample, I got this message:
Exception in thread "main" java.lang.UnsatisfiedLinkError: D:\Data\workspace\VHP\ogre4j.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.ogre4j.Root.<clinit>(Root.java:32)
at HelloWorld.setup(HelloWorld.java:248)
at HelloWorld.<init>(HelloWorld.java:188)
at HelloWorld.<init>(HelloWorld.java:173)
at HelloWorld.main(HelloWorld.java:101)
I ran it on Eclipse with OGRE 1.7.2 SDK for Visual C++ .Net 2008 (32-bit), Windows 7 64-bit. Java version 1.6.0_21, Java SE runtime environment build 1.6.0_21-b07, Java HotSopt 64-bit Server VM build 17.0-b17.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Now, I have a problem with the dependency for ogre4j.dll. I use dependencywalker and there are 4 dll files missing. MSVCR80.DLL, MSVCR90.DLL, GPSVC.DLL, and IESHIMS.DLL. What should I do?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've run it, but it still says that it's missing MSVCR80.DLL, GPSVC.DLL, and IESHIMS.DLL. I use OGRE 1.7.2 SDK for Visual C++ .Net 2008 (32-bit) and ogre4j 1.6.2.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I tried to run the HelloWorld Sample, I got this message:
Exception in thread "main" java.lang.UnsatisfiedLinkError: D:\Data\workspace\VHP\ogre4j.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.ogre4j.Root.<clinit>(Root.java:32)
at HelloWorld.setup(HelloWorld.java:248)
at HelloWorld.<init>(HelloWorld.java:188)
at HelloWorld.<init>(HelloWorld.java:173)
at HelloWorld.main(HelloWorld.java:101)
I ran it on Eclipse with OGRE 1.7.2 SDK for Visual C++ .Net 2008 (32-bit), Windows 7 64-bit. Java version 1.6.0_21, Java SE runtime environment build 1.6.0_21-b07, Java HotSopt 64-bit Server VM build 17.0-b17.
Now, I have a problem with the dependency for ogre4j.dll. I use dependencywalker and there are 4 dll files missing. MSVCR80.DLL, MSVCR90.DLL, GPSVC.DLL, and IESHIMS.DLL. What should I do?
That sounds like you are missing the Microsoft Visual C++ Runtime Libraries.
See this wiki article:
https://sourceforge.net/apps/mediawiki/ogre4j/index.php?title=Installation
I've run it, but it still says that it's missing MSVCR80.DLL, GPSVC.DLL, and IESHIMS.DLL. I use OGRE 1.7.2 SDK for Visual C++ .Net 2008 (32-bit) and ogre4j 1.6.2.
ogre4j 1.6.2 works with OGRE 1.6.2 only. So you have to download that old version of OGRE.