Bug 65 - Can't compile on linux using "ant linux"
Summary: Can't compile on linux using "ant linux"
Status: VERIFIED DUPLICATE of bug 64
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All linux
: P3 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2004-02-17 06:35 CET by Sven Gothel
Modified: 2010-03-24 07:46 CET (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2010-03-24 07:46:19 CET


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

Dependency to "issue 64."

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&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'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("double buffered: " +
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'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.