Bi-monthly release with minor bug fixes and improvements
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
:~/indilib/libindi_3rdparty-test/libindi_3rdparty-1.0.0$ make
[ 25%] Building CXX object indi-gphoto/CMakeFiles/indi_gphoto_ccd.dir/gphoto_ccd.o
In file included from /home/erik/indilib/libindi_3rdparty-test/libindi_3rdparty-1.0.0/indi-gphoto/gphoto_ccd.h:28:0,
from /home/erik/indilib/libindi_3rdparty-test/libindi_3rdparty-1.0.0/indi-gphoto/gphoto_ccd.cpp:40:
/usr/include/libindi/indicontroller.h:76:18: error: ‘function’ in namespace ‘std’ does not name a template type
typedef std::function<void (const char * joystick_n, double mag, double angle, void *context)> joystickFunc;
^
/usr/include/libindi/indicontroller.h:81:18: error: ‘function’ in namespace ‘std’ does not name a template type
typedef std::function<void (const char * axis_n, double value, void *context)> axisFunc;
^
/usr/include/libindi/indicontroller.h:86:18: error: ‘function’ in namespace ‘std’ does not name a template type
typedef std::function<void (const char * button_n, ISState state, void *context)> buttonFunc;
^
/usr/include/libindi/indicontroller.h:121:30: error: ‘joystickFunc’ has not been declared
void setJoystickCallback(joystickFunc joystickCallback);
^
/usr/include/libindi/indicontroller.h:127:26: error: ‘axisFunc’ has not been declared
void setAxisCallback(axisFunc axisCallback);
^
/usr/include/libindi/indicontroller.h:133:28: error: ‘buttonFunc’ has not been declared
void setButtonCallback(buttonFunc buttonCallback);
^
/usr/include/libindi/indicontroller.h:148:5: error: ‘joystickFunc’ does not name a type
joystickFunc joystickCallbackFunc;
^
/usr/include/libindi/indicontroller.h:149:5: error: ‘buttonFunc’ does not name a type
buttonFunc buttonCallbackFunc;
^
/usr/include/libindi/indicontroller.h:150:5: error: ‘axisFunc’ does not name a type
axisFunc axisCallbackFunc;
^
/home/erik/indilib/libindi_3rdparty-test/libindi_3rdparty-1.0.0/indi-gphoto/gphoto_ccd.cpp: In constructor ‘GPhotoCCD::GPhotoCCD()’:
/home/erik/indilib/libindi_3rdparty-test/libindi_3rdparty-1.0.0/indi-gphoto/gphoto_ccd.cpp:167:47: error: invalid conversion from ‘void (*)(const char*, ISState, void*)’ to ‘int’ [-fpermissive]
controller->setButtonCallback(buttonHelper);
^
In file included from /home/erik/indilib/libindi_3rdparty-test/libindi_3rdparty-1.0.0/indi-gphoto/gphoto_ccd.h:28:0,
from /home/erik/indilib/libindi_3rdparty-test/libindi_3rdparty-1.0.0/indi-gphoto/gphoto_ccd.cpp:40:
/usr/include/libindi/indicontroller.h:133:10: note: initializing argument 1 of ‘void INDI::Controller::setButtonCallback(int)’
void setButtonCallback(buttonFunc buttonCallback);
^
/home/erik/indilib/libindi_3rdparty-test/libindi_3rdparty-1.0.0/indi-gphoto/gphoto_ccd.cpp: In member function ‘virtual void GPhotoCCD::processButton(const char*, ISState)’:
/home/erik/indilib/libindi_3rdparty-test/libindi_3rdparty-1.0.0/indi-gphoto/gphoto_ccd.cpp:1335:22: error: return-statement with a value, in function returning 'void' [-fpermissive]
if (rv) {return true;}
^
/home/erik/indilib/libindi_3rdparty-test/libindi_3rdparty-1.0.0/indi-gphoto/gphoto_ccd.cpp:1341:13: error: return-statement with a value, in function returning 'void' [-fpermissive]
return true;
^
indi-gphoto/CMakeFiles/indi_gphoto_ccd.dir/build.make:54: recipe for target 'indi-gphoto/CMakeFiles/indi_gphoto_ccd.dir/gphoto_ccd.o' failed
make[2]: *** [indi-gphoto/CMakeFiles/indi_gphoto_ccd.dir/gphoto_ccd.o] Error 1
CMakeFiles/Makefile2:75: recipe for target 'indi-gphoto/CMakeFiles/indi_gphoto_ccd.dir/all' failed
make[1]: *** [indi-gphoto/CMakeFiles/indi_gphoto_ccd.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.