Build IdealistViewer on Ubuntu Jaunty (9.04)

May 21, 2009

[ Accurate as of r297 (2009-05-19) ]

    % sudo apt-get install subversion nant mono-gmcs \
         libmono-microsoft8.0-cil libmono-system-runtime2.0-cil \
         libgdiplus libmono-i18n2.0-cil

Admittedly I already had the above installed on my machine, so I don’t know the absolute bare minimum required to build Idealist. But the above will get you what you need. And perhaps give you a little extra. But that’s ok, because you wouldn’t want your mono packages to be lonely.

You’ll definitely need all of:

    % sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev \
          x11proto-xf86vidmode-dev libfreetype6-dev libXxf86vm-dev

and then:

    % svn co
    % cd idealistviewer/libs/Irrlicht1_5BETA_r1883/source/Irrlicht
    % make
    % cp libIrrlicht.a ../../../IrrlictNETCP_r1883/Irrlicht\ SDK/lib/Linux 
    % cd ../../../IrrlictNETCP_r1883/IrrlichtW 
    % make
    % cp ../../../trunk/bin 
    % cd ../../../trunk
    % sh
    % nant
    % cd bin
    % cp IdealistViewer.ini.example IdealistViewer.ini

Edit IdealistViewer.ini, setting login_uri, first_name, last_name, pass_word, and start_location . Then you’re good to go:

    % mono IdealistViewer.exe

If the process aborts, try:

    % env MALLOC_CHECK_=0 mono IdealistViewer.exe