[Mono-list] gdiplus

Kevin Jones kjones@develop.com
Fri, 19 Mar 2004 18:47:52 +0000


Ok,

so after doing 

export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib

and running the sample I now get

Could not stat /nt (No such file or directory), ignoring drive E:
Could not stat /home/kevinj/.wine/${HOME} (No such file or directory),
ignoring drive F:
Warning: could not find wine config [Drive x] entry for current working
directory /home/kevinj/temp/winforms; starting in windows directory.
Warning: L"/usr/local/lib/winelib.exe.so" not accessible from a
configured DOS drive
Warning: L"/usr/local/lib/winelib.exe.so" not accessible from a
configured DOS drive
wine: cannot find '/usr/local/lib/winelib.exe.so'


winelib.exe.so is in /usr/local/lib and is globally readable and
executable.

Sorry if I'm being stupid,

Kevin


On Fri, 2004-03-19 at 18:35, Miguel de Icaza wrote:
> Hey,
> 
> > I have downloaded, compiled and installed 'wine-lib 0.1'. When I try to run 
> > the sample Pedro provide I get the following exception:
> > 
> > Unhandled Exception: System.TypeInitializationException: An exception was 
> > thrown by the type initializer for System.Windows.Forms.Control ---> 
> > System.DllNotFoundException: user32.dll
> > in <0x00053> (wrapper managed-to-native) 
> > System.Windows.Forms.Win32:RegisterWindowMessage (string)
> > in <0x000f1> System.Windows.Forms.Control:.cctor ()
> 
> You are getting closer.  All you need are the symlinks that must have
> been created for you.
> 
> Make sure you have something that looks like this in your library prefix
> (must be on your LD_LIBRARY_PATH):
> 
> mono$ ls -l *32.dll*so
> lrwxrwxrwx    1 miguel   miguel         30 Mar  3 18:43 libadvapi32.dll.so -> /mono/lib/wine/advapi32.dll.so
> lrwxrwxrwx    1 miguel   miguel         30 Mar  3 18:43 libcomctl32.dll.so -> /mono/lib/wine/comctl32.dll.so
> lrwxrwxrwx    1 miguel   miguel         27 Mar  3 18:43 libgdi32.dll.so -> /mono/lib/wine/gdi32.dll.so
> lrwxrwxrwx    1 miguel   miguel         30 Mar  3 18:43 libkernel32.dll.so -> /mono/lib/wine/kernel32.dll.so
> lrwxrwxrwx    1 miguel   miguel         28 Mar  3 18:43 libuser32.dll.so -> /mono/lib/wine/user32.dll.so
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>