I install Athens 1.6 on Pharo-20480.image. run with $ ./NBCog -version 3.9-7 #1 Tue Nov 27 16:08:39 CET 2012 gcc 4.1.2 NBCoInterpreter NativeBoost-CogPlugin-IgorStasenko.15 uuid: 44b6b681-38f1-4a9e-b6ee-8769b499576a Nov 27 2012 NBCogit NativeBoost-CogPlugin-IgorStasenko.15 uuid: 44b6b681-38f1-4a9e-b6ee-8769b499576a Nov 27 2012 https://git.gitorious.org/cogvm/blessed.git Commit: 40ac7e7bdec6fef0e934d2c019b86db996053912 Date: 2012-11-19 18:54:49 +0100 By: Mariano Martinez Peck <marianopeck@gmail.com> Jenkins build #146 Linux pharo-build.lille.inria.fr 2.6.18-194.26.1.el5xen #1 SMP Tue Nov 9 14:13:46 EST 2010 i686 i686 i386 GNU/Linux plugin path: /home/phm/Downloads/coglinux-nb/ [default: /home/phm/Downloads/coglinux-nb/] Ubuntu 11.10 . $ sudo apt-get install libcairo2 Reading package lists... Done Building dependency tree Reading state information... Done libcairo2 is already the newest version. Try to run PharoBoids and get: Error: failed to get a symbol address cairo_image_surface_create NativeBoostLinux32(Object)>>error: NativeBoostLinux32>>getGlobalSymbolPointer: NativeBoostLinux32>>loadSymbol:fromModule: NativeBoost class>>loadSymbol:fromModule: Metaclass(Object)>>nbGetSymbolAddress:module: NBFFICallout>>generateCall:module: NBFFICalloutAPI>>function:module: in Block: [:gen | gen callType: conv;... NBFFICallout class(NBNativeCodeGen class)>>generateCode:andRetry: in Block: [bytes := aBlock... BlockClosure>>on:do: NBRecursionDetect class>>in:during: NBFFICallout class(NBNativeCodeGen class)>>generateCode:andRetry: NBFFICallout class(NBNativeCodeGen class)>>handleFailureIn:nativeCode: NBFFICalloutAPI>>function:module: AthensCairoSurface class(Object)>>nbCall: AthensCairoSurface class>>primImage:width:height: AthensCairoSurface class>>extent:format: AthensCairoSurface class>>extent: SkyMorph>>initialize SkyMorph class(Behavior)>>new PharoBoids>>sky PharoBoids>>toolbar PharoBoids>>installToolbar PharoBoids>>initialize PharoBoids class(Behavior)>>new PharoBoids class>>DoIt Compiler>>evaluate:in:to:notifying:ifFail:logged: SmalltalkEditor>>evaluateSelectionAndDo: in Block: [rcvr class evaluatorClass new... BlockClosure>>on:do: SmalltalkEditor>>evaluateSelectionAndDo: SmalltalkEditor>>evaluateSelection What am I doing wrong? On 20 January 2013 18:21, Denis Kudriashov <dionisiydk@gmail.com> wrote:
Funny :))
2013/1/20 MartinW <wm@fastmail.fm>
Hi, i adopted a Ruby implementation (taken from Exploring Everyday Things with R and Ruby by Sau Sheong Chang) of Craig Raynolds Boids Simulation in Pharo Smalltalk using Athens Canvas. Have a look: http://smalltalkhub.com/#!/~MartinWalk/Boids
<http://forum.world.st/file/n4664291/PharoBoids.png>
-- View this message in context: http://forum.world.st/Try-PharoBoids-tp4664291.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.