comp.lang.ada
 help / color / mirror / Atom feed
From: Felix Krause <usenet@flyx.org>
Subject: Re: ANN: OpenGLAda 0.3 and OpenCLAda 0.1 released
Date: Fri, 29 Nov 2013 19:51:35 +0100
Date: 2013-11-29T19:51:35+01:00	[thread overview]
Message-ID: <5298e236$0$1701$2c885b36@post.eweka.nl> (raw)
In-Reply-To: f3ff7b33-ea46-4da3-ace6-861a5aaa7e84@googlegroups.com

On 2013-11-27 10:40:19 +0000, Marius Amado-Alves said:

> All tests build but some e.g. gl_test-opengl3 abort with messages like
> """
> C:\Users\ADMIN\OpenGLAda-0.3\bin\gl_test-opengl3
> Error occured (VERSION_UNAVAILABLE): WGL: OpenGL profile requested but 
> WGL_ARB_create_context_profile is unavailable
> 
> raised PROGRAM_ERROR : EXCEPTION_ACCESS_VIOLATION
> [2013-11-27 10:31:31] process exited with status 1 (elapsed time: 00.21s)

That's partly expected and partly a bug.

Expected because it is what happens when you request an OpenGL profile
version which is not supported by the driver (the OpenGL 3 test requires
an OpenGL 3.2 core profile). A bug because this should raise an exception
declared in GLFW rather than leading to a PROGRAM_ERROR (I'll try to fix
that).

The tests that use OpenGL 3 functionality request an OpenGL 3.2 core
profile because that's the only way to access this functionality on OSX.
Your OpenGL implementation does not seem to support OpenGL 3.2, so
you're getting this error - it may support 3.0 or 3.1 which would suffice
to run the tests.

OpenGL profiles are a bit of a mess, you can read more about it here:
http://www.opengl.org/wiki/Core_And_Compatibility_in_Contexts

You can try to strip away OSX compatibility by changing the version
given to

    GL_Test.Display_Backend.Configure_Minimum_OpenGL_Version

in the tests (try 3.0 or 3.1). You might even have success with a
2.1 context as long as the 3.0 functionality is available as extensions.

-- 
Felix Krause
http://flyx.org/

  reply	other threads:[~2013-11-29 18:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-14 21:37 ANN: OpenGLAda 0.3 and OpenCLAda 0.1 released Felix Krause
2013-11-20 16:49 ` Marius Amado-Alves
2013-11-20 20:13   ` Felix Krause
2013-11-21  0:53   ` Shark8
2013-11-22 14:06 ` Marius Amado-Alves
2013-11-22 16:59   ` Felix Krause
2013-11-25 15:28     ` Marius Amado-Alves
2013-11-27 10:40       ` Marius Amado-Alves
2013-11-29 18:51         ` Felix Krause [this message]
2013-12-02 13:56           ` Marius Amado-Alves
2013-12-26 18:03             ` Marius Amado-Alves
2013-12-31 12:45               ` Felix Krause
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox