2010/5/17 Jake Bartlett <jakebartlett@gmail.com>
I'm trying to use SVMLight (http://svmlight.joachims.org/) from Pharo. �SVMLight has some *.h files I need to load and some *.so libraries. �I need to be able to call functions from them and manage the results. �How do I create a FFI in Pharo? �


Hi.� The documentation I know about FFI is from Squeak and it is here:

http://wiki.squeak.org/squeak/1414

It has little documentation, but it may help to start. You can also browse the example package from the FFI repository.

To install FFI in Pharo, evaluate:

Gofer new
��� squeaksource: 'MetacelloRepository';
��� package: 'ConfigurationOfFFI';
��� load.

((Smalltalk at: #ConfigurationOfFFI) project version: '1.3') load.

There have been several similar questions. I invite you to read them:

http://forum.world.st/template/NodeServlet.jtp?tpl=search-page&node=1294836&query=FFI

Cheers

Mariano

[jake]

_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project