Hi Torsten,

The plugin works out of the box for me in a Cog machine with no problems,
just follow these instructions:

* Get Scratch's CameraPlugin (you can get them here
http://code.google.com/p/scat/downloads/list)
* Depending on your OS, place it in:
    GNU/Linux and Win32 → The Pharo root directory. That is, where the .sh
and .lnk files are.
    MacOSX → The image path.
* FileIn the three .st files I attach (they originally came from the Scratch
source, but were modified by us to get them working in Pharo)
* DoIt: ScratchCameraDialog new openCamera; openInWorld

Of course, you don't need the ScratchCameraDialog class, but it's nice to
have it as it's a pretty simple working example. I'm not sure whether you
need CameraMedia either, didn't have time to check...

Hope it helps!

Cheers,

2011/7/29 Torsten Bergmann <[email protected]>

> Bernat Romagosa wrote:
> > In Scat we've managed, maybe after lunch i can give you some directions
> > to get it running.
>
> Yes, I managed to make it work last year, just with the
> *.cs and the Win32 DLL from scratch.
>
> However feel free to post a short guide for the recent Pharo
> image to the list so others can profit from it.
>
>
> My post was more oriented towards the VM developers
> since AFAIK there was a discussion of integrating
> the plugin back into Squeak VM sources so it is
> available in general to Squeak/Etoys/forks.
>
> As Bert wrote:
>
> "but the Scratch folks are interested in having their
>  plugins in the main Squeak VM, so they do not have to
>  package and maintain them themselves for ever."
>
> Would be nice if one would be able to use the cam
> out of the box with a recent VM (standard and cog) and Pharo.
>
> Thx
> Torsten
> --
> NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
> Jetzt informieren: http://www.gmx.net/de/go/freephone
>
>


-- 
Bernat Romagosa.

Attachment: CameraMedia.st
Description: application/squeak-changeset

Attachment: CameraPlugin.st
Description: application/squeak-changeset

Attachment: ScratchCameraDialog.st
Description: application/squeak-changeset

Reply via email to