简体   繁体   中英

Howto: install JOGL for Eclipse in Mac OSX 10.6?

I got Snow Leopard 64 bit, and I'm wondering how I am to install JOGL in order to develop with Eclipse.

A nice tut from AZ would have been nice, since I'm suspecting some of my steps are very wrong.

--Edit: 28.aug.2012--

JOGL 1.1 is only compatible with Java JDK 1.6 not JDK 1.7. Tested on OSX Mountain Lion (10.8.1).

  1. Download jogl
  2. Create a new project, and unzip the lib folder from the file you downloaded into the project.
  3. Add the jogl.jar and gluegen-rt.jar to the build path. Right click jogl.jar in the package explorer in the build path. Click "Properties", and set the "Native Libraries" option to point to the same lib folder that should also contains four *.jnilib files.

When using JogAmp JOGL 2 you only need to include jogl-all.jar and gluegen-rt.jar to your project. All the macos x specific native jars will be automatically found at runtime if they are located next to the jogl-all.jar and gluegen-rt.jar http://jogamp.org/wiki/index.php/Downloading_and_installing_JOGL

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM