Hi Joachim,<div> </div><div> JNIPort sounds really great and I will test it. </div><div> It is really great to have these kind of bindings.</div><div> </div><div> 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. </div>
<div>Perhaps the Alien plugin compiled in Cog. I would like to do more investigations on that.</div><div> </div><div>#Luc<br>
<br><br><div class="gmail_quote">2011/2/5 Joachim Geidel <span dir="ltr">&lt;<a href="mailto:joachim.geidel@onlinehome.de">joachim.geidel@onlinehome.de</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Am 05.02.11 18:11 schrieb Tudor Girba:<br>
<div class="im">&gt; What are the impediments of getting it to work with Cog on Pharo?<br>
<br>
</div>JNIPort relies on Alien, and I have not yet found a Cog VM working with<br>
Alien and JNIPort.<br>
<br>
I tried Squeak 5.8b12 for Mac OS X which identifies itself as Cog, but it<br>
crashes when you just evaluate &quot;LibCLibrary uniqueInstance&quot;. Apparently this<br>
VM version doesn&#39;t work with Alien.<br>
<br>
Eliot&#39;s latest Cog build for Mac OS X at<br>
<a href="http://www.mirandabanda.org/files/Cog/VM/VM.r2349/" target="_blank">http://www.mirandabanda.org/files/Cog/VM/VM.r2349/</a> is able to load libc.<br>
When I try to use JNIPort, it can&#39;t find the library libjvm.dylib when I<br>
create a symbolic link to it in the working directory. When I create a<br>
symbolic link in the subdirectory Cog.app/Contents/Resources, it is able to<br>
load the library, but the VM crashes with a bus error when I try to call the<br>
first function of the library. I currently have no idea what causes the<br>
error. As the same code runs without problems on a Squeak VM, I don&#39;t think<br>
that the problem is in the JNIPort code, but I may be wrong.<br>
<br>
So, no JNIPort on Cog for now. This may change soon, of course.<br>
<br>
Regards,<br>
<font color="#888888">Joachim Geidel<br>
<br>
<br>
<br>
</font></blockquote></div><br></div>