compilingonwindows
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
compilingonwindows [2009/06/17 17:30] – wikiadmin | compilingonwindows [2017/10/01 09:02] (current) – thp | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== CompilingOnWindows ====== | ====== CompilingOnWindows ====== | ||
- | This page explains how to compile libhimd on Windows using CygWin. It is recommended, | + | Deprecated. See [[CompilingWithMinGW]] |
- | + | ||
- | ===== Requirements ===== | + | |
- | + | ||
- | Download CygWin from [[http:// | + | |
- | + | ||
- | Install CygWin with the following packages: | + | |
- | + | ||
- | autoconf, automake, pkg-config, libtool, glib2.0-devel, | + | |
- | + | ||
- | ===== Getting the Code ===== | + | |
- | + | ||
- | Open CygWin and change to a folder where you want to build everything. | + | |
- | + | ||
- | Then fetch the code with git: | + | |
- | + | ||
- | < | + | |
- | git clone git:// | + | |
- | </ | + | |
- | + | ||
- | Change into the folder containing the code, fetch and install libmad: | + | |
- | + | ||
- | < | + | |
- | cd linux-minidisc | + | |
- | wget ftp:// | + | |
- | tar xzf libmad-0.15.1b.tar.gz | + | |
- | cd libmad-0.15.1b | + | |
- | ./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 / | + | |
- | </ | + | |
- | + | ||
- | ===== Building the code ===== | + | |
- | + | ||
- | < | + | |
- | cd .. | + | |
- | qmake -r | + | |
- | make | + | |
- | </ | + | |
- | + | ||
- | ===== 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.1245259817.txt.gz · Last modified: 2009/06/17 17:30 by wikiadmin