Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (416)
games submitted by our members
Games in WIP (306)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Some gluegen BufferFactory methods not found  (Read 659 times)
0 Members and 1 Guest are viewing this topic.
Offline finson

Junior Newbie





« Posted 2010-06-01 01:12:57 »

I'm setting up JOGL JSR-231-2.0 beta10 on Win 7 with Eclipse and jdk 1.6 u20.  I have been able to run some of the JOGL examples (eg, Gears) using the JNLP versions on the web.  However, when I downloaded the libraries and the example source and tried to run Gears directly in Eclipse, I get method not found errors.  I've scrubbed the disk of all versions of gluegen-rt etc except the one in the beta10 directory.  I wrote a little java source that attempts to call various methods from BufferFactory.  All the methods are visible in the Eclipse package explorer, but some (isLittleEndian(), nativeOrder(ByteBuffer)) cause compiler errors as being not defined.  (See attached screenshot.)

I can't figure out why this is.  Does anyone have any suggestions?

Thanks.

Doug

Offline finson

Junior Newbie





« Reply #1 - Posted 2010-06-01 17:17:35 »

On the jogamp JOGL forum, I am told that 2.0 beta 10 is not nearly as new as I thought it was, and I should build the library from sources.  That's now the plan.
Offline finson

Junior Newbie





« Reply #2 - Posted 2010-06-01 23:05:45 »

FYI.

I took all the Java installations off my system and went back to bare metal as far as Sun was concerned.  I reinstalled JDK 6u20 and linked to the files from jogl-2.0-pre-20100512-windows-i586.zip.  Gears example now runs in Eclipse with no problem.

In addition to my using an outdated JOGL library earlier, I think there were little bits of older installations of various 3D libraries still floating around that were tangling up with JOGL even though I had tried to scrub for that.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars and Titan!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
Jesse_Attard (10 views)
2013-06-18 15:03:02

HeroesGraveDev (55 views)
2013-06-15 16:35:23

Vermeer (55 views)
2013-06-14 13:08:06

davedes (54 views)
2013-06-14 09:03:55

alaslipknot (50 views)
2013-06-13 00:56:31

Roquen (67 views)
2013-06-11 21:12:32

alaslipknot (56 views)
2013-06-10 12:30:18

HeroesGraveDev (72 views)
2013-06-08 21:36:03

alaslipknot (60 views)
2013-06-08 20:40:19

CodeHead (60 views)
2013-06-08 19:55:41
Smoothing Algorithm Question
by UprightPath
2013-05-27 19:58:26

Smoothing Algorithm Question
by UprightPath
2013-05-27 19:57:33

Complex number cookbook
by Roquen
2013-04-24 05:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 09:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 09:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 09:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 10:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 09:17:38
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!