<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>231</bug_id>
          
          <creation_ts>2006-06-29 11:27:37 +0200</creation_ts>
          <short_desc>cannot find symbol DebugGL</short_desc>
          <delta_ts>2010-03-24 07:49:07 +0100</delta_ts>
          <reporter_accessible>0</reporter_accessible>
          <cclist_accessible>0</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>core</component>
          <version>1</version>
          <rep_platform>All</rep_platform>
          <op_sys>linux</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>DEFECT</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>247</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-03-24 07:49:07 +0100</bug_when>
    <thetext>


---- Reported by nichoj 2006-06-29 11:27:37 ----

I just downloaded jogl-src-1_0_0-beta05.zip, and attempted to build it, but it
fails with:

java.compile.secondpass:
    [javac] Compiling 179 source files to /home/jnichols/testing/jogl/build/classes
    [javac]
/home/jnichols/testing/jogl/src/classes/javax/media/opengl/GLJPanel.java:484:
cannot find symbol
    [javac] symbol: class DebugGL
    [javac]                 j2dContext.setGL(new DebugGL(j2dContext.getGL()));
    [javac]                                      ^
    [javac]
/home/jnichols/testing/jogl/src/classes/javax/media/opengl/GLJPanel.java:551:
cannot find symbol
    [javac] symbol: class DebugGL
    [javac]                     joglContext.setGL(new DebugGL(joglContext.getGL()));
    [javac]                                           ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 2 errors

BUILD FAILED
/home/jnichols/testing/jogl/make/build.xml:1445: The following error occurred
while executing this line:
/home/jnichols/testing/jogl/make/build.xml:706: Compile failed; see the compiler
error output for details.

I did some poking around, and there doesn&apos;t seem to be a DebugGL.java kicking
around anywhere. I also tried a CVS checkout, but with the same results.



---- Additional Comments From kbr 2006-07-08 16:51:32 ----

I&apos;ve just downloaded and built the beta 5 sources successfully. I suspect you
had a failed build, retried it from the middle of the build process, and the
build got confused. Please rebuild from scratch and post on the JOGL forum
rather than filing a bug if you have further problems.




---- Additional Comments From nichoj 2006-07-11 08:49:11 ----

I also did a fresh download and build attempt, to the same effect.
Like I mentioned, I also did a CVS checkout to the same effect.



---- Additional Comments From kbr 2006-07-11 08:53:04 ----

I&apos;m sorry, but I can&apos;t reproduce this problem. Things I would suggest trying are:

 - Make sure you are using a current version of Ant
 - Make sure you are using a current version of ANTLR
 - Unset your CLASSPATH and JAVA_HOME environment variables
 - Double-check to make sure the JDK&apos;s &quot;bin&quot; directory is in your PATH

Please post on the forums rather than reopening this bug if you still have
trouble; this way more people can see the issue.




---- Additional Comments From nichoj 2006-07-11 10:15:54 ----

Is DebugGL a class provided by jogl? Presumably since there isn&apos;t an import, I&apos;d
figure it&apos;s in javax.media.opengl. I did a find for it, and there doesn&apos;t seem
to be a class or source for it...

Or does it come from another package / jar ?

The classpath is empty, and you can&apos;t unset JAVA_HOME, because it needs to point
to the JDK that you&apos;re currently using. As a side note, I&apos;ve tried compiling
with Sun&apos;s 1.4, 1.5, and 1.6 JDK to the same effect.

I&apos;m using ant 1.6.5, and antlr 2.7.5.

As for the forums, they seem to be dead / dying, with notices that they will
soon be deleted.



---- Additional Comments From kbr 2006-07-11 10:22:21 ----

I&apos;ll admit the location of the forums is a bit confusing, but the &quot;live&quot; forum&apos;s
link is on the right-hand side of the JOGL home page, and it&apos;s very much alive.
I&apos;ve updated the forums in the JOGL project to have a direct link.

The DebugGL class is generated during the build process. I&apos;m not sure if you&apos;re
trying to invoke the build from within an IDE or are doing it from the command
line but the latter is the only mechanism we currently support. I have heard
varying degrees of success from NetBeans and Eclipse users on invoking the
build.xml from within the IDE.




---- Additional Comments From nichoj 2006-07-11 10:43:17 ----

I&apos;m executing ant from the command line. Ultimately, I&apos;d be executing ant
noninteractively in order to package for Gentoo Linux.

I figured out what the problem was. I was trying to build from not inside the
&apos;make&apos; directory. After going in that directory, it seemed to get further along.

I&apos;m having a separate issue now, but I guess the forums is the best place to
look for help.



--- Bug imported by sgothel@jausoft.com 2010-03-24 07:49 EDT  ---

This bug was previously known as _bug_ 231 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=231
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>