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

Jonathan Pryor jonpryor@vt.edu
Sat, 12 Feb 2005 10:07:52 -0500


On Sat, 2005-02-12 at 13:48 +0000, James Fitzsimons wrote:
> Hi all,
> so I just tried this from within a 32bit chroot and it works. It seems
> that P/Invoke doesn't work on 64bit mono at the moment?
> 
> Does anyone know when this might be planned for?

<snip/>

> > 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?

> > james@athos src $ 
> > 
> > I am using mono version 1.1.3 on an amd64 platform.

You might want to try 1.1.4.  It's due out Real Soon Now.

 - Jon