[Pharo-project] [Pharo-users] [ANN] JNIPort 2.0 for VisualWorks, Pharo and Squeak
luc.fabresse at gmail.com
Sat Feb 5 23:54:09 CET 2011
JNIPort sounds really great and I will test it.
It is really great to have these kind of bindings.
For your Alien problem on Cog, I also experienced some troubles with the
library path. So I am pretty sure that the problem is on the Cog side.
Perhaps the Alien plugin compiled in Cog. I would like to do more
investigations on that.
2011/2/5 Joachim Geidel <joachim.geidel at onlinehome.de>
> Am 05.02.11 18:11 schrieb Tudor Girba:
> > What are the impediments of getting it to work with Cog on Pharo?
> JNIPort relies on Alien, and I have not yet found a Cog VM working with
> Alien and JNIPort.
> I tried Squeak 5.8b12 for Mac OS X which identifies itself as Cog, but it
> crashes when you just evaluate "LibCLibrary uniqueInstance". Apparently
> VM version doesn't work with Alien.
> Eliot's latest Cog build for Mac OS X at
> http://www.mirandabanda.org/files/Cog/VM/VM.r2349/ is able to load libc.
> When I try to use JNIPort, it can't find the library libjvm.dylib when I
> create a symbolic link to it in the working directory. When I create a
> symbolic link in the subdirectory Cog.app/Contents/Resources, it is able to
> load the library, but the VM crashes with a bus error when I try to call
> first function of the library. I currently have no idea what causes the
> error. As the same code runs without problems on a Squeak VM, I don't think
> that the problem is in the JNIPort code, but I may be wrong.
> So, no JNIPort on Cog for now. This may change soon, of course.
> Joachim Geidel
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-project