[Mono-list] P/Invoke on amd64 was :Marshalling problems

James Fitzsimons james.fitzsimons@gmail.com
Sat, 12 Feb 2005 15:18:17 +0000

Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi Jonathan,

On Sat, 2005-02-12 at 15:07, Jonathan Pryor wrote:
> > > Unhandled Exception: System.DllNotFoundException: highgui
> > > in <0x000bf> (wrapper managed-to-native) Slam.CvImage:cvLoadImage
> > > (string,int)
> > > in <0x00068> Slam.CvImage:.ctor (string,bool)
> > > in <0x00069> Slam.MainClass:Main (string[])
> Silly question, but where is libhighgui.so installed?  IIRC, 64-bit apps
> need to have their libraries in /lib64 or /usr/lib64.  Is this where
> libhighgui.so is located?
libhighgui.so is located in /usr/local/lib. This should be fine however
as according to this http://www.jprl.com/interop.html#library-linux if
your target library is in /etc/ld.so.cache P/Invoke should find it.

> You might want to try 1.1.4.  It's due out Real Soon Now.
Actually I just now updated to 1.1.4 (daily build from yesterday) and it=20
doesn't fix this problem.

James Fitzsimons
It's 5.50 a.m.... Do you know where your stack pointer is ?

Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

Version: GnuPG v1.2.6 (GNU/Linux)