JOGL 32与64位库错误 [英] JOGL 32 vs. 64 bit libraries error
问题描述
我是JOGL的新手.我使用Eclipse,并导入了JOGL jar和dll(是的,对于Windows OS).但是,当我搜索JOGL库时,我下载了32位版本.我有64位操作系统,但是由于我可以运行32位应用程序,因此我认为它仍然会更合适.但是编译器在抱怨:Can't load IA 32-bit .dll on a AMD 64-bit platform
首先,我认为Java本身并没有被体系结构分开.是的,我知道我正在使用本机库链接到Windows OpenGL接口(API),但是我只想将这些代码段包含在Java字节码中,所以为什么编译器不能让我使用32位?谢谢.
由于具有64位操作系统,因此已安装了64位JVM. 64位JVM无法使用32位DLL,因此您需要下载64位DLL,或者在系统上安装32位JVM,然后将Eclipse设置为使用该JVM.>
I am new to JOGL. I use Eclipse and I imported JOGL jar and dll (yes, Windows OS). But, when I was searching for JOGL libraries, I downloaded 32 bit version. I have 64 bit OS, but since I can run 32 bit apps I thought it will still be more suitable. But compiler is complaining: Can't load IA 32-bit .dll on a AMD 64-bit platform
Well, first, I thought Java itself is NOT separated by architecture. Yes, I know I am using native libraries to link into Windows OpenGL interface (API), but I just want to include these code snippets into java bytecode, so why compiler cant let me use 32 bit ones? Thanks.
Since you have a 64-bit OS, you installed the 64-bit JVM. The 64-bit JVM cannot use the 32-bit DLLs, so you'll need to either download the 64-bit ones, or alternatively, install the 32-bit JVM on your system and set Eclipse to use that JVM instead.
这篇关于JOGL 32与64位库错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!