Fwd: [squeak-dev] OpenGL procedural textures generator (by David Faught) for Squeak 4.4

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

Fwd: [squeak-dev] OpenGL procedural textures generator (by David Faught) for Squeak 4.4

Chris Muller-4
Reforwarding a message from last March which I cna't find in the archives..  > 100k??

---------- Forwarded message ----------
From: Chris Muller <[hidden email]>
Date: Wed, Mar 6, 2013 at 4:44 PM
Subject: Re: [squeak-dev] OpenGL procedural textures generator (by David Faught) for Squeak 4.4
To: Nikolay Suslov <[hidden email]>
Cc: The general-purpose Squeak developers list <[hidden email]>


I attached a screenshot of debugger that occurs when I try to install
it.  There are a few interesting things to note:

  1) The difference in the osVersion being checked for ('linux') vs.
what mine is, ('linux-gnu').  This would cause the 'GL' option to be
taken, is that right?

  2) I don't understand why the debugger here -- the Message not being
understood is for class BlockClosure and its selector is a
single-character String of character 0.  I can print the first line of
code but restarting the method did not help, same error, so it appears
to be a stack corruption of some kind..

      ** Oh Wait **
  -- So I just restarted the method and *stepped* through it, it
correctly evaluated "Smalltalk osVersion = 'linux' and then it appears
there is some kind of other hidden block or character in this method,
see TweakCore-debugger2.png.  At the bottom, that little blue square
is the "highlight" and it blows up.
    So I simply removed that, resaved the method and proceed, and then
I got "External Module not Found" and I was able to paste that stack
(see below).

So, trying one more time, I changed that method to eliminate the
hidden character and also to compare to 'linux-gnu' but I still got a
similar error.

So I need to install something on my linux first?  Sorry, I'm kind of
a neophyte with this..  :)

Thanks,
  Chris


