Trying to load ALienOpenGL into 4.1 alpha...

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

Re: [ANN] Croquet OpenGL on Squeaksource (Re: Trying to load ALienOpenGL into 4.1 alpha...)

Andreas.Raab
On 5/27/2010 7:54 PM, Lawson English wrote:
> Darn,  tried that with the latest update of Seaside 3.0a.  I had to use
> Monticello directly, rather than Installer. 'OpenGL example." returned
> the error MessageNotUnderstood: SystemDictionary>>platform

What image are you using? There are no senders of #platform in OpenGL
anywhere. There is #platformName (as in "Smalltalk platformName") but in
4.1 and later this works.

Cheers,
   - Andreas

> On 3/22/10 11:04 PM, Andreas Raab wrote:
>> On 3/22/2010 7:27 PM, Lawson English wrote:
>>> Croquet OpenGL is dependent on all sorts of things. Have you managed to
>>> get Croquet working in a modernish version of Squeak/Pharo?
>>
>> (you will need an updated 4.1 trunk image - I've promoted
>> Form>>flipVertically to core in the process of making this package)
>>
>> From http://www.squeaksource.com/CroquetGL
>>
>> The OpenGL interface from Croquet for consumption in other contexts.
>> Supports OpenGL 1.4 plus extensions.
>>
>> To install, first load the FFI via:
>>
>> (Installer repository: 'http://source.squeak.org/FFI')
>> install: 'FFI-Pools';
>> install: 'FFI-Kernel';
>> install: 'FFI-Tests'.
>>
>> then load CroquetGL:
>>
>> (Installer repository: 'http://www.squeaksource.com/CroquetGL')
>> install: '3DTransform';
>> install: 'OpenGL-Pools';
>> install: 'OpenGL-Core'.
>>
>> When everything has loaded, try the example:
>>
>> OpenGL example.
>>
>> Important Windows Note:
>>
>> In order to use Croquet on Windows, you must make sure your VM is set
>> to support OpenGL instead of D3D by default. To do this, press F2 or
>> go to the system menu, into the "Display and Sound" section and ensure
>> the preference "Use OpenGL (instead of D3D" is ENABLED.
>>
>> Cheers,
>> - Andreas
>>
>>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Croquet OpenGL on Squeaksource (Re: Trying to load ALienOpenGL into 4.1 alpha...)

LawsonEnglish
On 5/27/10 8:09 PM, Andreas Raab wrote:

> On 5/27/2010 7:54 PM, Lawson English wrote:
>> Darn,  tried that with the latest update of Seaside 3.0a.  I had to use
>> Monticello directly, rather than Installer. 'OpenGL example." returned
>> the error MessageNotUnderstood: SystemDictionary>>platform
>
> What image are you using? There are no senders of #platform in OpenGL
> anywhere. There is #platformName (as in "Smalltalk platformName") but
> in 4.1 and later this works.
>
> Cheers,
>   - Andreas


My bad, the error is indeed SystemDictionary>>platformName

Just tried it again with an updated Seaside 3.0a

PharoCore1.0rc3
Latest update: #10515

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Croquet OpenGL on Squeaksource (Re: Trying to load ALienOpenGL into 4.1 alpha...)

Andreas.Raab
On 5/27/2010 8:18 PM, Lawson English wrote:

> On 5/27/10 8:09 PM, Andreas Raab wrote:
>> On 5/27/2010 7:54 PM, Lawson English wrote:
>>> Darn, tried that with the latest update of Seaside 3.0a. I had to use
>>> Monticello directly, rather than Installer. 'OpenGL example." returned
>>> the error MessageNotUnderstood: SystemDictionary>>platform
>>
>> What image are you using? There are no senders of #platform in OpenGL
>> anywhere. There is #platformName (as in "Smalltalk platformName") but
>> in 4.1 and later this works.
>>
>> Cheers,
>> - Andreas
>
>
> My bad, the error is indeed SystemDictionary>>platformName
>
> Just tried it again with an updated Seaside 3.0a
>
> PharoCore1.0rc3

This is your problem. CroquetGL has not been tested on Pharo. I suspect
Pharo 1.0 has still the dreadful "SmalltalkImage current platformName".

Cheers,
   - Andreas

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Croquet OpenGL on Squeaksource (Re: Trying to load ALienOpenGL into 4.1 alpha...)

LawsonEnglish
On 5/27/10 8:27 PM, Andreas Raab wrote:

> On 5/27/2010 8:18 PM, Lawson English wrote:
>> On 5/27/10 8:09 PM, Andreas Raab wrote:
>>> On 5/27/2010 7:54 PM, Lawson English wrote:
>>>> Darn, tried that with the latest update of Seaside 3.0a. I had to use
>>>> Monticello directly, rather than Installer. 'OpenGL example." returned
>>>> the error MessageNotUnderstood: SystemDictionary>>platform
>>>
>>> What image are you using? There are no senders of #platform in OpenGL
>>> anywhere. There is #platformName (as in "Smalltalk platformName") but
>>> in 4.1 and later this works.
>>>
>>> Cheers,
>>> - Andreas
>>
>>
>> My bad, the error is indeed SystemDictionary>>platformName
>>
>> Just tried it again with an updated Seaside 3.0a
>>
>> PharoCore1.0rc3
>
> This is your problem. CroquetGL has not been tested on Pharo. I
> suspect Pharo 1.0 has still the dreadful "SmalltalkImage current
> platformName".
>

No problems. I'll mention it on the Pharo list though they may suggest
using the OpenGL Alien version instead.


Lawson

123