> Ah okay, that's correct! I'll try that, thank you! :)
>
> On Sat, Mar 13, 2010 at 7:44 PM, Ken Treis <
[hidden email]> wrote:
>> Are you on Snow Leopard? If so, I'm guessing your Cairo library is built for 64-bit, and you'll need a 32-bit library to work with the Squeak VM. The best option is to build Cairo with the +universal variant.
>>
>>
>> Ken
>>
>> On Mar 13, 2010, at 8:49 AM, Richard Durr wrote:
>>
>>> Thank you very much. But it did not work. I set the path using the command
>>> CRLibrary libraryPath: '/opt/local/lib/libcairo.dylib'
>>>
>>> and have loaded Alien through ConfigurationOfAlien poject latestVersion load
>>>
>>> v_v
>>>
>>> On Sat, Mar 13, 2010 at 5:45 PM, Ken Treis <
[hidden email]> wrote:
>>>> Hi Richard,
>>>>
>>>> You'll need to use the .dylib instead of the la file (e.g. /opt/local/lib/libcairo.dylib). Any recent version of Alien should work.
>>>>
>>>> Also, the class names are a little different vs. VisualWorks. For the most part, they're all just prefixed with CR (e.g. CRImageSurface vs. ImageSurface).
>>>>
>>>> Hope that helps,
>>>>
>>>>
>>>> Ken
>>>>
>>>> On Mar 13, 2010, at 4:43 AM, Richard Durr wrote:
>>>>
>>>>> Hello Ken,
>>>>>
>>>>> I tried to install your Package of Cairo in the newest version of
>>>>> Pharo to try recreating what you did in [1] with VisualWorks but was
>>>>> unable to load the Library.
>>>>> I set libraryPath to ''/opt/local/lib/libcairo.la' using the
>>>>> Cairo-Package of MacPorts, I get a primitive has failed error in
>>>>> primLoadLibrary.
>>>>>
>>>>> Maybe I am not using the right version of Alien. Which one did you
>>>>> use? Any help would be appreciated :)
>>>>>
>>>>> RD
>>>>>
>>>>>
>>>>> [1]
http://kentreis.wordpress.com/2009/01/27/button-graphic-generator-in-visualworks-and-cairo/>>>>
>>>> --
>>>> Ken Treis
>>>> Miriam Technologies, Inc.
>>>>
>>>>
>>
>> --
>> Ken Treis
>> Miriam Technologies, Inc.
>>
>>