[squeak-dev] Re: Need someone to test if NBOpenGL works for you on win32

Igor Stasenko siguctua at gmail.com
Tue May 25 01:17:32 UTC 2010


On 25 May 2010 03:47, Andreas Raab <andreas.raab at gmx.de> wrote:
> On 5/24/2010 7:03 AM, Igor Stasenko wrote:
>>
>> - first, you need to have VM with NativeBoost plugin + NativeBoost
>> loaded into an image
>> (see http://code.google.com/p/nativeboost/wiki/Installation for
>> instructions)
>
> The page doesn't have any information on how to download the binary plugin.
> Do I really need to rebuild it from sources?
>

You can just take a prebuilt VM from
http://code.google.com/p/nativeboost/downloads/list

>> - then load the OpenGL stuff from http://www.squeaksource.com/NBOpenGL
>> in following order:
>>
>> - NBOpenGL-Core
>> - NBOpenGL-Win
>
> This fails with the following error:
>
> --------------------------------------------------------------
>
> This package depends on the following classes:
>  NBWinTypes
>  NBWinConstants
> You must resolve these dependencies before you will be able to load these
> definitions:
>  GLPixelFormatDescriptor
>  ....
> --------------------------------------------------------------
>
>> i tried the above on Pharo-1.1-11367-Betadev10.05.1.image , which were
>> released recently, and it seems works ok.
>> on squeak/trunk it should also work without problems.
>
> I've used 4.1 but I don't think this should matter for the above, no?
>
Yes, i  developped it in 4.1 . So, it should work at least there :)

>> Now, if everything went right, then we're ready to run a demo:
>>
>> GLViewportMorph new "useOwnForm: true;" openInWorld
>
> And ultimately this fails too due to GLPixelFormatDescriptor not loaded.
>
> Any ideas what's wrong with NBWinTypes and NBWinConstants?
>

You need to install a NativeBoost first.
NBOpenGL is separate thing which using a NativeBoost.

> Cheers,
>  - Andreas
>
>



-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list