Closed poik007 closed 10 years ago
Guess you'd better use the maillist for questions like this, see: https://mail.kde.org/mailman/listinfo/owncloud
Not sure, but intuition tell me you're on the wrong version of ocsync.
Is this the first error os is there a csync.h not found error before? But It could very well be the mismatch between the mirall version and the csync version. What are exactly the versions/branches you are building?
I'm getting the same issue on Fedora 19:
[ 7%] Building CXX object src/CMakeFiles/owncloudsync.dir/mirall/folderman.cpp.o In file included from /home/kandrews/owncloud-build/mirall/src/mirall/folder.h:22:0, from /home/kandrews/owncloud-build/mirall/src/mirall/folderman.h:23, from /home/kandrews/owncloud-build/mirall/src/mirall/folderman.cpp:15: /home/kandrews/owncloud-build/mirall/src/mirall/csyncthread.h:57:40: error: ‘CSYNC_STATUS’ has not been declared static QString csyncErrorToString( CSYNC_STATUS); ^ make[2]: * [src/CMakeFiles/owncloudsync.dir/mirall/folderman.cpp.o] Error 1 make[1]: * [src/CMakeFiles/owncloudsync.dir/all] Error 2 make: *\ [all] Error 2
I'm using the following sources: git clone git://git.csync.org/users/freitag/csync.git ocsync git clone git://github.com/owncloud/mirall.git
Both running at master
Might be worth referencing these two issues and commit: https://github.com/owncloud/mirall/issues/1155 https://github.com/owncloud/mirall/commit/84a40dcb59d9c6b02390003cdd7e62d901973405#diff-1ec11ed609725d1ba54113a43d2d6cf0 https://github.com/owncloud/mirall/issues/1115
Also to prove this I can use git checkout v1.4.2 on the mirall directory and it compiles successfully, but still crashes after a few seconds of starting the binary. The crashing issue has been fixed but master can't compile at the moment.
You need to use the "ocsync" branch of csync
Sorry on csync I checked out the dav branch as per the generic build guide (http://doc.owncloud.org/desktop/1.2/building.html#generic-build-instructions)
If this is what you mean by the ocsync branch then yes i'm already using it..
Same error for me. Any ideas?
csync has been merged into mirall. Could you retry?
Hello everyone, I've been trying to build the windows client for a few days now and I'm having some issues doing it. At first, I just want to build it as-is, without making any modification, but I always get stuck. I think that the guide http://doc.owncloud.org/desktop/1.4/building.html has some issues as well, either it's not finished or outdated in some fashion...
I started by adding the repositories for OpenSUSE12.2 (but the step that talks about http://pmbs.links2linux.org/download/mingw:/32/openSUSE_12.1/x86_64/mingw32-cross-nsis-plugin-processes-0-1.1.x86_64.rpm is broken, I had to find the same rpm somewhere else because the link has been dead for a few weeks now)
Then the generic build instructions, when I use mingw32-cmake on ocsync, I get that output:
Then I run make and there's a bunch of text outputting (I won't paste it all because I don't think it's all relevant) and it seems to work (it doesn't fail, at least)
And then I go to build mirall with
And here's the output, there are some warnings here and there but it seems like it worked?
Then I run make... :(
I'm not used to building stuff with cmake, but I know C++ errors when I see them :-1:
I'm kinda stuck there, I really wanted to play around with the source and see if I could make it do crazy things but being stuck on building the thing is really hindering my progress, thanks in advance :)