Login  Register

gluegen under Netbeans?

Posted by jiapei100 on Jul 30, 2012; 11:24am
URL: https://forum.jogamp.org/gluegen-under-Netbeans-tp4025702.html

Hi, gouessej:

It's weird that under Netbeans-7.2 under Ubuntu 12.04, there are always red (error) alerts for GlueGen:

1) src/java->com.jogamp.gluegen.runtime->BufferFactoryInternal.java
<nabble_embed>cannot find symbol symbol: variable UnsafeAccess</nabble_embed>

2) test/junit->com.jogamp.gluegen->StructValidator.java
<nabble_embed>package structtest does not exist</nabble_embed>

3) build/test->build.gensrc.classes.com.jogamp.gluegen.test.junit.generation
all files under this directory:
<nabble_embed>package com.jogamp.gluegen.test.junit.generation; -- Incorrect Package</nabble_embed>

4) build/test->build.gensrc.classes.com.jogamp.gluegen.test.junit.generation.impl
all files under this directory:
<nabble_embed>package com.jogamp.gluegen.test.junit.generation.impl; -- Incorrect Package</nabble_embed>


On the other hand, Eclipse didn't report such errors, but apparently, when I tried to Open Declaration for 1) 2), namely, for
UnsafeAccess and  structtest,  I got a dialog titled "Cannot Perform Operation", saying:
<nabble_embed>The resource is not on the build path of a Java project.</nabble_embed>


So... it seems there are always some problems for GlueGen. I don't know if I'm right?


Cheers
Pei
Welcome to Vision Open http://www.visionopen.com