[Owncloud] Problem cross compiling mirall

Klaas Freitag freitag at owncloud.com
Wed Oct 2 09:56:25 UTC 2013


On 02.10.2013 11:18, Manuel Padrón Martínez wrote:
> Hi:
>
> I'm trying to cross compile mirall for win32 on opensuse. I've done this other times without problems but now I'm getting this error.
>
> [  1%] Building CXX object src/CMakeFiles/owncloudsync.dir/mirall/folderman.cpp.obj
> In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/QtCore/QMetaType:1:0,
>                   from /root/original/mirall/src/mirall/syncfileitem.h:19,
>                   from /root/original/mirall/src/mirall/syncresult.h:22,
>                   from /root/original/mirall/src/mirall/folder.h:20,
>                   from /root/original/mirall/src/mirall/folderman.h:23,
>                   from /root/original/mirall/src/mirall/folderman.cpp:15:
> /root/original/mirall/src/mirall/csyncthread.h:36:20: error: 'CSYNC_STATUS' was not declared in this scope
>   Q_DECLARE_METATYPE(CSYNC_STATUS)
>                      ^
>
> Any idea?
You are problably on the wrong branch of ocsync.

If you build master, use
http://git.csync.org/users/owncloud/csync.git/ with branch ocsync

We did not yet reflect that in the documentation because the switch is new.

Klaas




More information about the Owncloud mailing list