Re: [Pharo-dev] [ANN] Curved Space Explorer for Squeak

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

Re: [Pharo-dev] [ANN] Curved Space Explorer for Squeak

Frank Shearar-3
On 28 July 2013 00:32, Nikolay Suslov <[hidden email]> wrote:

> Hello,
>
> Let me introduce the Curved Space Explorer for Squeak project
> (https://vimeo.com/71173349),  known as CCSE by Krestianstvo SDK.
> It is a Smalltalk port version of Curved Spaces, originally developed by
> Jeff Weeks (geometrygames.org) in C language.
> This Squeak version is derived from Krestianstvo SDK project's version,
> where Curved Space Explorer is collaborative in it's nature and available
> mainly for distributed computation.
> The aim of this project is to make Curved Space Explorer in Smalltalk being
> available for the large Smalltalk audience and mainstream Squeak
> distribution, so that anybody interested could work with it.
> The source code is available here: http://sdk.krestianstvo.org/sdk/ccse.html
> Preinstalled Squeak image is here:
> http://krestianstvo.org/sdk/Squeak4.4-12327-ccse.zip
> For manual install use following instructions:
> (is tested and working with Squeak 4.4 and Squeak 4.5 alpha)
>
> "1. Load FFI"
>
> (Installer repository: 'http://source.squeak.org/FFI')
>  install: 'FFI-Pools';
>  install: 'FFI-Kernel';
> install: 'FFI-Tests'.
>
> "2. Load 3DTransform "
>
> (Installer repository: 'http://www.squeaksource.com/CroquetGL')
>     install: '3DTransform'.
>
> "3. Load OpentGL and CCSE"
>
> (Installer repository: 'http://sdk.krestianstvo.org/sdk/ccse')
>     install: 'OpenGL-Pools';
>     install: 'OpenGL-Core';
>     install: 'OpenGL-NameManager';
>     install: 'CCSpaceExplorer'.
>
> "4. Run sample application"
>
> CCSEMorphRender runApp

Cool! Thanks!

I just tried it on my work machine (Ubuntu 13) and ran into an odd
problem. I'm getting told "MessageNotUnderstood: BlockContext>>". Note
that it is indeed complaining that BlockContext doesn't understand #''
!

The error appears immediately after this runs:

OGLUnixX11LE >> openGLLibraryName
    ^Smalltalk osVersion = 'linux'
        ifTrue: ['libGL.so.1']
        ifFalse: ['GL']

Now on my machine Smalltalk osVersion = 'linux-gnu', but I get the
weird error even when I change the conditional to `Smalltalk osVersion
beginsWith: 'linux'`. I find it utterly bizarre that something should
try to send #'' to anything after this call. Clearly something's gone
wrong, and it's almost certainly not the CCSE. Any ideas?

frank

Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-dev] [ANN] Curved Space Explorer for Squeak

Nikolay Suslov
Hello Frank,

Thinking that it is a problem with finding OpenGL library in Linux, you could try the solution discussed here: http://lists.squeakfoundation.org/pipermail/beginners/2012-June/008325.html
(Cog wasn't finding the OpenGL library so I had to:
ln -s /usr/lib/libGL.so.1 <plugin-dir>/libGL.so.1)

And test if OpenGL is working right, by executing:
OpenGL example

Hope that helps.

Regards,
Nikolay



On Fri, Aug 2, 2013 at 11:22 AM, Frank Shearar <[hidden email]> wrote:
On 28 July 2013 00:32, Nikolay Suslov <[hidden email]> wrote:
> Hello,
>
> Let me introduce the Curved Space Explorer for Squeak project
> (https://vimeo.com/71173349),  known as CCSE by Krestianstvo SDK.
> It is a Smalltalk port version of Curved Spaces, originally developed by
> Jeff Weeks (geometrygames.org) in C language.
> This Squeak version is derived from Krestianstvo SDK project's version,
> where Curved Space Explorer is collaborative in it's nature and available
> mainly for distributed computation.
> The aim of this project is to make Curved Space Explorer in Smalltalk being
> available for the large Smalltalk audience and mainstream Squeak
> distribution, so that anybody interested could work with it.
> The source code is available here: http://sdk.krestianstvo.org/sdk/ccse.html
> Preinstalled Squeak image is here:
> http://krestianstvo.org/sdk/Squeak4.4-12327-ccse.zip
> For manual install use following instructions:
> (is tested and working with Squeak 4.4 and Squeak 4.5 alpha)
>
> "1. Load FFI"
>
> (Installer repository: 'http://source.squeak.org/FFI')
>  install: 'FFI-Pools';
>  install: 'FFI-Kernel';
> install: 'FFI-Tests'.
>
> "2. Load 3DTransform "
>
> (Installer repository: 'http://www.squeaksource.com/CroquetGL')
>     install: '3DTransform'.
>
> "3. Load OpentGL and CCSE"
>
> (Installer repository: 'http://sdk.krestianstvo.org/sdk/ccse')
>     install: 'OpenGL-Pools';
>     install: 'OpenGL-Core';
>     install: 'OpenGL-NameManager';
>     install: 'CCSpaceExplorer'.
>
> "4. Run sample application"
>
> CCSEMorphRender runApp

Cool! Thanks!

I just tried it on my work machine (Ubuntu 13) and ran into an odd
problem. I'm getting told "MessageNotUnderstood: BlockContext>>". Note
that it is indeed complaining that BlockContext doesn't understand #''
!

The error appears immediately after this runs:

OGLUnixX11LE >> openGLLibraryName
    ^Smalltalk osVersion = 'linux'
        ifTrue: ['libGL.so.1']
        ifFalse: ['GL']

Now on my machine Smalltalk osVersion = 'linux-gnu', but I get the
weird error even when I change the conditional to `Smalltalk osVersion
beginsWith: 'linux'`. I find it utterly bizarre that something should
try to send #'' to anything after this call. Clearly something's gone
wrong, and it's almost certainly not the CCSE. Any ideas?

frank




Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-dev] [ANN] Curved Space Explorer for Squeak

