Hey,
Maybe someone can help. I'm trying to compile Sportwatcher (
http://www.theosys.at/sportwatcher/index.de.html) on Slackware current, but I'm getting the following error:
: /media/daten/Programme/sportwatcher/build # make
[ 0%] Built target gant_automoc
Scanning dependencies of target gant
[ 2%] Building CXX object libgant/CMakeFiles/gant.dir/gant_automoc.o
[ 4%] Building CXX object libgant/CMakeFiles/gant.dir/gant.o
/media/daten/Programme/sportwatcher/libgant/gant.cpp: In member function 'bool ant::get_data(int)':
/media/daten/Programme/sportwatcher/libgant/gant.cpp:352:1: error: control reaches end of non-void function [-Werror=return-type]
/media/daten/Programme/sportwatcher/libgant/gant.cpp: At global scope:
/media/daten/Programme/sportwatcher/libgant/gant.cpp:40:13: warning: 'sendack1' defined but not used [-Wunused-variable]
/media/daten/Programme/sportwatcher/libgant/gant.cpp:47:13: warning: 'sendack2' defined but not used [-Wunused-variable]
/media/daten/Programme/sportwatcher/libgant/gant.cpp:51:13: warning: 'sendack3' defined but not used [-Wunused-variable]
/media/daten/Programme/sportwatcher/libgant/gant.cpp:54:13: warning: 'sendack4' defined but not used [-Wunused-variable]
cc1plus: some warnings being treated as errors
make[2]: *** [libgant/CMakeFiles/gant.dir/gant.o] Error 1
make[1]: *** [libgant/CMakeFiles/gant.dir/all] Error 2
make: *** [all] Error 2
I have installed everything that is needed accoring to the documentation.
Someone an idea?
Best regards