[Owncloud] help needed to build Mac client

satelier.martin satelier.martin at gmail.com
Sat Jul 27 17:42:45 UTC 2013


I'm also trying to compile the version for Mac OSX.

By following a few steps from the previous post arrives to do the make
package, but when this realizing it results in error:


make package
[  1%] Building CXX object
src/CMakeFiles/owncloudsync.dir/mirall/folderman.cpp.o
In file included from /Users/sateliermartin/Desktop/ownclud
client/mirall/src/mirall/folderman.cpp:15:
In file included from /Users/sateliermartin/Desktop/ownclud
client/mirall/src/mirall/folderman.h:22:
In file included from /Users/sateliermartin/Desktop/ownclud
client/mirall/src/mirall/folder.h:29:
In file included from /Users/sateliermartin/Desktop/ownclud
client/mirall/src/mirall/syncresult.h:22:
/Users/sateliermartin/Desktop/ownclud
client/mirall/src/mirall/syncfileitem.h:31:5: error: unknown type
      name 'csync_instructions_e'
    csync_instructions_e _instruction;
    ^
In file included from /Users/sateliermartin/Desktop/ownclud
client/mirall/src/mirall/folderman.cpp:17:
In file included from /Users/sateliermartin/Desktop/ownclud
client/mirall/src/mirall/owncloudfolder.h:23:
/Users/sateliermartin/Desktop/ownclud
client/mirall/src/mirall/csyncthread.h:41:40: error: C++ requires a
      type specifier for all declarations
    static QString csyncErrorToString( CSYNC_ERROR_CODE, const char * );
                                       ^~~~~~~~~~~~~~~~
/Users/sateliermartin/Desktop/ownclud
client/mirall/src/mirall/csyncthread.h:64:26: error: ISO C++ forbids
      forward references to 'enum' types
                    enum csync_notify_type_e kind,
                         ^
/Users/sateliermartin/Desktop/ownclud
client/mirall/src/mirall/csyncthread.h:68:31: error: unknown type
      name 'TREE_WALK_FILE'
    static int treewalkLocal( TREE_WALK_FILE*, void *);
                              ^
/Users/sateliermartin/Desktop/ownclud
client/mirall/src/mirall/csyncthread.h:69:32: error: unknown type
      name 'TREE_WALK_FILE'
    static int treewalkRemote( TREE_WALK_FILE*, void *);
                               ^
/Users/sateliermartin/Desktop/ownclud
client/mirall/src/mirall/csyncthread.h:70:23: error: unknown type
      name 'TREE_WALK_FILE'
    int treewalkFile( TREE_WALK_FILE*, bool );
                      ^
/Users/sateliermartin/Desktop/ownclud
client/mirall/src/mirall/csyncthread.h:71:24: error: unknown type
      name 'TREE_WALK_FILE'
    int treewalkError( TREE_WALK_FILE* );
                       ^
/Users/sateliermartin/Desktop/ownclud
client/mirall/src/mirall/csyncthread.h:73:29: error: unknown type
      name 'TREE_WALK_FILE'
    static int walkFinalize(TREE_WALK_FILE*, void* );
                            ^
8 errors generated.
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



We hope to reach a solution.
Thank you !!!




--
View this message in context: http://owncloud.10557.n7.nabble.com/help-needed-to-build-Mac-client-tp9221p10229.html
Sent from the ownCloud mailing list archive at Nabble.com.



More information about the Owncloud mailing list