Changes between Version 7 and Version 8 of jazz/ocsync
- Timestamp:
- Nov 8, 2012, 9:06:44 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/ocsync
v7 v8 25 25 * We want to build Windows Client , so we will have to isntall 32/64 bits mingw-w64 26 26 {{{ 27 jazz@precise:~$ sudo apt-get install mingw-w64 mingw-w64-dev g++-mingw-w64 gcc-mingw-w64 27 jazz@precise:~$ sudo apt-get install mingw-w64 mingw-w64-dev g++-mingw-w64 gcc-mingw-w64 28 }}} 29 * We will need a cmake toolchain file 30 * [Reference] http://www.cmake.org/Wiki/CmakeMingw 31 {{{ 32 jazz@precise:~$ wget http://www.cmake.org/Wiki/images/c/c2/Toolchain-cross-mingw32-linux.cmake 28 33 }}} 29 34 … … 35 40 jazz@precise:~$ tar jxvf ocsync-0.60.1.tar.bz2 36 41 jazz@precise:~$ cd ~/ocsync-0.60.1/build 37 jazz@precise:~/ocsync-0.60.1/build$ cmake -D SQLITE3_INCLUDE_DIR=~/Toolchain-cross-mingw32-linux.cmake -DSQLITE3_INCLUDE_DIR=/usr/include -DSQLITE3_LIBRARY=/usr/lib/i386-linux-gnu/libsqlite3.so -DINIPARSER_INCLUDE_DIRS=~/iniparser/src/ -DINIPARSER_LIBRARIES=/usr/lib/libiniparser.so.0 ..42 jazz@precise:~/ocsync-0.60.1/build$ cmake -DCMAKE_TOOLCHAIN_FILE=~/Toolchain-cross-mingw32-linux.cmake -DSQLITE3_INCLUDE_DIR=~/Toolchain-cross-mingw32-linux.cmake -DSQLITE3_INCLUDE_DIR=/usr/include -DSQLITE3_LIBRARY=/usr/lib/i386-linux-gnu/libsqlite3.so -DINIPARSER_INCLUDE_DIRS=~/iniparser/src/ -DINIPARSER_LIBRARIES=/usr/lib/libiniparser.so.0 .. 38 43 jazz@precise:~/ocsync-0.60.1/build$ make 39 44 }}}