MegaTunix/Win (2006-03-16 04:43:08)

Installing MegaTunix on a windows box

This is just the windows platform specific installation. After you have MegaTunix installed, read the usage (that is platform-independent) on MegaTunix page.



Possible Problems


Anything below is developer info - the above should be enough to get megatunix running on your win32.

MINGW porting

[why GTK is slower on windows] than on linux (or other nice OSes).


cross info

files needed:

cross-tools http://www.libsdl.org/extras/win32/cross/

freetype

http://gnuwin32.sourceforge.net/packages/freetype.htm

need to edit freetype2.pc files the prefix is wrong it need to be set to /target

libglade

http://gladewin32.sourceforge.net/modules.php?name=Downloads&d_op=viewdownload&cid=3

gtk,glib,pango,fontconfig,atk

http://www.gimp.org/~tml/gimp/win32/downloads.html

gtkglext

http://sourceforge.net/project/showfiles.php?group_id=54333&package_id=48997

need to edit gtkglext-*.pc and gdkglext-*.pc files the prefix is wrong it need to be set to /target

libxml

ftp://xmlsoft.org/

get the source amd make it

libxml2-2.6.15.tar.gz worked for me

libxml2-2.6.16.tar.gz would not make for me

zlib

http://gnuwin32.sourceforge.net/packages/zlib.htm

flex

http://www.cs.colorado.edu/~main/mingw32/

http://jrfonseca.dyndns.org/projects/gnu-win32/software/ported/

hacks

http://www.vems.hu/files/MegaTunix/hacks_nov_26_04.zip

file list of needed:

atk-dev-1.6.0.zip*

flex-2_5_4a.zip*

fontconfig-dev-2.2.2-20040412.zip*

freetype-2.1.8-bin.zip*

freetype-2.1.8-dep.zip*

freetype-2.1.8-lib.zip*

glib-dev-2.4.7.zip*

gtk+-dev-2.4.13.zip*

gtkglext-win32-1.0.6.zip*

hacks_nov_26_04.zip

libglade-2.4.0-dev.zip*

libxml2-2.6.15.tar.gz*

mingw32-linux-x86-glibc-2.3.tar.gz*

pango-dev-1.4.1.zip*

zlib-1.2.1-1-lib.zip*

(if the file are download to tmp)

(cross-scripts also needs to be installed at this time(how to comming soon))

start with mingw32-linux-x86-glibc-2.3.tar.gz

cd /opt

zcat /tmp/mingw32-linux-x86-glibc-2.3.tar.gz | tar xvf -

ln -s /opt/cross-tools/i386-mingw32msvc /target

cd /target

unzip /tmp/freetype-2.1.8-bin.zip

unzip /tmp/freetype-2.1.8-dep.zip

unzip /tmp/freetype-2.1.8-lib.zip

unzip /tmp/libglade-2.4.0-dev.zip

unzip /tmp/gtk+-dev-2.4.13.zip

unzip /tmp/glib-dev-2.4.7.zip

unzip /tmp/pango-dev-1.4.1.zip

unzip /tmp/fontconfig-dev-2.2.2-20040412.zip

unzip /tmp/atk-dev-1.6.0.zip

unzip /tmp/gtkglext-win32-1.0.6.zip

unzip /tmp/zlib-1.2.1-1-lib.zip

edit and change prefix=/target for each

/target/lib/pkgconfig/gtkglext-1.0.pc

/target/lib/pkgconfig/gtkglext-win32-1.0.pc

/target/lib/pkgconfig/gdkglext-1.0.pc

/target/lib/pkgconfig/gdkglext-win32-1.0.pc

/target/lib/pkgconfig/freetype2.pc

cd /tmp

zcat libxml2-2.6.15.tar.gz | tar xvf -

cd /tmp/libxml2-2.6.15

. cross

cross-configure --prefix=/target

make

make install


DaveA said, 0x1A problem has been fixed - needed a O_BINARY flag set in the open() call.