我想使用JOGL(对于Clojure,而不是Java)。 对于JDK和OpenGL绑定似乎有很多替代方案,我不想使用散射枪方法并堵塞我的机器安装太多的错误。 请帮我开始吧!
我需要安装什么Ubuntu / Debian软件包? (以sun-java6-jdk开头,例如) 似乎没有JOGL包,那么安装它的最佳方法是什么? 我应该从CVS HEAD构建,还是使用预先构建的jar文件?我将使用Emacs作为我的IDE,所以我不需要安装Eclipse或任何东西,我只需要能够用ant或其他东西构建。
请随时修改您的答案(基于他人的答案),以提供全面的操作方法。
I want to use JOGL (for Clojure, not Java). There seems to be quite a combination of alternatives for JDKs and OpenGL bindings, and I don't want to use a scatter gun approach and clog up my machine installing too much cruft. Please help me get started!
What Ubuntu/Debian packages do I need to install? (starting with sun-java6-jdk, for example) There don't seem to be JOGL packages, so what's the best way to install it? Should I build from CVS HEAD, or use pre-built jar files?I'll be using Emacs as my IDE so I don't need to install Eclipse or anything, I just need to be able to build with ant or whatever.
Please feel free to revise your answer (building on others' answers) to provide a comprehensive how-to.
最满意答案
从Ubuntu 8.10(intrepid)开始,JOGL已经打包( libjogl-java )。 选择的最好的JDK应该是openjdk-6-jdk,因为它是main(由Ubuntu的核心团队支持),因为无论如何都是来自Sun的专有JDK6。
在勇敢,只是运行
sudo apt-get install -y ant openjdk-6-jdk libjogl-java应该让你开始。 在旧版本中,您必须省略libjogl-java,手动安装所有依赖项 (一切都带有红色圆圈)并构建JOGL(下载,解压缩,ant)。
Starting with Ubuntu 8.10 (intrepid), JOGL is already packaged (libjogl-java). The best JDK to chose should be openjdk-6-jdk as it is in main(=supported by Ubuntu's core team) since intrepid and derived from Sun's proprietary JDK6 anyway.
On intrepid, just running
sudo apt-get install -y ant openjdk-6-jdk libjogl-javashould get you started. On older versions, you must leave out libjogl-java, manually install all the dependencies (everything with a red circle) and build JOGL (download, unpack, ant).
更多推荐
发布评论