Login  Register

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

Posted by Igor Stasenko on May 24, 2010; 5:51pm
URL: https://forum.world.st/Need-someone-to-test-if-NBOpenGL-works-for-you-on-win32-tp2228604p2228927.html

On 24 May 2010 19:21, Hernán Morales Durand <[hidden email]> wrote:

> Hi Igor,
>
> I'm testing your work in Win32. Following instructions in this page
> http://code.google.com/p/nativeboost/wiki/Installation when evaluating
>
> NBInstaller install
>
> in PharoCore1.1ALPHA #11368 I receive: "You need to enable an
> underscore selectors in preferences first". I see no preference listed
> in the preferences browsers and didn't found the
> #allowUnderscoreSelectors for enabling this setting. Any idea?
>

Strange. Here the piece of code, which tests that underscores supported:

        [ Compiler evaluate: '| t_a | ' ] on: Error do: [:ex |
          self inform: 'You need to enable an underscore selectors in
preferences first' .
        ^ self ].

It works fine in pharocore-11367, and actually this message was mainly
for squeak/trunk
where you can control the underscore by preference.
In Pharo it should work out of the box.


> Cheers,
>
> Hernán
>
> 2010/5/24 Igor Stasenko <[hidden email]>:
>> Hi,
>>
>> i just snapshotted my stuff with various fixes, to make it load
>> cleanly on pharo and squeak images.
>>
>> I'd like you to ask to test and load it and tell me if it works for you.
>>
>> Currently it works only on win32 platform. It could work on Linux, but
>> i didn't had time to port it yet.
>>
>> There is no automatic installation procedure right now, so here what
>> you should try:
>>
>> - 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)
>>
>>
>> - then load the OpenGL stuff from http://www.squeaksource.com/NBOpenGL
>> in following order:
>>
>> - NBOpenGL-Core
>> - NBOpenGL-Win
>> - NBOpenGL-TrueType
>> - NBOpenGL-Display
>> - NBOpenGL-Morphic
>>
>> 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.
>>
>> Now, if everything went right, then we're ready to run a demo:
>>
>> GLViewportMorph new "useOwnForm: true;" openInWorld
>>
>> This thing should render a TrueType glyphs and animating a smooth zoom of it.
>> Nothing fancy, i just wanna know, if it works for you (and how well).  :)
>>
>> As you may know, GPU/OpenGL implementations vary depending on vendor
>> and how old your hardware is,
>> and i don't have all of it at my disposal.
>>
>> Ok.. if you got it running, and it renders the glyphs.. there's one thing left:
>>  - save your image and quit (without closing this morph)
>>  - start image
>>
>> it should continue working as if nothing happens.
>>
>> --
>> Best regards,
>> Igor Stasenko AKA sig.
>>
>>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



--
Best regards,
Igor Stasenko AKA sig.

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project