Changes between Version 16 and Version 17 of WikiStart
- Timestamp:
- Oct 8, 2013, 5:03:33 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v16 v17 3 3 = PACPUS framework = 4 4 5 == Compilation ==6 5 7 == = Prerequisites ===6 == Prerequisites == 8 7 9 === = Tools ====8 === Tools === 10 9 * Modern C++ compiler (gcc >= 4.5, clang >= 3.2, Microsoft Visual Studio 2008 or newer, etc.) 11 10 * [http://www.cmake.org/ CMake] 2.8.10 or newer … … 13 12 * [http://subversion.apache.org/ Subversion (SVN)] control version system 14 13 15 === = Libraries ====14 === Libraries === 16 15 * [http://logging.apache.org/log4cxx/ Apache log4cxx] 0.10.0 17 16 * [http://www.boost.org/ Boost] 1.50 or newer (optionally) 18 17 * [http://qt-project.org/ Qt] 4.8 or newer 19 18 20 === Getting the source code === 21 To checkout !PacpusFramework repository (version 0.1.1) into your workspace directory, e.g. into `~/workspace/pacpus`, 19 == Compilation and Installation == 22 20 23 {{{#!sh 24 cd ~/workspace/pacpus 25 svn co https://devel.hds.utc.fr/svn/pacpusframework/tags/0.1.1/ pacpusframework 26 }}} 21 Follow these instructions to compile and install the pacpus framework : 22 - under Windows: 23 - under Linux: 24 - under MAC OSX: to come... 27 25 28 **Note:** You can as well use any GUI wrapper for SVN, such as [http://tortoisesvn.net/ TortoiseSVN].29 30 === Using CMake ===31 32 ==== GUI ====33 You have to point the source code directory with the root `CMakeLists.txt` file, e.g. `~/workspace/pacpus/framework`34 and the build directory, e.g. `~/workspace/pacpus/framework-build`.35 Then press `Configure` and `Generate`.36 You can change the CMake variables as well.37 38 ==== Command-line ====39 40 Without changing directory (stay in `~/workspace/pacpus`), create a new directory for build, change the directory to the newly created one and execute CMake.41 42 {{{#!sh43 cd ~/workspace/pacpus44 mkdir framework-build45 cd framework-build46 cmake ../framework -G "Unix Makefiles"47 }}}48 49 **Note:** You can specify a different makefile generator instead of `-G "Unix Makefiles"`.50 Type `cmake --help` for a list of generators available on your platform.51 52 === Compiling ===53 If you have created Makefile files, than just run the command:54 {{{#!sh55 make56 }}}57 or a similar one (`nmake`, `mingw32-make`, etc.).58 59 If you have created project files (for example using option `-G Visual Studio 11`), than just open the solution file **Pacpus.(extension)**, e.g.:60 {{{#!sh61 Pacpus.sln62 }}}63 26 64 27 ----