[Pharo-project] Putting Cairo in the VM?

Stéphane Ducasse stephane.ducasse at inria.fr
Thu Jul 5 08:45:09 EDT 2012


When I closed and reopen it, it worked :)
Still would be good to get it working the first time.
Thanks again igor.

Stef

On Jul 5, 2012, at 2:44 PM, Stéphane Ducasse wrote:

> Igor I loaded everything and… it nearly worked :)
> 
> 
> except 
> First 
> 
> 	This package depends on the following classes:
> 		  MultiNewParagraph
> 	You must resolve these dependencies before you will be able to load these definitions: 
> 		  drawOnAthensCanvas:bounds:
> 
> 
> second 
> 	loadSymbol: aSymbolName fromModule: moduleName
> 
> 	(moduleName = '' or: [moduleName = 0 ]) ifTrue: [
> 		"if module name is empty, try to retrieve symbol from globals "
> 		^ self getGlobalSymbolPointer: aSymbolName 
> 		].
> 	^ super loadSymbol: aSymbolName fromModule: moduleName
> 
> 
> 
> error: aString 
> 	"Throw a generic Error exception."
> 
> 	^Error new signal: aString
> 
> 
> 'failed to get a symbol address: cairo_image_surface_create'
> 
> here is what I did 
> 
> 
> Gofer it 
>    url: 'http://www.squeaksource.com/Athens';
>  package: 'ConfigurationOfAthens';
> 	load.
> (Smalltalk globals classNamed: 'ConfigurationOfAthens') loadBleedingEdge.	
> 
> Gofer it 
>    url: 'http://www.squeaksource.com/MetacelloRepository';
>  package: 'ConfigurationOfXMLSupport';
> 	load.
> (Smalltalk globals classNamed: 'ConfigurationOfXMLSupport') load.	
> 
> Gofer it
> 	squeaksource: 'Athens';
> 	package: 'Athens-SVG';
> 	load. 
> 
> ASZoomerMorph new
>        svg: 'Coche_ok_verte.svg' zoom: 0.1;
>        openInWorld
> 
> 
> 
> 
> 
> 
> On Jul 5, 2012, at 9:28 AM, Igor Stasenko wrote:
> 
>> On 5 July 2012 09:00, Igor Stasenko <siguctua at gmail.com> wrote:
>>> On 5 July 2012 07:37, Stéphane Ducasse <stephane.ducasse at inria.fr> wrote:
>>>> It is working?
>>>> Because when I tried to open my athens image it crashes.
>>>> Igor this is the image you program the animationMorph.
>>>> 
>>>> Stef
>>>> 
>>> 
>>> I had no time to check the build yet..
>>> Will do it now.
>>> 
>> ok.. the build is invalid..
>> it looks like the search path changes for vm plugins are not integrated/changed.
>> 
>> To determine that, you can simply open settings browser and in
>> appearance/freetype it should say that freetype available.
>> 
>> Will check that with Esteban.. i thought we already comitted that change.
>> 
>> -- 
>> Best regards,
>> Igor Stasenko.
>> 
> 
> 





More information about the Pharo-dev mailing list