[Pharo-project] [squeak-dev] ANN: OpenGL + NativeBoost + Mac ==> success

Mariano Martinez Peck marianopeck at gmail.com
Fri Jan 20 20:04:31 CET 2012


Hi igor. I am the OpenGL biggest newbie you can find the world. I have just
reproduced all your steps but I have an error in NBMacGLContextDriver >>
createContext: initialExtent
the error is "'invalid pixel format'"
Any ideas?
I attach PharoDebug.log

Cheers


On Fri, Jan 20, 2012 at 7:52 PM, Igor Stasenko <siguctua at gmail.com> wrote:

> Today i'm happy to announce that i can run my 2 years-old demo which i
> did when created NBOpenGL bindings first on Windows,
> working without ANY changes in code on Mac.
>
> The main hurdle with adding MacOsx support was that it is largely
> unknown platform to me , and there are 3 different ways to get there,
> namely CGL, Carbon and Cocoa.
> Fortunately CGL approach worked well, despite its a bit limited (you
> cannot create a windowed context, only fullscreen or offscreen one).
> But since i am using FBO's , it doesn't really matters.
> Of course it may make difference for people who want to use GL in
> different setup.
>
> In order to load project, take a fresh Pharo 1.4 image, load
>
> ConfigurationOfNBOpenGL package using MC from
>
> MCHttpRepository
>    location: 'http://www.squeaksource.com/NBOpenGL'
>    user: 'sig'
>    password: ''
>
>
> or by
>
> Gofer it
>  squeaksource: 'NBOpenGL';
>  package: 'ConfigurationOfNBOpenGL';
>  load
>
> and then issue:
>
> ConfigurationOfNBOpenGL project lastVersion load.
>
> Remember, that you have to use CogVM with NativeBoost plugin, which
> you can download from here:
>
>
> https://ci.lille.inria.fr/pharo/view/NativeBoost/job/NB-Cog-Mac-Carbon/lastSuccessfulBuild/artifact/
>
>
> If everything goes well, you should be able to run a demo by doing:
>
> GLTTRenderingDemo new openInWorld.
>
> P.S. @ Windows users: due to refactorings which i did, a
> windows-specific support code is currently broken. So please use older
> versions of packages (prior to this month).
> I will fix them very soon.
>
>
> --
> Best regards,
> Igor Stasenko.
>
>


-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/pharo-project/attachments/20120120/ef0ca38c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PharoDebug.log
Type: application/octet-stream
Size: 359019 bytes
Desc: not available
URL: <http://lists.gforge.inria.fr/pipermail/pharo-project/attachments/20120120/ef0ca38c/attachment.obj>


More information about the Pharo-project mailing list