Re: Pharo-users Digest, Vol 20, Issue 34

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

Re: Pharo-users Digest, Vol 20, Issue 34

Paul DeBruicker
On 08/26/2011 06:03 AM, [hidden email] wrote:

> Date: Thu, 25 Aug 2011 09:55:33 -0700 (PDT)
> From: "Sean P. DeNigris"<[hidden email]>
> Subject: [Pharo-users] FFI
> To:[hidden email]
> Message-ID:<[hidden email]>
> Content-Type: text/plain; charset=us-ascii
>
> Is anybody using FFI in either 1.2 or 1.3? If so, how did you get it working?
>
> I got an "Unable to find function address" after:
> 1. Fresh 1.3 #13269 image
> 2. ConfigurationOfFFI from MetacelloRepository
> 3. ConfigurationOfFFI project latestVersion load
> 4. MacOSShell new system: 'open"http://google.com"'
>
> Thanks.
> Sean


I use it on Linux in Pharo 1.2 & 1.3 in the PasswordHashingFFI package
in http://www.squeaksource.com/Cryptography.  I have no experience using
with the Mac.  I do not load the latestVersion but the stable version of
FFI, which is I think 1.3.  So after loading the Configuration from the
Metacello Repo I just do

ConfigurationOfFFI load

in a workspace.

The problems I had with it were using it on a 64bit os and a 32 bit vm.
  I needed to get the 32 bit versions of the libraries I wanted to
access loaded and accessible on my system.