From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.mixmin.net!hq-usenetpeers.eweka.nl!eweka.nl!post.eweka.nl!post.eweka.nl!not-for-mail From: Felix Krause Newsgroups: comp.lang.ada Date: Fri, 29 Nov 2013 19:51:35 +0100 Message-ID: <5298e236$0$1701$2c885b36@post.eweka.nl> References: <5285429d$0$29424$2c885b36@post.eweka.nl> <5054a4a4-fdef-4f56-b8e7-4ba7fc541bae@googlegroups.com> <528f8d62$0$6060$2c885b36@post.eweka.nl> <3858716e-f2e3-44c3-9769-6643b7f35f37@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: ANN: OpenGLAda 0.3 and OpenCLAda 0.1 released User-Agent: Unison/2.1.10 Organization: Eweka Internet Services NNTP-Posting-Host: Eweka Internet Services X-Complaints-To: abuse@n-o-s-p-a-m.eweka.nl Xref: news.eternal-september.org comp.lang.ada:17822 Date: 2013-11-29T19:51:35+01:00 List-Id: 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/