On Wed, Mar 6, 2013 at 5:11 AM, Nikolay Suslov <[hidden email]> wrote:
> Chris,
>
> I have checked several times with loading TweakCore from SqueakMap and for
> me it just works without any problems. I used the trunk image from Jenkins
> and the Squeak4.4-12327 image.
> Please, could you say more about errors you have notice, in what
> configuration?
>
> Regards,
> Nikolay
>
>
> On Wed, Mar 6, 2013 at 2:01 AM, Nikolay Suslov <[hidden email]> wrote:
>>
>> Hello Chris,
>>
>>
>> On Wed, Mar 6, 2013 at 1:35 AM, Chris Muller <[hidden email]> wrote:
>>>
>>> I made new Community-Supported catalog entries for both CroquetGL and
>>> TweakCore, with Croquet depending on FFI and TweakCore depending on
>>> CroquetGL.
>>>
>>
>> That's great, thanks.
>>
>>>
>>> But I did get a debugger upon trying to install TweakCore:
>>>
>>>   (shoot I cannot even paste the stack trace because it seems to be
>>> loaded with character value: 0's)...  :(
>>>
>>> These are mega-cool packages, can you check it Nikolay?
>>
>>
>>
>> I'll check.
>>
>> Regards,
>> Nikolay
>>
>>
>>>
>>>
>>> On Tue, Mar 5, 2013 at 3:49 AM, H. Hirzel <[hidden email]>
>>> wrote:
>>> > Thank you Nikolay for making an updated installation script available
>>> > for Squeak 4.4. Would it be possible to have a SqueakMap entry for it?
>>> >  Chris M?
>>> >
>>> > Regards
>>> > Hannes
>>> >
>>> > On 3/5/13, Casey Ransberger <[hidden email]> wrote:
>>> >> Nice!
>>> >>
>>> >> On Mon, Mar 4, 2013 at 7:38 PM, Ken G. Brown <[hidden email]> wrote:
>>> >>
>>> >>> Yay! Good work!
>>> >>> It would be great to have Tweak listed in SqueakMap.
>>> >>>
>>> >>> Ken G. Brown
>>> >>>
>>> >>> On 2013-03-02, at 3:01 AM, Nikolay Suslov wrote:
>>> >>>
>>> >>> Hello,
>>> >>>
>>> >>> I have successfully proceeded in running TweakCore on the recent
>>> >>> Squeak
>>> >>> 4.4 trunk image (from Jenkins).
>>> >>> And one of the famous existed applications developed in Tweak is the
>>> >>> OpenGL procedural textures generator by David Faught.
>>> >>> I make it also loadable to the current Squeak.
>>> >>>
>>> >>> You could download the ready to run image from here:
>>> >>> http://krestianstvo.org/TweakCoreOpenGL-squeak44.zip
>>> >>> or
>>> >>> execute in the workspace in own image:
>>> >>>
>>> >>> "1. Load FFI"
>>> >>> (Installer repository: 'http://source.squeak.org/FFI'
>>> >>> )
>>> >>>     install: 'FFI-Pools';
>>> >>>     install: 'FFI-Kernel';
>>> >>>     install: 'FFI-Tests'..
>>> >>>
>>> >>> "2. Load CroquetGL "
>>> >>> (Installer repository: 'http://www.squeaksource.com/CroquetGL')
>>> >>>     install: '3DTransform';
>>> >>>     install: 'OpenGL-Pools';
>>> >>>     install: 'OpenGL-Core'.
>>> >>>
>>> >>> "3. Load TweakCore and Procedural textures application for Tweak"
>>> >>> (Installer repository: 'http://sdk.krestianstvo.org/sdk/inbox')
>>> >>>     install: 'tweakcore';
>>> >>>     install: 'Tweak-OpenGL-sn.3'.
>>> >>>
>>> >>> "4. Set the default settings in Tweak"
>>> >>> CDefaultWidgetLibrary setDefaultSettings.
>>> >>>
>>> >>> "5. Run one of two examples"
>>> >>> CProjectMorph open: Wrinkle1.
>>> >>> "or"
>>> >>> CProjectMorph open: Wrinkle2.
>>> >>>
>>> >>> The attached screenshot shows the running application.
>>> >>>
>>> >>> Regards,
>>> >>> Nikolay
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>
>>> >>
>>> >> --
>>> >> Casey Ransberger
>>> >>
>>> >
>>>
>>
>




TweakCore-debugger.png (54K) Download Attachment
TweakCore-debugger2.png (22K) Download Attachment
SqueakDebug.log.gz (3K) Download Attachment
SqueakDebug2.log.gz (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: OpenGL procedural textures generator (by David Faught) for Squeak 4.4

Nikolay Suslov
Chris,

Thanks for catching up the error with hidden character for LInux (on Windows and Mac I have never got it really).
Also, it will be good if we upload that new version to the CroquetGL source. As the official repository (http://www.squeaksource.com/CroquetGL) is only for read, could we use the new one at http://ss3.gemstone.com/ss/CroquetGL.html?

Then the problem in Linux with OpenGL should be solved by properly linking the OpenGL library manually, if using the new CogVM.

Regards,
Nikolay


On Sun, Aug 4, 2013 at 8:13 PM, Chris Muller <[hidden email]> wrote:
Reforwarding a message from last March which I cna't find in the archives..  > 100k??

---------- Forwarded message ----------
From: Chris Muller <[hidden email]>
Date: Wed, Mar 6, 2013 at 4:44 PM
Subject: Re: [squeak-dev] OpenGL procedural textures generator (by David Faught) for Squeak 4.4
To: Nikolay Suslov <[hidden email]>
Cc: The general-purpose Squeak developers list <[hidden email]>


I attached a screenshot of debugger that occurs when I try to install
it.  There are a few interesting things to note:

  1) The difference in the osVersion being checked for ('linux') vs.
what mine is, ('linux-gnu').  This would cause the 'GL' option to be
taken, is that right?

  2) I don't understand why the debugger here -- the Message not being
understood is for class BlockClosure and its selector is a
single-character String of character 0.  I can print the first line of
code but restarting the method did not help, same error, so it appears
to be a stack corruption of some kind..

      ** Oh Wait **
  -- So I just restarted the method and *stepped* through it, it
correctly evaluated "Smalltalk osVersion = 'linux' and then it appears
there is some kind of other hidden block or character in this method,
see TweakCore-debugger2.png.  At the bottom, that little blue square
is the "highlight" and it blows up.
    So I simply removed that, resaved the method and proceed, and then
I got "External Module not Found" and I was able to paste that stack
(see below).

So, trying one more time, I changed that method to eliminate the
hidden character and also to compare to 'linux-gnu' but I still got a
similar error.

So I need to install something on my linux first?  Sorry, I'm kind of
a neophyte with this..  :)

Thanks,
  Chris


