Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (754)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (842)
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  
  JOGL build problems  (Read 1557 times)
0 Members and 1 Guest are viewing this topic.
Offline wakeboardin

Senior Newbie




Java games rock!


« Posted 2006-05-03 01:22:47 »

I am tring to build jogl under eclipse.  I got the antlr elipse plugin and mingw.  This is what I get.
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
java.generate.gl:
     [echo] Generating GL interface and implementation
  [gluegen] java.io.FileNotFoundException: ..\make\stub_includes\common\gl.c (The system cannot find the path specified)
  [gluegen] at java.io.FileInputStream.open(Native Method)
  [gluegen] at java.io.FileInputStream.<init>(FileInputStream.java:106)
  [gluegen] at java.io.FileInputStream.<init>(FileInputStream.java:66)
  [gluegen] at java.io.FileReader.<init>(FileReader.java:41)
  [gluegen] at com.sun.gluegen.GlueGen.run(GlueGen.java:102)
  [gluegen] at com.sun.gluegen.GlueGen.main(GlueGen.java:297)
  [gluegen] Exception occurred while generating glue code. Exiting.

BUILD FAILED
D:\Documents and Settings\Patrick\workspace\jogl\make\build.xml:1333: The following error occurred while executing this line:
D:\Documents and Settings\Patrick\workspace\jogl\make\build.xml:542: The following error occurred while executing this line:
D:\Documents and Settings\Patrick\workspace\jogl\make\build.xml:510: GlueGen returned: 1


Please help thanks
Offline Ken Russell

JGO Coder




Java games rock!


« Reply #1 - Posted 2006-05-03 07:34:04 »

I think Eclipse is not setting up the current working directory as JOGL and GlueGen expect. Actually GKW on these forums contributed a patch a while back for getting JOGL to build from within NetBeans which I never applied. I've just committed these changes so you may want to try taking an update and seeing whether things now build from within Eclipse. If it still doesn't work I would suggest you try to build from the command line instead.
Offline wakeboardin

Senior Newbie




Java games rock!


« Reply #2 - Posted 2006-05-03 22:36:40 »

it didn't work again but it failed on a different part so i think maybe your patch fixed some but something else?  I dunno just seems like it .  Maybe give it one more try?

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
java.compile.secondpass:
    [javac] Compiling 176 source files to D:\Documents and Settings\Patrick\workspace\jogl\build\classes
    [javac] D:/Documents and Settings/Patrick/workspace/jogl/src/classes/javax/media/opengl/GLJPanel.java:488: cannot resolve symbol
    [javac] symbol: class DebugGL
    [javac] j2dContext.setGL(new DebugGL(j2dContext.getGL()));
    [javac] ^
    [javac] D:/Documents and Settings/Patrick/workspace/jogl/src/classes/javax/media/opengl/GLJPanel.java:555: cannot resolve symbol
    [javac] symbol: class DebugGL
    [javac] joglContext.setGL(new DebugGL(joglContext.getGL()));
    [javac] ^
    [javac] Note: D:/Documents and Settings/Patrick/workspace/jogl/src/classes/javax/media/opengl/GLCanvas.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 2 errors

BUILD FAILED
D:\Documents and Settings\Patrick\workspace\jogl\make\build.xml:1417: The following error occurred while executing this line:
D:\Documents and Settings\Patrick\workspace\jogl\make\build.xml:706: Compile failed; see the compiler error output for details.


Use to fail after 7 secs now it's after 37 secs
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Ken Russell

JGO Coder




Java games rock!


« Reply #3 - Posted 2006-05-04 03:18:50 »

Where did the DebugGL.java and TraceGL.java files end up in your workspace? They should have been generated into jogl/build/gensrc/classes/javax/media/opengl/, but probably wound up somewhere else.

Did you rebuild clean? (Delete the build/ directories in both the gluegen and jogl workspaces)

Have you tried just building from the command line?
Pages: [1]
  ignore  |  Print  
 
 

 
DesertCoockie (36 views)
2018-05-13 18:23:11

nelsongames (80 views)
2018-04-24 18:15:36

nelsongames (73 views)
2018-04-24 18:14:32

ivj94 (755 views)
2018-03-24 14:47:39

ivj94 (85 views)
2018-03-24 14:46:31

ivj94 (626 views)
2018-03-24 14:43:53

Solater (101 views)
2018-03-17 05:04:08

nelsongames (182 views)
2018-03-05 17:56:34

Gornova (408 views)
2018-03-02 22:15:33

buddyBro (1068 views)
2018-02-28 16:59:18
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
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!