Both sides previous revisionPrevious revisionNext revision | Previous revision |
compilingwithmingw [2010/06/20 18:15] – megadiscman | compilingwithmingw [2011/04/11 13:04] (current) – glaubitz |
---|
|libmcrypt (compiled by us) |[[http://users.physik.fu-berlin.de/~mkarcher/mingwstuff/libmcrypt-runtime.zip|libmcrypt-runtime.zip]]|[[http://users.physik.fu-berlin.de/~mkarcher/mingwstuff/libmcrypt-devel.zip|libmcrypt-devel.zip]]| | |libmcrypt (compiled by us) |[[http://users.physik.fu-berlin.de/~mkarcher/mingwstuff/libmcrypt-runtime.zip|libmcrypt-runtime.zip]]|[[http://users.physik.fu-berlin.de/~mkarcher/mingwstuff/libmcrypt-devel.zip|libmcrypt-devel.zip]]| |
|taglib (compiled by us) |[[http://users.physik.fu-berlin.de/~mkarcher/mingwstuff/taglib-runtime.zip|taglib-runtime.zip]]|[[http://users.physik.fu-berlin.de/~mkarcher/mingwstuff/taglib-devel.zip|taglib-devel.zip]]| | |taglib (compiled by us) |[[http://users.physik.fu-berlin.de/~mkarcher/mingwstuff/taglib-runtime.zip|taglib-runtime.zip]]|[[http://users.physik.fu-berlin.de/~mkarcher/mingwstuff/taglib-devel.zip|taglib-devel.zip]]| |
|glib (official release for mingw) |[[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.22/glib_2.22.4-1_win32.zip|glib_2.22.4-1_win32.zip]]|[[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.22/glib-dev_2.22.4-1_win32.zip|glib-dev_2.22.4-1_win32.zip]]| | |glib (official release for mingw) |[[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.24/glib_2.24.1-1_win32.zip|glib_2.24.1-1_win32.zip]]|[[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.24/glib-dev_2.24.1-1_win32.zip|glib-dev_2.24.1-1_win32.zip]]| |
|gettext (release for mingw, offered by the gnome project) |[[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-0.17-1.zip|gettext-runtime-0.17-1.zip]]|[[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-dev-0.17-1.zip|gettext-runtime-dev-0.17-1.zip]]| | |gettext (release for mingw, offered by the gnome project) |[[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-0.17-1.zip|gettext-runtime-0.17-1.zip]]|[[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-dev-0.17-1.zip|gettext-runtime-dev-0.17-1.zip]]| |
|pkg-config (release for mingw, offered by the gnome project)| |[[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.23-3_win32.zip|pkg-config-0.23-3_win32.zip]]| | |pkg-config (release for mingw, offered by the gnome project)| |[[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.23-3_win32.zip|pkg-config-0.23-3_win32.zip]]| |
|sox libraries(static)| |[[http://users.physik.fu-berlin.de/~mkarcher/mingwstuff/sox-devel.zip|sox-devel.zip]]| | |sox libraries(static)| |[[http://users.physik.fu-berlin.de/~mkarcher/mingwstuff/sox-devel.zip|sox-devel.zip]]| |
|zlib (official release) |[[http://gnuwin32.sourceforge.net/downlinks/zlib-bin-zip.php|zlib-bin.zip]]| [[http://gnuwin32.sourceforge.net/downlinks/zlib-lib-zip.php|zlib-lib.zip]]*| | |zlib (official release) |[[http://gnuwin32.sourceforge.net/downlinks/zlib-bin-zip.php|zlib-bin.zip]]| [[http://gnuwin32.sourceforge.net/downlinks/zlib-lib-zip.php|zlib-lib.zip]]*| |
| |libid3tag | | [[http://users.physik.fu-berlin.de/~glaubitz/linux-minidisc/libid3tag_mingw32.zip|libid3tag_mingw32.zip |
| ]]| |
| |
* Note: you need the zlib development files only for recompiling taglib, **not** for recompiling QHiMDTransfer | * Note: you need the zlib development files only for recompiling taglib, **not** for recompiling QHiMDTransfer |
zip ../../sox-devel.zip -@ < manifest/sox-devel.mft | zip ../../sox-devel.zip -@ < manifest/sox-devel.mft |
</code> | </code> |
| |
| ==== Compile libtag in Windows (using MinGW) ==== |
| This has been done manually, so there is no ready-made script for it. |
| |
| - Get the zlib development files (linked above) and put them into your MinGW path. |
| - Get [[http://developer.kde.org/~wheeler/files/src/taglib-1.6.3.tar.gz|taglib-1.6.3.tar.gz]], local copy at [[http://users.physik.fu-berlin.de/~mkarcher/mingwstuff/taglib-1.6.3.tar.gz|taglib-1.6.3.tar.gz]] for GPL reasons (I am distributing a binary) |
| - Apply this patch to the CMakeLists.txt to help cmake find zlib: [[http://users.physik.fu-berlin.de/~mkarcher/mingwstuff/taglib-cmake.diff|taglib-cmake.diff]] |
| - run ''cmake -G "MinGW Makefiles"'' to create the Makefiles |
| - run ''mingw32-make'' to build libtag |
| - run ''mingw32-make install'' to install (default destination: ''%Program Files%\taglib'') |
| - run ''strip'' on libtag.dll to reduce the size by removing debugging symbols |
| - put libtag.dll into a zip file to obtain the "runtime" zip file linked above. |
| - We don't need the C bindings, so you can remove ''lib\taglib_c.dll.a'', ''lib\pkgconfig\taglib_c.pc'', ''include\tag_c.h'' |
| - Add the missing pkg-config file from [[http://users.physik.fu-berlin.de/~mkarcher/mingwstuff/taglib.pc|taglib.pc]] into ''lib\pkgconfig'' |
| - pack the contents of ''include'' and ''lib'' to get ''taglib-devel.zip'' |
| |