I have downloaded a sample app which has a Linux Makefile with the
following.

    $(CS) -target:library -out:$@ $(Sequencer_files)
-r:/usr/lib/mono/2.0/System.Windows.Forms.dll

I get the following error when running Make.

    error CS0006: Metadata file
`/usr/lib/mono/2.0/System.Windows.Forms.dll' could not be found

So the Makefile doesn't cater for OS X installs.  I searched my
filesystem and think these are the most likely files I should reference.

   
/Library/Frameworks/Mono.framework/Versions/2.11.4/lib/mono/2.0/System.Windows.Forms.dll
   
/Library/Frameworks/Mono.framework/Versions/2.11.4/lib/mono/4.0/System.Windows.Forms.dll
   
/Library/Frameworks/Mono.framework/Versions/2.11.4/lib/mono/4.5/System.Windows.Forms.dll

Are these the correct library DLLs to reference ??

Should there be symlinks in /usr/local/lib when Mono is installed so
that standard POSIX Makefiles are more portable ??

Thanks -- Brendan.

_______________________________________________
Mono-osx mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-osx

Reply via email to