On Wed, Mar 6, 2013 at 5:11 AM, Nikolay Suslov <[hidden email]> wrote:
> Chris,
>
> I have checked several times with loading TweakCore from SqueakMap and for
> me it just works without any problems. I used the trunk image from Jenkins
> and the Squeak4.4-12327 image.
> Please, could you say more about errors you have notice, in what
> configuration?
>
> Regards,
> Nikolay
>
>
> On Wed, Mar 6, 2013 at 2:01 AM, Nikolay Suslov <[hidden email]> wrote:
>>
>> Hello Chris,
>>
>>
>> On Wed, Mar 6, 2013 at 1:35 AM, Chris Muller <[hidden email]> wrote:
>>>
>>> I made new Community-Supported catalog entries for both CroquetGL and
>>> TweakCore, with Croquet depending on FFI and TweakCore depending on
>>> CroquetGL.
>>>
>>
>> That's great, thanks.
>>
>>>
>>> But I did get a debugger upon trying to install TweakCore:
>>>
>>>   (shoot I cannot even paste the stack trace because it seems to be
>>> loaded with character value: 0's)...  :(
>>>
>>> These are mega-cool packages, can you check it Nikolay?
>>
>>
>>
>> I'll check.
>>
>> Regards,
>> Nikolay
>>
>>
>>>
>>>
>>> On Tue, Mar 5, 2013 at 3:49 AM, H. Hirzel <[hidden email]>
>>> wrote:
>>> > Thank you Nikolay for making an updated installation script available
>>> > for Squeak 4.4. Would it be possible to have a SqueakMap entry for it?
>>> >  Chris M?
>>> >
>>> > Regards
>>> > Hannes
>>> >
>>> > On 3/5/13, Casey Ransberger <[hidden email]> wrote:
>>> >> Nice!
>>> >>
>>> >> On Mon, Mar 4, 2013 at 7:38 PM, Ken G. Brown <[hidden email]> wrote:
>>> >>
>>> >>> Yay! Good work!
>>> >>> It would be great to have Tweak listed in SqueakMap.
>>> >>>
>>> >>> Ken G. Brown
>>> >>>
>>> >>> On 2013-03-02, at 3:01 AM, Nikolay Suslov wrote:
>>> >>>
>>> >>> Hello,
>>> >>>
>>> >>> I have successfully proceeded in running TweakCore on the recent
>>> >>> Squeak
>>> >>> 4.4 trunk image (from Jenkins).
>>> >>> And one of the famous existed applications developed in Tweak is the
>>> >>> OpenGL procedural textures generator by David Faught.
>>> >>> I make it also loadable to the current Squeak.
>>> >>>
>>> >>> You could download the ready to run image from here:
>>> >>> http://krestianstvo.org/TweakCoreOpenGL-squeak44.zip
>>> >>> or
>>> >>> execute in the workspace in own image:
>>> >>>
>>> >>> "1. Load FFI"
>>> >>> (Installer repository: 'http://source.squeak.org/FFI'
>>> >>> )
>>> >>>     install: 'FFI-Pools';
>>> >>>     install: 'FFI-Kernel';
>>> >>>     install: 'FFI-Tests'..
>>> >>>
>>> >>> "2. Load CroquetGL "
>>> >>> (Installer repository: 'http://www.squeaksource.com/CroquetGL')
>>> >>>     install: '3DTransform';
>>> >>>     install: 'OpenGL-Pools';
>>> >>>     install: 'OpenGL-Core'.
>>> >>>
>>> >>> "3. Load TweakCore and Procedural textures application for Tweak"
>>> >>> (Installer repository: 'http://sdk.krestianstvo.org/sdk/inbox')
>>> >>>     install: 'tweakcore';
>>> >>>     install: 'Tweak-OpenGL-sn.3'.
>>> >>>
>>> >>> "4. Set the default settings in Tweak"
>>> >>> CDefaultWidgetLibrary setDefaultSettings.
>>> >>>
>>> >>> "5. Run one of two examples"
>>> >>> CProjectMorph open: Wrinkle1.
>>> >>> "or"
>>> >>> CProjectMorph open: Wrinkle2.
>>> >>>
>>> >>> The attached screenshot shows the running application.
>>> >>>
>>> >>> Regards,
>>> >>> Nikolay
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>
>>> >>
>>> >> --
>>> >> Casey Ransberger
>>> >>
>>> >
>>>
>>
>