help needed to build Mac client

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
42 messages Options
123
Reply | Threaded
Open this post in threaded view
|

Re: help needed to build Mac client

satelier.martin
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 !!!
Reply | Threaded
Open this post in threaded view
|

Re: help needed to build Mac client

satelier.martin
I could compile without problems for mac osx 10.8. The above error was why not specify the absolute path of the parameters and DCSYNC_INCLUDE_PATH DCSYNC_BUILD_PATH
123