<?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>65</bug_id>
          
          <creation_ts>2004-02-17 06:35:32 +0100</creation_ts>
          <short_desc>Can&apos;t compile on linux using &quot;ant linux&quot;</short_desc>
          <delta_ts>2010-03-24 07:46:19 +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>DUPLICATE</resolution>
          <dup_id>64</dup_id>
          
          <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>81</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-03-24 07:46:19 +0100</bug_when>
    <thetext>


---- Reported by bdr_act 2004-02-17 06:35:32 ----

Dependency to &quot;issue 64.&quot;

I am planning to use JOGL to replace J3D in our Commercial Viewer
(www.inteplan.com).

We are working in a linux Redhat 9.0 OS environment.

I followed the installation instructions fulfilled in
https://jogl.dev.java.net/unbranded-source/browse/*checkout*/jogl/doc/HowToBuild.html?rev=HEAD&amp;content-type=text/html


Ant is installed.
ANTLR is installed.

I have downloaded the source of JOGL from the CVS repository with:

https://jogl.dev.java.net/servlets/ProjectSource

...

The compilation seems to work except that it crash when trying to compile

GLX.java

because it doesn&apos;t found some static variable
and one class type.

...
GLX_DEPTH_SIZE
GLX_DOUBLEBUFFER

...

also 


cannot find class: 

XVisualInfo

..........................................
example of dump:


   [javac] location: class net.java.games.jogl.impl.x11.GLX
    [javac]       System.err.println(&quot;double buffered: &quot; +
queryFBConfig(display, fbConfig, GLX.GLX_DOUBLEBUFFER));
    [javac]                                                                    
               ^
    [javac]
/datalinux/project/jogl/src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java:222:
cannot resolve symbol
    [javac] symbol  : method glXQueryDrawable (long,int,int,int[])
    [javac] location: class net.java.games.jogl.impl.x11.GLX
    [javac]     GLX.glXQueryDrawable(display, (int) buffer, GL.GLX_WIDTH, tmp);
    [javac]        ^
    [javac]
/datalinux/project/jogl/src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java:224:
cannot resolve symbol
    [javac] symbol  : method glXQueryDrawable (long,int,int,int[])
    [javac] location: class net.java.games.jogl.impl.x11.GLX
    [javac]     GLX.glXQueryDrawable(display, (int) buffer, GL.GLX_HEIGHT, tmp);
    [javac]        ^
    [javac]
/datalinux/project/jogl/src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java:252:
cannot resolve symbol
    [javac] symbol  : method glXMakeContextCurrent (long,int,int,long)
    [javac] location: class net.java.games.jogl.impl.x11.GLX
    [javac]       if (!GLX.glXMakeContextCurrent(display, (int) buffer, (int)
buffer, context)) {
    [javac]               ^
    [javac]
/datalinux/project/jogl/src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java:269:
cannot resolve symbol
    [javac] symbol  : method glXMakeContextCurrent (long,int,int,int)
    [javac] location: class net.java.games.jogl.impl.x11.GLX
    [javac]       if (!GLX.glXMakeContextCurrent(display, 0, 0, 0)) {
    [javac]               ^
    [javac] Note: /datalinux/project/jogl/src/net/java/games/jogl/GLCanvas.java
uses or overrides a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 86 errors

BUILD FAILED
/datalinux/project/jogl/make/build.xml:1094: Following error occured while
executing this line
/datalinux/project/jogl/make/build.xml:714: Compile failed; see the compiler
error output for details.

Total time: 11 seconds
[bdr@pfff make]$
[bdr@pfff make]$



---- Additional Comments From kbr 2004-02-17 08:26:50 ----

I&apos;m closing this as a duplicate of issue 64. Please add further updates to that bug.


*** This issue has been marked as a duplicate of 64 ***



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

This bug was previously known as _bug_ 65 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=65

The original assignee of this bug does not have
   an account here. Reassigning to the default assignee
   for the component, sgothel@jausoft.com.
   Previous assignee was kbr.

</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>