Changes between Version 1 and Version 2 of SV8Build
- Timestamp:
- 02/24/09 05:05:04 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SV8Build
v1 v2 5 5 == Getting the sources == 6 6 First, you need the sources. You can browse [source: musepack svn] for a complete view.[[BR]] 7 libmpc needs libcuefile for reading .cue files to import chapters information s. This is the same libcuefile as in [http://developer.berlios.de/projects/cuetools cuetools], but we made it a standalone library for our use.[[BR]]8 Also libreplaygain is needed to build mpcgain application.[[BR]]7 libmpc needs libcuefile for reading .cue files to import chapters information. This is the same libcuefile as in [http://developer.berlios.de/projects/cuetools cuetools], but we made it a standalone library for our use.[[BR]] 8 Also libreplaygain is needed to build the mpcgain application.[[BR]] 9 9 So, here we go : 10 10 {{{ … … 27 27 $ cmake -G "Unix Makefiles" 28 28 }}} 29 If you want to build other project sfiles (ex : msvc), check the available generators on your system using the cmake help command (at the end of the output) :29 If you want to build other project files (ex : msvc), check the available generators on your system using the cmake help command (at the end of the output) : 30 30 {{{ 31 31 $ cmake --help … … 58 58 }}} 59 59 === installing === 60 I fear make install doesn't install the include file heather.60 I fear make install doesn't install the include file. 61 61 62 62 == libmpc == 63 63 === compiling === 64 Cmake needs to know where to find the two libs above and their includes. It will probably guess right for most of them, but the following values needsto be known : CUEFILE_INCLUDE_DIR, CUEFILE_LIBRARY, REPLAY_GAIN_INCLUDE_DIR and REPLAY_GAIN_LIBRARY.[[BR]]64 Cmake needs to know where to find the two libs above and their includes. It will probably guess correctly for most of them, but the following values need to be known : CUEFILE_INCLUDE_DIR, CUEFILE_LIBRARY, REPLAY_GAIN_INCLUDE_DIR and REPLAY_GAIN_LIBRARY.[[BR]] 65 65 You can check this : 66 66 {{{ … … 101 101 REPLAY_GAIN_LIBRARY:FILEPATH=REPLAY_GAIN_LIBRARY-NOTFOUND 102 102 }}} 103 As you can see REPLAY_GAIN_LIBRARY:FILEPATH was not found on my system. So we say it were to find it :103 As you can see, REPLAY_GAIN_LIBRARY:FILEPATH was not found on my system. So we tell it where to find it : 104 104 {{{ 105 105 $ cmake -DREPLAY_GAIN_LIBRARY:FILEPATH=/your/path/musepack/libreplaygain/src/libreplaygain.so … … 109 109 $ make 110 110 }}} 111 All the built executables are found in the re respective directories. Note that libmpcdec is not built as a shared library here. Use the autotools build system to build it as a shared library, or provide a patch to build it as static on the Windows platform and shared on othersplatforms.111 All the built executables are found in their respective directories. Note that libmpcdec is not built as a shared library here. Use the autotools build system to build it as a shared library, or provide a patch to build it as static on the Windows platform and shared on other platforms. 112 112 113 113 === installing ===