Closed treasuring closed 11 years ago
Please use an absolute path in the cmake call, ie.
cmake \
-DCMAKE_BUILD_TYPE="Debug" \
-DCSYNC_BUILD_PATH=/home/treasuring/owncloud/ocsync-build \
-DCSYNC_INCLUDE_PATH=/home/treasuring/owncloud/ocsync/src \
-DSPHINX_EXECUTABLE=/usr/local \
Hi,
I am trying to cross compile the windows client 1.3.0 from the source archive present on http://download.owncloud.com/download/ocsync-0.80.0.tar.bz2 & http://download.owncloud.com/download/mirall-1.3.0.tar.bz2 or git clone git://git.csync.org/users/freitag/csync.git ocsync & git clone git://github.com/owncloud/mirall.git
This my compile setting:
//ocsync mingw32-cmake \ -DCMAKE_BUILD_TYPE="Debug" \ -DLOG_TO_CALLBACK=ON \ -DCMOCKA_LIBRARIES="..\cmocka-0.3.1\build\src" \ -DCMOCKA_INCLUDE_DIR="..\cmocka-0.3.1\src" \ ../ocsync
//mirall cmake \ -DCMAKE_BUILD_TYPE="Debug" \ -DCSYNC_BUILD_PATH=../ocsync-build \ -DCSYNC_INCLUDE_PATH=../ocsync/src \ -DSPHINX_EXECUTABLE=/usr/local \ -DJPEG_LIBRARY=/usr/local \ -DJPEG_INCLUDE_DIR=/usr/local \ -DTIFF_LIBRARY=/usr/local \ -DTIFF_INCLUDE_DIR=/usr/local \ -DINOTIFY_INCLUDE_DIR=/usr/local \ -DCMAKE_TOOLCHAIN_FILE=../mirall/admin/win/Toolchain-mingw32-openSUSE.cmake \ ../mirall
The Question :
I am able to compile ocsync but failing in compile mirall.
The Error Code:
owncloud-build:/opt/build/mirall-build # cmake \
Please advice. Thanks!