Re: Jogl_cg can't load cg or cggl library on system64.
Posted by jetlee01 on Jan 12, 2015; 1:52am
URL: https://forum.jogamp.org/Jogl-cg-can-t-load-cg-or-cggl-library-on-system64-tp4033828p4033838.html
Not that, I have included all the native libraries in my project.
Maybe I found the reason why it can't load the cg.dll or cggl.dll. I tried to load cg.dll directly using the "System.load("Cg.dll")" method, and then the jvm throw a UnsatisfiedLinkError: Can't load IA 32-bit .dll on a AMD 64-bit platform. It means the Cg.dll is 32-bit dll that can't load into the 64-bit jvm. So I have to run cg code on 32-bit machine. Am I right?