compilingonwindows
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
compilingonwindows [2009/05/10 16:02] – wikiadmin | compilingonwindows [2009/05/11 23:26] – explain about -fforce-mem megadiscman | ||
---|---|---|---|
Line 9: | Line 9: | ||
Install CygWin with the following packages: | Install CygWin with the following packages: | ||
- | autoconf, automake, pkg-config, libtool, glib2.0-devel, | + | autoconf, automake, pkg-config, libtool, glib2.0-devel, libmcrypt-devel, gcc4, make, git, wget |
===== Getting the Code ===== | ===== Getting the Code ===== | ||
Line 29: | Line 29: | ||
cd libmad-0.15.1b | cd libmad-0.15.1b | ||
./configure && make && make install | ./configure && make && make install | ||
+ | </ | ||
+ | |||
+ | If configure fails it's because gcc is too new and does not like the option -fforce-mem. Open the configure script with an editor of your choice that can handle Unix-like files with LF terminated lines (i.e. not notepad) and delete the line containing -fforce-mem. Then try again. | ||
+ | |||
+ | Install a missing pkg-config file for libmad into cygwin: | ||
+ | |||
+ | < | ||
+ | wget http:// | ||
+ | cp mad.pc / | ||
</ | </ | ||
Line 39: | Line 48: | ||
</ | </ | ||
+ | ===== Notes ===== | ||
+ | |||
+ | The actual built code is found in the sub-directory .libs, himdtest.exe is just a loader for the himdtest.exe in the .libs-folder. | ||
compilingonwindows.txt · Last modified: 2017/10/01 09:02 by thp