whizzter / poly2tri

Automatically exported from code.google.com/p/poly2tri
Other
0 stars 0 forks source link

Examples error with 64bit java #61

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Import project in eclipse. Use 64bit java 7
2. Run example class e.g. CDTHoleExample
3. choose LWJGL output

What is the expected output? What do you see instead?
Window with output image. But I get:
Throwable caught in MainThread - exiting
java.lang.UnsatisfiedLinkError: 
C:\tmp\poly2tri.java\poly2tri-examples\target\lib\natives\lwjgl.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(ClassLoader.java:1803)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1028)
    at org.lwjgl.Sys$1.run(Sys.java:72)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
    at org.lwjgl.Sys.loadLibrary(Sys.java:81)
    at org.lwjgl.Sys.<clinit>(Sys.java:98)
    at org.lwjgl.opengl.Display.<clinit>(Display.java:129)
    at com.ardor3d.framework.lwjgl.LwjglCanvas.init(LwjglCanvas.java:83)
    at com.ardor3d.framework.FrameHandler.init(FrameHandler.java:171)
    at com.ardor3d.example.ExampleBase.run(ExampleBase.java:137)
    at java.lang.Thread.run(Thread.java:662)

What version of the product are you using? On what operating system?
As run-time I use jdk7 64bit. I have windows 7 64bit.

Please provide any additional information below.
When I switch to 32bit jre7 it work.

Original issue reported on code.google.com by ken...@gmail.com on 10 Oct 2012 at 6:11

GoogleCodeExporter commented 8 years ago
Yeah it have to use the lwjgl64.dll to work om 64bit platform

Don't really know how lwjgl decides what .dll native file to use?

Original comment by thahlen@gmail.com on 10 Oct 2012 at 8:10

GoogleCodeExporter commented 8 years ago
not related to the triangulation so closing issue

Original comment by thahlen@gmail.com on 14 Mar 2013 at 8:01