Problems with Compiling Mirall

Ask all your questions on desktop sync clients. Please read the Support Forum Rules
Forum rules
Questions on desktop sync clients only.
You want to report a bug or check for feature requests?
Please visit https://github.com/owncloud/mirall/issues

Problems with Compiling Mirall

Postby tim » Sat Jun 23, 2012 10:35 pm

Hi there,

I was able to compile csync just fine, but whenever I try to compile mirall-1.0.3:
Code: Select all
$ cmake .
# make && make install

This error is returned:
Code: Select all
Scanning dependencies of target mirall
[ 50%] Building CXX object src/CMakeFiles/mirall.dir/main.cpp.o
Linking CXX executable ../bin/mirall
libmirall_static.a(application.cpp.o): In function `Mirall::Application::setupLogBrowser()':
application.cpp:(.text+0x274b): undefined reference to `csync_set_log_callback'
collect2: ld returned 1 exit status
make[2]: *** [bin/mirall] Error 1
make[1]: *** [src/CMakeFiles/mirall.dir/all] Error 2
make: *** [all] Error 2


What could any potential problems be? Thanks for any help!
tim
Newbie
 
Posts: 1
Joined: Sat Jun 23, 2012 10:28 pm

Re: Problems with Compiling Mirall

Postby diesseits » Wed Jul 04, 2012 10:48 pm

I'm also getting this error trying to compile on kubuntu 12.04.
diesseits
Newbie
 
Posts: 5
Joined: Wed Jul 04, 2012 10:56 am

Re: Problems with Compiling Mirall

Postby rpedrica » Wed Jul 11, 2012 5:22 pm

You need to enable LOG_TO_CALLBACK in DefineOptions.cmake for csync before compiling mirall. So make the change above in csync, compile csync then compile mirall.
rpedrica
Newbie
 
Posts: 9
Joined: Tue Apr 17, 2012 9:34 am


Return to ownCloud desktop sync clients

Who is online

Users browsing this forum: Yahoo [Bot] and 11 guests