|
Hi, Klaas told me that it is now possible to compile csync natively for Windows. Does anybody known how? I tried and got an unknown type error: winbase.h:1538:77: Fehler: unbekannter Typname: »va_list« Woboq had the same problem and pasted compilation results here: http://pastebin.com/hNwaTWTm Below you find a log of what I did so far. Thanks, Luke PS: My goal is to implement change notifications instead of polling for Windows. Compiling natively seems the best choice. Install Cygwin with package wget
wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg
apt-cyg install git apt-cyg install ca-certificates
git clone https://github.com/LukeOwncloud/mirall.git git clone git://git.csync.org/users/freitag/csync.git ocsync
mkdir ocsync-build
cd ocsync
Install Cmake and minGw. http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/ Add C++ compiler and MinGW developer kit Add c:\MinGW\bin\ to path
http://www.cmake.org/files/v2.8/cmake-2.8.10.1-win32-x86.exe
Open cmd change to ocsync-build
cmake -G "Eclipse CDT4 - MinGW Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DLOG_TO_CALLBACK=ON -DWITH_LOG4C=OFF ../ocsync
Output:
Download and extract next to ocsync and ocsync-build: http://www.sqlite.org/sqlite-shell-win32-x86-3071401.zip http://www.sqlite.org/sqlite-dll-win32-x86-3071401.zip http://www.sqlite.org/sqlite-amalgamation-3071401.zip
Second try cmake -G "Eclipse CDT4 - MinGW Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DLOG_TO_CALLBACK=ON -DWITH_LOG4C=OFF -DSQLITE3_LIBRARIES="..\sqlite3" ../ocsync
Ouput:
Download and extract next to ocsync and ocsync-build http://ndevilla.free.fr/iniparser/iniparser-3.1.tar.gz
Third try: cmake -G "Eclipse CDT4 - MinGW Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DLOG_TO_CALLBACK=ON -DWITH_LOG4C=OFF -DSQLITE3_LIBRARIES="..\sqlite3" -DINIPARSER_LIBRARIES="..\iniparser" -DINIPARSER_INCLUDE_DIRS="..\iniparser\src" ../ocsync
Output:
Empty folder ocsync-build and retry. If still SHLWAPI_LIBRARY not found, try:
Download Microsoft Windows SDK for Windows 7 and .NET Framework 4 wget http://download.microsoft.com/download/F/1/0/F10113F5-B750-4969-A255-274341AC6BCE/GRMSDK_EN_DVD.iso
Extract iso using uniextract. Run and install GRMSDK_EN_DVD\Setup\WinSDKBuild\WinSDKBuild_x86.msi (using uniextract does not work!) Files are available at: c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1\Include\Shlwapi.h c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1\Lib\ShLwApi.Lib
If cmake succeeds: mingw32-make
|
_______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud

