Several errors building gluegen

classic Classic list List threaded Threaded
18 messages Options
peq
Reply | Threaded
Open this post in threaded view
|

Several errors building gluegen

peq
Hello everybody,
I'm currently trying to build gluegen and jogl in order to run the unit test, since I'm one of the people who struggle to run jogl 2.0 on a Windows system.
I checked out the sources (master) with git but when I try to run ant within the make-directory of gluegen I get the following output with (several errors):
http://pastebin.com/raw.php?i=y5W7dCdh

I installed the newest version of minGW, git, and ant:
Apache Ant(TM) version 1.8.2 compiled on December 20 2010
git version 1.7.8.msysgit.0
gcc (GCC) 4.6.1

(Versions are checked on the command line, so I guess they are installed properly)

Does anyone get a clue of the output errors?

Regards,
peq
Reply | Threaded
Open this post in threaded view
|

Re: Several errors building gluegen

gouessej
Administrator
Hi

You have to set the path to GIT somewhere.
Julien Gouesse | Personal blog | Website
peq
Reply | Threaded
Open this post in threaded view
|

Re: Several errors building gluegen

peq
The path is set: C:\Program Files (x86)\Git\cmd
I can call git from the command prompt.
peq
Reply | Threaded
Open this post in threaded view
|

Re: Several errors building gluegen

peq
I've checked out gluegen and jogl with egit. Maybe that messed something up. Im going to check it out via command prompt again.
Reply | Threaded
Open this post in threaded view
|

Re: Several errors building gluegen

gouessej
Administrator
I use egit too and it works fine.
Julien Gouesse | Personal blog | Website
peq
Reply | Threaded
Open this post in threaded view
|

Re: Several errors building gluegen

peq
The git error remained but the build finished successfully. :D
peq
Reply | Threaded
Open this post in threaded view
|

Re: Several errors building gluegen

peq
Here are the test results from the jogl unit tests.
results.7z
Reply | Threaded
Open this post in threaded view
|

Re: Several errors building gluegen

gouessej
Administrator
You seem to have the same problem than the one in the bug 551, the only difference is that in your case it does not cause a crash. It comes from jogamp.opengl.windows.wgl.WGLExtImpl.wglCreateContextAttribsARB() as you already showed me in the past here:
http://pastebin.com/raw.php?i=i7QHtNuL
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Several errors building gluegen

Sven Gothel
Administrator
On Monday, January 09, 2012 04:14:04 PM gouessej [via jogamp] wrote:
>
> You seem to have the same problem than the one in the bug 551, the only
> difference is that in your case it does not cause a crash. It comes from
> jogamp.opengl.windows.wgl.WGLExtImpl.wglCreateContextAttribsARB().

Sorry, I lost you here Julien.

I dl the 7z and checked the unit test results.
Besides some 'usual' UI test failures .. they are looking great.
Don't they ?

~Sven
Reply | Threaded
Open this post in threaded view
|

Re: Several errors building gluegen

gouessej
Administrator
Yes they do but look at the link peq sent me on Ardor3D forum, you can see that:
main - WindowWGLContext.createContextARBImpl: 3.3 (compatibility profile, any, new) - @creation, handle 0x201206f, share 0x0, direct true, wglCreateContextAttribsARB: 0x662a4860
java.lang.Exception: Stack trace
        at java.lang.Thread.dumpStack(Unknown Source)
        at jogamp.opengl.windows.wgl.WindowsWGLContext.createContextARBImpl(WindowsWGLContext.java:188)
        at jogamp.opengl.GLContextImpl.createContextARB(GLContextImpl.java:617)
        at jogamp.opengl.windows.wgl.WindowsWGLContext.createImpl(WindowsWGLContext.java:281)
        at jogamp.opengl.GLContextImpl.makeCurrentLocking(GLContextImpl.java:470)
        at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:399)
        at com.ardor3d.framework.jogl.JoglCanvasRenderer.init(JoglCanvasRenderer.java:130)
        at com.ardor3d.framework.jogl.JoglAwtCanvas.init(JoglAwtCanvas.java:59)
        at com.ardor3d.framework.jogl.JoglAwtCanvas.draw(JoglAwtCanvas.java:65)
        at com.ardor3d.framework.FrameHandler.updateFrame(FrameHandler.java:90)
        at com.ardor3d.example.canvas.JoglAwtExample.main(JoglAwtExample.java:135)
