User Tools

Site Tools


compilingonwindows

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
compilingonwindows [2009/05/30 22:21] – Adapt to cmake. glaubitzcompilingonwindows [2017/10/01 09:02] (current) thp
Line 1: Line 1:
 ====== CompilingOnWindows ====== ====== CompilingOnWindows ======
  
-This page explains how to compile libhimd on Windows using CygWin. +Deprecated. See [[CompilingWithMinGW]]
- +
-See also [[CompilingWithMinGW]] +
- +
-===== Requirements ===== +
- +
-Download CygWin from [[http://www.cygwin.org]] +
- +
-Install CygWin with the following packages: +
- +
-autoconf, automake, pkg-config, libtool, glib2.0-devel, libmcrypt-devel, gcc4, make, git, wget, cmake, libsox +
- +
-===== Getting the Code ===== +
- +
-Open CygWin and change to a folder where you want to build everything. +
- +
-Then fetch the code with git: +
- +
-<code> +
-git clone git://z6.physik.fu-berlin.de/linux-minidisc +
-</code> +
- +
-Change into the folder containing the code, fetch and install libmad: +
- +
-<code> +
-cd linux-minidisc +
-wget ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz +
-tar xzf libmad-0.15.1b.tar.gz +
-cd libmad-0.15.1b +
-./configure && make && make install +
-</code> +
- +
-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: +
- +
-<code> +
-wget http://users.physik.fu-berlin.de/~glaubitz/linux-minidisc/mad.pc +
-cp mad.pc /usr/lib/pkgconfig +
-</code> +
- +
-===== Building the code ===== +
- +
-<code> +
-cd .. +
-cmake . +
-make +
-</code> +
- +
-===== 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.1243722095.txt.gz · Last modified: 2009/05/30 22:21 by glaubitz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki