compilingonwindows
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
compilingonwindows [2009/05/11 21:50] – Added some notes of the build-result. wikiadmin | compilingonwindows [2011/09/02 21:52] – glaubitz | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== CompilingOnWindows ====== | ====== CompilingOnWindows ====== | ||
- | This page explains how to compile libhimd on Windows using CygWin. | + | This page explains how to compile libhimd on Windows using CygWin. |
===== Requirements ===== | ===== Requirements ===== | ||
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, |
===== Getting the Code ===== | ===== Getting the Code ===== | ||
Open CygWin and change to a folder where you want to build everything. | Open CygWin and change to a folder where you want to build everything. | ||
- | Then fetch the code with git: | + | To get the code, clone it with //git// as shown on the [[start# |
- | + | ||
- | < | + | |
- | git clone git://z6.physik.fu-berlin.de/ | + | |
- | </ | + | |
Change into the folder containing the code, fetch and install libmad: | Change into the folder containing the code, fetch and install libmad: | ||
Line 30: | Line 25: | ||
./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: | Install a missing pkg-config file for libmad into cygwin: | ||
Line 42: | Line 39: | ||
< | < | ||
cd .. | cd .. | ||
- | cd libhimd | + | qmake -r |
- | ./ | + | make |
</ | </ | ||
Line 49: | Line 46: | ||
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. | 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