main: createContextARBImpl: NO 3.3 (compatibility profile, any, new) - @creation
Exception in thread "main" javax.media.opengl.GLException: Unable to create temp OpenGL context for device context 0x201206f
        at jogamp.opengl.windows.wgl.WindowsWGLContext.createImpl(WindowsWGLContext.java:294)
        at jogamp.opengl.GLContextImpl.makeCurrentLocking(GLContextImpl.java:470)
        at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:399)
        at com.ardor3d.framework.jogl.JoglCanvasRenderer.init(JoglCanvasRenderer.java:130)
        at com.ardor3d.framework.jogl.JoglAwtCanvas.init(JoglAwtCanvas.java:59)
        at com.ardor3d.framework.jogl.JoglAwtCanvas.draw(JoglAwtCanvas.java:65)
        at com.ardor3d.framework.FrameHandler.updateFrame(FrameHandler.java:90)
        at com.ardor3d.example.canvas.JoglAwtExample.main(JoglAwtExample.java:135)

Maybe I'm wrong. I don't really know what is wrong as these examples work fine on other machines, I will perform some other tests on Windows.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Several errors building gluegen

gouessej
Administrator
In reply to this post by peq
Hi peq. Please can you run the manual tests and tell us what happens?
Julien Gouesse | Personal blog | Website
peq
Reply | Threaded
Open this post in threaded view
|

Re: Several errors building gluegen

peq
Hi everybody,
where can I find those tests and how do I run them?

Edit: Ah, its a target. I let it run right now.
peq
Reply | Threaded
Open this post in threaded view
|

Re: Several errors building gluegen

peq
results.7z

Hope this helps.
Reply | Threaded
Open this post in threaded view
|

Re: Several errors building gluegen

gouessej
Administrator
Can you enable all logs during the manual tests please? I just see a single line with one flag in each log file.

Can you run the Gears demo in Eclipse please? You need to get jogl-demos on Github:
https://github.com/sgothel/jogl-demos/blob/master/src/demos/jgears/JGears.java
Julien Gouesse | Personal blog | Website
peq
Reply | Threaded
Open this post in threaded view
|

Re: Several errors building gluegen

peq
gouessej wrote
Can you enable all logs during the manual tests please? I just see a single line with one flag in each log file.

Can you run the Gears demo in Eclipse please? You need to get jogl-demos on Github:
https://github.com/sgothel/jogl-demos/blob/master/src/demos/jgears/JGears.java
Im checking out the demos right now.
How do I enable all logs?
Reply | Threaded
Open this post in threaded view
|

Re: Several errors building gluegen

gouessej
Administrator
peq
Reply | Threaded
Open this post in threaded view
|

Re: Several errors building gluegen

peq
Hi goussej,
Sorry for staying quiet so long about this. I'm trying to build the newest jogl (Have some problems with my Anti-Virus and gluegen, see top post here) and then I'll run the gears demo.
Regarding the log-enabling: I read the document you provided, and I will set those parameters ("-Djnlp.newt.debug=all -Djnlp.nativewindow.debug=all -Djnlp.jogl.debug=all") to the JGears demo, but how can I add the parameters to the manual tests?

Regards peq
Reply | Threaded
Open this post in threaded view
|

Re: Several errors building gluegen

gouessej
Administrator
You have to add them to the parameters of the VM in the script. I don't remember how to add them as parameters of the script when running it, maybe Sven can help you.
Julien Gouesse | Personal blog | Website