Cant load NBOpenGL

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Cant load NBOpenGL

Fernando olivero-2
Igor, excelent that you made a Native Boost vm available for MacOSX.
I would like to try out your text rendering demos.

But i have a problem while trying to load the NBOpenGL in the order
specified in squeaksource.


NBOpenGL-Win

This package depends on the following classes:
  NBWinTypes
  NBWinConstants


Fernando

Reply | Threaded
Open this post in threaded view
|

Re: Cant load NBOpenGL

Igor Stasenko
On 24 January 2011 12:26, Fernando Olivero <[hidden email]> wrote:
> Igor, excelent that you made a Native Boost vm available for MacOSX.
> I would like to try out your text rendering demos.
>

Yes, VM is ready for use.. but image side code are not still adopted for MacOS.
Mac OS using a stack alignment (16 bytes), and if you not aligning the
stack when doing external calls, it leads to exception(s) & crash.
In other platforms there is no any restriction about stack alignment,
and obviously that's why i was not care about it in code generator.
Now i need to rewrite a code generation code to take this into
account. This complicates things a little, and will slow down the
callout code on macs , but i hope not really too much.

So, until then , nativeboost for doing external calls on Macs is not
ready for use.


> But i have a problem while trying to load the NBOpenGL in the order
> specified in squeaksource.
>
>
> NBOpenGL-Win
>
> This package depends on the following classes:
>  NBWinTypes
>  NBWinConstants
>

So, this is a platform-specific (Windows) part of NBOpenGL, and no
wonder, it requires a platform-specific NativeBoost package
specifically for windows.
In same way, there will be NBOpenGL-Mac (or most probably
NBOpenGL-Unix) which will implement platform-specific parts needed for
using OpenGL on it.


>
> Fernando
>
>



--
Best regards,
Igor Stasenko AKA sig.