[Mono-winforms-list] SWF on Debian + Screenshots

Paul paul@all-the-johnsons.co.uk
Sun, 23 Jan 2005 17:51:36 +0000


Hi,

> For compiling mono I used this:
> http://www.all-the-johnsons.co.uk/mono/mono-compiling.html
> 
> Only some steps didn't work for me:
> 
> Download of the svn / cvs source with
> http://www.all-the-johnsons.co.uk/mono/monoupdater.sh
> only worked for the mono-source but didn't work e.g. for cairo.

Have you got CVS installed on your machine? cairo/libpixman require a 
cvs client to work. No cvs, no download.

> After this I tried to install libgdiplus but this also didn't compile.
> For some reasons I missed some includes src/gdip.h.
> I added:
> ----------------
> #include <fontconfig/fontconfig.h>
> #include <ft2build.h>
> #include FT_FREETYPE_H
> ----------------
> after this it compiled a few more files but stopped because of some
> warnings. I looked into this and because the warnings looked hamless I
> removed the -Werror from the Makefile. Thats it!

Out of interest, which version of freetype and gcc are you using? Under 
FC3, I've not come across this problem at all.

> After this step I compiled mono. It looks like 
> "make monolite-bootstrap" don't work any more but a simple make did the
> trick.

Correct - it is detailed on my website, but it looks like the readme 
file inside of the mono source is telling porkies... It won't be the 
first time that a readme has been unreliable, probably won't be the last 
either ;-)

> There is a big test program (FormsTest.cs) that I could compile (after
> deleting some parts of the UpDownTest) but  NullReferenceException is
> raised after the start:
> --------------------------------------------------
> done detecting keyboard:  German keyboard layout
> #region #line XplatUI Constructor called
> 
> Unhandled Exception: System.NullReferenceException: Object reference not
> set to an instance of an object
> in <0xab8f1> (wrapper remoting-invoke-with-check)
> System.Drawing.Font:ToHfont ()

Looks like something has been either stubbed or there is a problem. Have 
you got the URL (or can you email me the source off list) and I'll check 
it on this system? It could be something or nothing.

That said, not everything has been implemented, so errors are quite 
possible.

Glad to see my site is useful. It's in the process of being updated so 
those unfortunate enough to use IE instead of something which actually 
works will be able to access things easier... CSS + IE == 
recipe_for_disaster!

TTFN

Paul
(not a fan of IE in any way!)