Chris Muller-3
In reply to this post by Frank Shearar-3
Frank, IIRC there's a null-character stuck in the source code of that
method.  I brought this to Nikolay's attention last March but it may
not have gotten fixed.  If you delete that character,at least you'll
at least be able to step through that method...

On Fri, Aug 2, 2013 at 2:22 AM, Frank Shearar <[hidden email]> wrote:

> On 28 July 2013 00:32, Nikolay Suslov <[hidden email]> wrote:
>> Hello,
>>
>> Let me introduce the Curved Space Explorer for Squeak project
>> (https://vimeo.com/71173349),  known as CCSE by Krestianstvo SDK.
>> It is a Smalltalk port version of Curved Spaces, originally developed by
>> Jeff Weeks (geometrygames.org) in C language.
>> This Squeak version is derived from Krestianstvo SDK project's version,
>> where Curved Space Explorer is collaborative in it's nature and available
>> mainly for distributed computation.
>> The aim of this project is to make Curved Space Explorer in Smalltalk being
>> available for the large Smalltalk audience and mainstream Squeak
>> distribution, so that anybody interested could work with it.
>> The source code is available here: http://sdk.krestianstvo.org/sdk/ccse.html
>> Preinstalled Squeak image is here:
>> http://krestianstvo.org/sdk/Squeak4.4-12327-ccse.zip
>> For manual install use following instructions:
>> (is tested and working with Squeak 4.4 and Squeak 4.5 alpha)
>>
>> "1. Load FFI"
>>
>> (Installer repository: 'http://source.squeak.org/FFI')
>>  install: 'FFI-Pools';
>>  install: 'FFI-Kernel';
>> install: 'FFI-Tests'.
>>
>> "2. Load 3DTransform "
>>
>> (Installer repository: 'http://www.squeaksource.com/CroquetGL')
>>     install: '3DTransform'.
>>
>> "3. Load OpentGL and CCSE"
>>
>> (Installer repository: 'http://sdk.krestianstvo.org/sdk/ccse')
>>     install: 'OpenGL-Pools';
>>     install: 'OpenGL-Core';
>>     install: 'OpenGL-NameManager';
>>     install: 'CCSpaceExplorer'.
>>
>> "4. Run sample application"
>>
>> CCSEMorphRender runApp
>
> Cool! Thanks!
>
> I just tried it on my work machine (Ubuntu 13) and ran into an odd
> problem. I'm getting told "MessageNotUnderstood: BlockContext>>". Note
> that it is indeed complaining that BlockContext doesn't understand #''
> !
>
> The error appears immediately after this runs:
>
> OGLUnixX11LE >> openGLLibraryName
>     ^Smalltalk osVersion = 'linux'
>         ifTrue: ['libGL.so.1']
>         ifFalse: ['GL']
>
> Now on my machine Smalltalk osVersion = 'linux-gnu', but I get the
> weird error even when I change the conditional to `Smalltalk osVersion
> beginsWith: 'linux'`. I find it utterly bizarre that something should
> try to send #'' to anything after this call. Clearly something's gone
> wrong, and it's almost certainly not the CCSE. Any ideas?
>
> frank
>

Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-dev] [ANN] Curved Space Explorer for Squeak

CdAB63
In reply to this post by Frank Shearar-3
On 02-08-2013 04:22, Frank Shearar wrote:
> CCSEMorphRender runApp
Delete last characters after [ 'GL' ]. It will run OK.
It seems these are stray characters and they are present also in the
CroquetGL version of OpenGL.