Fail to build jogl-demos and jogl-utils...

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

Fail to build jogl-demos and jogl-utils...

jiapei100

Hi, all:

Unable to build jogl-demos and jogl-utils.

1) For jogl-demos,
now, only 2 files under javabullet.demos.opengl failed to build .

a) 2 errors in DemoApplication.java around line 157-162
GLES2.FIXED_EMULATION_VERTEXCOLORTEXTURE
GLProfile.getProfile()

b) JOGL.java around line 80-82
GLProfile.setProfileGLAny();
NWCapabilities caps = new NWCapabilities();


2) For jogl-utils,
now, only 6 files under net.java.joglutils failed to build.

a) DisplayListRenderer.java
around line 267
texture.put(id, AWTTextureIO.newTexture(bufferedImage, true));
around line 311, 312 and 388
t.enable();
t.bind();
t.disable();

b) GLTextureElement.java
line 93-97
      prevTexture.disable();
      curTexture.enable();
      curTexture.bind();

c) BufferFactory.java
BufferUtil undefined in the whole file

d) Texture2.java
newTextureData() is wrongly called

e) DisplayShelfRenderer.java
around line 159
sharedPbuffer = GLDrawableFactory.getFactory(GLProfile.getDefault()).createGLPbuffer(new GLCapabilities(GLProfile.getDefault()), null, 1, 1, null);

f) MyModel.java
line 117-118, and 143
texture[tempObj.materialID].enable();
texture[tempObj.materialID].bind();
texture[tempObj.materialID].disable();



Is there any possibility to revise all current errors?

Cheers
Pei

Welcome to Vision Open http://www.visionopen.com
Reply | Threaded
Open this post in threaded view
|

Re: Fail to build jogl-demos and jogl-utils...

gouessej
Administrator
Hi!

JOGL-utils still contains some source code not ported to JOGL 2.0, for example BufferUtil is now called Buffers...
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Fail to build jogl-demos and jogl-utils...

Sven Gothel
Administrator
On Friday, May 27, 2011 01:17:24 pm gouessej [via jogamp] wrote:
>
> Hi!
>
> JOGL-utils still contains some source code not ported to JOGL 2.0, for
> example BufferUtil is now called Buffers...

.. and we are looking for a maintainer of jogl-utils.

'demos' should work fine w/ latest jogl.

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

Re: Fail to build jogl-demos and jogl-utils...

jiapei100
I'd love to have a try to maintain jogl-utils, but I might not be strong enough :S:S:S

What's the requirement?

Rgds
Pei

Reply | Threaded
Open this post in threaded view
|

Re: Fail to build jogl-demos and jogl-utils...

Sven Gothel
Administrator
On Sunday, May 29, 2011 07:25:45 pm jiapei100 [via jogamp] wrote:
>
> I'd love to have a try to maintain jogl-utils, but I might not be strong
> enough :S:S:S
>
> What's the requirement?

cooperation .. and .. I don't know :)

it doesn't need physical heavy lifting, but maybe others or myself could become annoying.

there is no 'election' process in place, so you just can give it a try,
fork it (git) .. fix things .. and we see how it goes. then you may become the
maintainer by your actions.

~Sven

>
> Rgds
> Pei
Reply | Threaded
Open this post in threaded view
|

Re: Fail to build jogl-demos and jogl-utils...

jiapei100

Hi, Sven Gothel:

Why it's reported in my Eclipse that even
import com.jogamp.openal.AL;
import com.jogamp.openal.ALC;
are missing?
Are you maintaining joal and joal-demos now?


Rgds
Pei
Welcome to Vision Open http://www.visionopen.com
Reply | Threaded
Open this post in threaded view
|

Re: Fail to build jogl-demos and jogl-utils...

Sven Gothel
Administrator
On Tuesday, May 31, 2011 05:15:05 am jiapei100 [via jogamp] wrote:

