More OpenGL extension problems

View: New views
5 Messages — Rating Filter:   Alert me  

More OpenGL extension problems

by PhilF :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi folks,
a while back I posted with an OpenGL extensions problem, and at the
time, Vladimir solved my daft errors ;) and all was good.
Since then, I've reinstalled Tao and I cannot for the life of me get
working GL extensions again !

The function pointers (e.g. IntPtr
ext__GL_ARB_shader_objects__glDeleteObjectARB) appear to be getting
initialised to sensible values, so it's getting through the OpenGL
initialisation side of things nicely, but then when calling the function
(e.g. glDeleteObjectARB), a NotImplementedException is being thrown.
Looking in ContextGl.cs I find this:

[OpenGLExtensionImport("GL_ARB_shader_objects", "glDeleteObjectARB"),
    SuppressUnmanagedCodeSecurity, CLSCompliantAttribute(true)]
public  void glDeleteObjectARB (int obj) {
    throw new NotImplementedException();
}

Is this correct?  It looks to me as though void glDeleteObjectARB (etc.)
are not being changed from that default unimplemented state.

Most confused, as I had it all working with the previous tao dlls on
this machine :o(

Tao 1.2.0, OpenGL being reported as 2.0.1, all extensions are being
loaded with LoadAllExtensions(), nVidia 5700 gfx card, WinXP, .NET
2.0/vs2005.

cheers,
Phil
_______________________________________________
Tao-list mailing list
Tao-list@...
http://galactus.ximian.com/mailman/listinfo/tao-list

Re: More OpenGL extension problems

by PhilF :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Argh!
Now I've reinstalled Tao again, and instead of getting
NotImplementedExceptions, I'm getting AccessViolationException on ARB calls!

I have been reading back through the archive, and have come across
several partial solutions:

Tao.PostProcess.exe:  apparently needed to process the tao.opengl.dll in
order to remove these   throw new NotImplementedException  lines, yet
when I run this utility it produces gibberish dlls..

Building Tao from source:  build.bat and buildstrong.bat are not happy.
  There are countless errors, notably one in the post processing on
opengl.  Is there a dummies guide to building Tao on windows because it
does not seem straightforward.

And just to compound matters, the svn server is rather dead today :(

any help much appreciated,
Phil

phil@... wrote:

> Hi folks,
> a while back I posted with an OpenGL extensions problem, and at the
> time, Vladimir solved my daft errors ;) and all was good.
> Since then, I've reinstalled Tao and I cannot for the life of me get
> working GL extensions again !
>
> The function pointers (e.g. IntPtr
> ext__GL_ARB_shader_objects__glDeleteObjectARB) appear to be getting
> initialised to sensible values, so it's getting through the OpenGL
> initialisation side of things nicely, but then when calling the function
> (e.g. glDeleteObjectARB), a NotImplementedException is being thrown.
> Looking in ContextGl.cs I find this:
>
> [OpenGLExtensionImport("GL_ARB_shader_objects", "glDeleteObjectARB"),
>    SuppressUnmanagedCodeSecurity, CLSCompliantAttribute(true)]
> public  void glDeleteObjectARB (int obj) {
>    throw new NotImplementedException();
> }
>
> Is this correct?  It looks to me as though void glDeleteObjectARB (etc.)
> are not being changed from that default unimplemented state.
>
> Most confused, as I had it all working with the previous tao dlls on
> this machine :o(
>
> Tao 1.2.0, OpenGL being reported as 2.0.1, all extensions are being
> loaded with LoadAllExtensions(), nVidia 5700 gfx card, WinXP, .NET
> 2.0/vs2005.
>
> cheers,
> Phil
> _______________________________________________
> Tao-list mailing list
> Tao-list@...
> http://galactus.ximian.com/mailman/listinfo/tao-list
>
>


--
-------------------------------------------------------
Phil Flack - Research Assistant                  E0.109
School of Computing Sciences,     t: +44 (0)1603 591014
University of East Anglia,        f: +44 (0)1603 593345
Norwich, Norfolk, NR4 7TJ         e: phil@...
-------------------------------------------------------
_______________________________________________
Tao-list mailing list
Tao-list@...
http://galactus.ximian.com/mailman/listinfo/tao-list

Re: More OpenGL extension problems

by Cygon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

phil@... wrote:

> Argh!
> Now I've reinstalled Tao again, and instead of getting
> NotImplementedExceptions, I'm getting AccessViolationException on ARB
> calls!
>
> I have been reading back through the archive, and have come across
> several partial solutions:
>
> Tao.PostProcess.exe:  apparently needed to process the tao.opengl.dll
> in order to remove these   throw new NotImplementedException  lines,
> yet when I run this utility it produces gibberish dlls..
>
> Building Tao from source:  build.bat and buildstrong.bat are not
> happy.  There are countless errors, notably one in the post processing
> on opengl.  Is there a dummies guide to building Tao on windows
> because it does not seem straightforward.
>
> And just to compound matters, the svn server is rather dead today :(
>
> any help much appreciated,
Tao.PostProcess.exe is intended to change the calling convention of some
functions marked with a special attribute, it will not modify the code
at all. However, the build.bat didn't work for me, too. With the batch
file I had a crash and when doing it by hand, the resulting MSIL file
could not be reassembled because of syntax errors.

If you happen to be using .NET 2.0 you could try to use my inofficial
.NET 2.0 Tao binaries from
    ->
https://devel.nuclex.org/external/svn/tao/tags/1.2.0-2-patch1/net-2.0/
These are compiled from this week's SVN sources and are using new .NET
2.0 features so no post processing step with Tao.PostProcess.exe had to
be done. Maybe they behave better, maybe they don't ;-)

> Phil
>
Ciao,
-Markus-

_______________________________________________
Tao-list mailing list
Tao-list@...
http://galactus.ximian.com/mailman/listinfo/tao-list

Re: More OpenGL extension problems

by Stephen Hassard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Phil,

You might want to check out the SDL.NET builds over at:
http://cs-sdl.sourceforge.net/

They've included Tao binaries built from recent versions of CVS that
might help do the trick.

later,
Steve

phil@... wrote:

> Argh!
> Now I've reinstalled Tao again, and instead of getting
> NotImplementedExceptions, I'm getting AccessViolationException on ARB
> calls!
>
> I have been reading back through the archive, and have come across
> several partial solutions:
>
> Tao.PostProcess.exe:  apparently needed to process the tao.opengl.dll in
> order to remove these   throw new NotImplementedException  lines, yet
> when I run this utility it produces gibberish dlls..
>
> Building Tao from source:  build.bat and buildstrong.bat are not happy.
>  There are countless errors, notably one in the post processing on
> opengl.  Is there a dummies guide to building Tao on windows because it
> does not seem straightforward.
>
> And just to compound matters, the svn server is rather dead today :(
>
> any help much appreciated,
> Phil
>
> phil@... wrote:
>> Hi folks,
>> a while back I posted with an OpenGL extensions problem, and at the
>> time, Vladimir solved my daft errors ;) and all was good.
>> Since then, I've reinstalled Tao and I cannot for the life of me get
>> working GL extensions again !
>>
>> The function pointers (e.g. IntPtr
>> ext__GL_ARB_shader_objects__glDeleteObjectARB) appear to be getting
>> initialised to sensible values, so it's getting through the OpenGL
>> initialisation side of things nicely, but then when calling the
>> function (e.g. glDeleteObjectARB), a NotImplementedException is being
>> thrown. Looking in ContextGl.cs I find this:
>>
>> [OpenGLExtensionImport("GL_ARB_shader_objects", "glDeleteObjectARB"),
>>    SuppressUnmanagedCodeSecurity, CLSCompliantAttribute(true)]
>> public  void glDeleteObjectARB (int obj) {
>>    throw new NotImplementedException();
>> }
>>
>> Is this correct?  It looks to me as though void glDeleteObjectARB
>> (etc.) are not being changed from that default unimplemented state.
>>
>> Most confused, as I had it all working with the previous tao dlls on
>> this machine :o(
>>
>> Tao 1.2.0, OpenGL being reported as 2.0.1, all extensions are being
>> loaded with LoadAllExtensions(), nVidia 5700 gfx card, WinXP, .NET
>> 2.0/vs2005.
>>
>> cheers,
>> Phil
>> _______________________________________________
>> Tao-list mailing list
>> Tao-list@...
>> http://galactus.ximian.com/mailman/listinfo/tao-list
>>
>>
>
>
_______________________________________________
Tao-list mailing list
Tao-list@...
http://galactus.ximian.com/mailman/listinfo/tao-list

Re: More OpenGL extension problems

by PhilF :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Stephen Hassard wrote:

> Phil,
>
> You might want to check out the SDL.NET builds over at:
> http://cs-sdl.sourceforge.net/
>
> They've included Tao binaries built from recent versions of CVS that
> might help do the trick.
>
> later,
> Steve

Thanks Steve & Markus- I'll be trying both alternatives :)

Phil
_______________________________________________
Tao-list mailing list
Tao-list@...
http://galactus.ximian.com/mailman/listinfo/tao-list