FFI

classic Classic list List threaded Threaded
4 messages Options
Sean P. DeNigris Sean P. DeNigris
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

FFI

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
Igor Stasenko Igor Stasenko
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: FFI

On 25 August 2011 17:55, Sean P. DeNigris <[hidden email]> wrote:
> 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"'
>

It is largely depends from what VM are you using.
The language side implementation had no problems for years..
Try with latest VMs on Jenkins server (which is down now unfortunately ;) ).
It should work there.

> Thanks.
> Sean
>
> --
> View this message in context: http://forum.world.st/FFI-tp3768815p3768815.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>



--
Best regards,
Igor Stasenko AKA sig.

Mariano Martinez Peck Mariano Martinez Peck
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: FFI

In reply to this post by Sean P. DeNigris
The tests/examples that come with FFI have never worked for me in almost any OS. The are just outdated/broken.
Unfortunatly the only way I can test if FFI works is with a real library (in my case I test it with OpenDBX).

On Thu, Aug 25, 2011 at 6:55 PM, Sean P. DeNigris <[hidden email]> wrote:
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

--
View this message in context: http://forum.world.st/FFI-tp3768815p3768815.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.




--
Mariano
http://marianopeck.wordpress.com

Mariano Martinez Peck Mariano Martinez Peck
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: FFI

Ahh check in the Info.plistĀ  the value of SqueakPluginsBuiltInOrLocalOnly. It must be disable.


On Wed, Aug 31, 2011 at 12:31 PM, Mariano Martinez Peck <[hidden email]> wrote:
The tests/examples that come with FFI have never worked for me in almost any OS. The are just outdated/broken.
Unfortunatly the only way I can test if FFI works is with a real library (in my case I test it with OpenDBX).

On Thu, Aug 25, 2011 at 6:55 PM, Sean P. DeNigris <[hidden email]> wrote:
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

--
View this message in context: http://forum.world.st/FFI-tp3768815p3768815.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.




--
Mariano
http://marianopeck.wordpress.com




--
Mariano
http://marianopeck.wordpress.com

Loading...