>
> Hi, Sven Gothel:
>
> Why it's reported in my Eclipse that even
>
>
> > import com.jogamp.openal.AL;
> > import com.jogamp.openal.ALC;
> >
> are missing?
> Are you maintaining joal and joal-demos now?

More like 'acting maintainer' yes.
Do you like to maintain those too ?

Sure you need to have joal in place for jogl-demos,
since there is at least one demo in place using it.

~Sven

>
>
> Rgds
> Pei
Reply | Threaded
Open this post in threaded view
|

Re: Fail to build jogl-demos and jogl-utils...

jiapei100

Haha, Sven Gothel:

I don't think I'm familiar with joal and joal-demos. I couldn't find the source of
com.jogamp.openal.AL
com.jogamp.openal.ALC
Yeah, following your suggestion, if I add the built joal.jar into the project settings, there is no error reports in Eclipse.
However, Sven Gothel, where are the source of
com.jogamp.openal.AL
com.jogamp.openal.ALC
??

Best Regards
Pei

Sven Gothel wrote
On Tuesday, May 31, 2011 05:15:05 am jiapei100 [via jogamp] wrote:
>
> Hi, Sven Gothel:
>
> Why it's reported in my Eclipse that even
>
>
> > import com.jogamp.openal.AL;
> > import com.jogamp.openal.ALC;
> >
> are missing?
> Are you maintaining joal and joal-demos now?

More like 'acting maintainer' yes.
Do you like to maintain those too ?

Sure you need to have joal in place for jogl-demos,
since there is at least one demo in place using it.

~Sven

>
>
> Rgds
> Pei
Welcome to Vision Open http://www.visionopen.com
Reply | Threaded
Open this post in threaded view
|

Re: Fail to build jogl-demos and jogl-utils...

Sven Gothel
Administrator
On Tuesday, May 31, 2011 04:43:47 pm jiapei100 [via jogamp] wrote:
>
> Haha, Sven Gothel:
>
> I don't think I'm familiar with joal and joal-demos. :)

> Yeah, following your suggestion, if I add the built joal.jar into the
> project settings, there is no error reports in Eclipse.
> However, Sven Gothel, where are the source of
>
>
> > com.jogamp.openal.AL
> > com.jogamp.openal.ALC
> >
> ??

In their joal repository, just fetch the git stuff, build.

Since those are generated, pls also add the generated source folder,
ie joal/build/gensrc/classes/com/jogamp/openal/ALC.java

I will add joal source zip files as well,
as I did w/ gluegen and jogl - soon.

Updating 3 linux/kubuntu boxes to natty right now.

~Sven

>
> Best Regards
> Pei
>
>
> Sven Gothel wrote:
> >
> > On Tuesday, May 31, 2011 05:15:05 am jiapei100 [via jogamp] wrote:
> >>
> >> Hi, Sven Gothel:
> >>
> >> Why it's reported in my Eclipse that even
> >>
> >>
> >> > import com.jogamp.openal.AL;
> >> > import com.jogamp.openal.ALC;
> >> >
> >> are missing?
> >> Are you maintaining joal and joal-demos now?
> >
> > More like 'acting maintainer' yes.
> > Do you like to maintain those too ?
> >
> > Sure you need to have joal in place for jogl-demos,
> > since there is at least one demo in place using it.
> >
> > ~Sven
> >
> >>
> >>
> >> Rgds
> >> Pei
> >
>
>
> -----
> Welcome to Vision Open
> http://www.visionopen.com
> _______________________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://forum.jogamp.org/Fail-to-build-jogl-demos-and-jogl-utils-tp2983654p3006256.html
> To start a new topic under jogl, email [hidden email]
> To unsubscribe from jogl, visit
health & wealth
mailto:
[hidden email] ; http://jausoft.com
land : +49 (471) 4707742 ; cell: +49 (151) 28145941
Timezone CET: PST+9, EST+6, UTC+1