i have built my own cam90 camera based on ICX493AQA. its an open source astrophotography camera.when i compile the indi driver on the astroberry system. it have some errors.like
astroberry@astroberry:~/Downloads/indi_cam90_ccd $ mkdir build
astroberry@astroberry:~/Downloads/indi_cam90_ccd $ cd build
astroberry@astroberry:~/Downloads/indi_cam90_ccd/build $ cmake ..
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found CFITSIO 3.45: /usr/lib/arm-linux-gnueabihf/libcfitsio.so
-- Found INDI: /usr/lib/arm-linux-gnueabihf/libindidriver.so;/usr/lib/arm-linux-gnueabihf/libindiAlignmentDriver.so (found version "1.9.4")
-- Found ZLIB: /usr/lib/arm-linux-gnueabihf/libz.so (found version "1.2.11")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/astroberry/Downloads/indi_cam90_ccd/build
astroberry@astroberry:~/Downloads/indi_cam90_ccd/build $ make
Scanning dependencies of target cam90
[ 25%] Building C object CMakeFiles/cam90.dir/libcam90.o
/home/astroberry/Downloads/indi_cam90_ccd/libcam90.c: In function 'Spi_comm':
/home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:243:5: warning: 'ftdi_usb_purge_rx_buffer' is deprecated [-Wdeprecated-declarations]
ftdi_usb_purge_rx_buffer ( CAM9B );
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:27:
/usr/local/include/libftdi1/ftdi.h:564:20: note: declared here
int DEPRECATED(ftdi_usb_purge_rx_buffer(struct ftdi_context *ftdi));
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libftdi1/ftdi.h:247:55: note: in definition of macro 'DEPRECATED'
#define DEPRECATED(func) __attribute__ ((deprecated)) func
^~~~
/home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:244:5: warning: 'ftdi_usb_purge_tx_buffer' is deprecated [-Wdeprecated-declarations]
ftdi_usb_purge_tx_buffer ( CAM9B );
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:27:
/usr/local/include/libftdi1/ftdi.h:565:20: note: declared here
int DEPRECATED(ftdi_usb_purge_tx_buffer(struct ftdi_context *ftdi));
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libftdi1/ftdi.h:247:55: note: in definition of macro 'DEPRECATED'
#define DEPRECATED(func) __attribute__ ((deprecated)) func
^~~~
/home/astroberry/Downloads/indi_cam90_ccd/libcam90.c: In function 'posExecute':
/home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:283:13: warning: 'ftdi_usb_purge_rx_buffer' is deprecated [-Wdeprecated-declarations]
ftdi_usb_purge_rx_buffer ( CAM9A );
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:27:
/usr/local/include/libftdi1/ftdi.h:564:20: note: declared here
int DEPRECATED(ftdi_usb_purge_rx_buffer(struct ftdi_context *ftdi));
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libftdi1/ftdi.h:247:55: note: in definition of macro 'DEPRECATED'
#define DEPRECATED(func) __attribute__ ((deprecated)) func
^~~~
/home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:284:13: warning: 'ftdi_usb_purge_tx_buffer' is deprecated [-Wdeprecated-declarations]
ftdi_usb_purge_tx_buffer ( CAM9A );
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:27:
/usr/local/include/libftdi1/ftdi.h:565:20: note: declared here
int DEPRECATED(ftdi_usb_purge_tx_buffer(struct ftdi_context *ftdi));
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libftdi1/ftdi.h:247:55: note: in definition of macro 'DEPRECATED'
#define DEPRECATED(func) __attribute__ ((deprecated)) func
^~~~
/home/astroberry/Downloads/indi_cam90_ccd/libcam90.c: In function 'readframe':
/home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:424:5: warning: 'ftdi_usb_purge_rx_buffer' is deprecated [-Wdeprecated-declarations]
ftdi_usb_purge_rx_buffer ( CAM9A );
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:27:
/usr/local/include/libftdi1/ftdi.h:564:20: note: declared here
int DEPRECATED(ftdi_usb_purge_rx_buffer(struct ftdi_context *ftdi));
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libftdi1/ftdi.h:247:55: note: in definition of macro 'DEPRECATED'
#define DEPRECATED(func) __attribute__ ((deprecated)) func
^~~~
/home/astroberry/Downloads/indi_cam90_ccd/libcam90.c: In function 'readframe2':
/home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:441:5: warning: 'ftdi_usb_purge_rx_buffer' is deprecated [-Wdeprecated-declarations]
ftdi_usb_purge_rx_buffer ( CAM9A );
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:27:
/usr/local/include/libftdi1/ftdi.h:564:20: note: declared here
int DEPRECATED(ftdi_usb_purge_rx_buffer(struct ftdi_context *ftdi));
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libftdi1/ftdi.h:247:55: note: in definition of macro 'DEPRECATED'
#define DEPRECATED(func) __attribute__ ((deprecated)) func
^~~~
/home/astroberry/Downloads/indi_cam90_ccd/libcam90.c: In function 'cameraConnect':
/home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:541:9: warning: 'ftdi_usb_purge_rx_buffer' is deprecated [-Wdeprecated-declarations]
if ( ftdi_usb_purge_rx_buffer ( CAM9A ) <0 ) fprintf ( stderr,"libftdi error purge RX interface A\n" );
^~
In file included from /home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:27:
/usr/local/include/libftdi1/ftdi.h:564:20: note: declared here
int DEPRECATED(ftdi_usb_purge_rx_buffer(struct ftdi_context *ftdi));
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libftdi1/ftdi.h:247:55: note: in definition of macro 'DEPRECATED'
#define DEPRECATED(func) __attribute__ ((deprecated)) func
^~~~
/home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:542:9: warning: 'ftdi_usb_purge_tx_buffer' is deprecated [-Wdeprecated-declarations]
if ( ftdi_usb_purge_tx_buffer ( CAM9A ) <0 ) fprintf ( stderr,"libftdi error purge TX interface A\n" );
^~
In file included from /home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:27:
/usr/local/include/libftdi1/ftdi.h:565:20: note: declared here
int DEPRECATED(ftdi_usb_purge_tx_buffer(struct ftdi_context *ftdi));
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libftdi1/ftdi.h:247:55: note: in definition of macro 'DEPRECATED'
#define DEPRECATED(func) __attribute__ ((deprecated)) func
^~~~
/home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:543:9: warning: 'ftdi_usb_purge_rx_buffer' is deprecated [-Wdeprecated-declarations]
if ( ftdi_usb_purge_rx_buffer ( CAM9B ) <0 ) fprintf ( stderr,"libftdi error purge RX interface B\n" );
^~
In file included from /home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:27:
/usr/local/include/libftdi1/ftdi.h:564:20: note: declared here
int DEPRECATED(ftdi_usb_purge_rx_buffer(struct ftdi_context *ftdi));
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libftdi1/ftdi.h:247:55: note: in definition of macro 'DEPRECATED'
#define DEPRECATED(func) __attribute__ ((deprecated)) func
^~~~
/home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:544:9: warning: 'ftdi_usb_purge_tx_buffer' is deprecated [-Wdeprecated-declarations]
if ( ftdi_usb_purge_tx_buffer ( CAM9B ) <0 ) fprintf ( stderr,"libftdi error purge TX interface B\n" );
^~
In file included from /home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:27:
/usr/local/include/libftdi1/ftdi.h:565:20: note: declared here
int DEPRECATED(ftdi_usb_purge_tx_buffer(struct ftdi_context *ftdi));
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libftdi1/ftdi.h:247:55: note: in definition of macro 'DEPRECATED'
#define DEPRECATED(func) __attribute__ ((deprecated)) func
^~~~
/home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:568:9: warning: 'ftdi_usb_purge_rx_buffer' is deprecated [-Wdeprecated-declarations]
if ( ftdi_usb_purge_rx_buffer ( CAM9A ) <0 ) fprintf ( stderr,"libftdi error purge RX interface A\n" );
^~
In file included from /home/astroberry/Downloads/indi_cam90_ccd/libcam90.c:27:
/usr/local/include/libftdi1/ftdi.h:564:20: note: declared here
int DEPRECATED(ftdi_usb_purge_rx_buffer(struct ftdi_context *ftdi));
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libftdi1/ftdi.h:247:55: note: in definition of macro 'DEPRECATED'
#define DEPRECATED(func) __attribute__ ((deprecated)) func
^~~~
[ 50%] Linking C static library libcam90.a
[ 50%] Built target cam90
Scanning dependencies of target indi_cam90_ccd
[ 75%] Building CXX object CMakeFiles/indi_cam90_ccd.dir/cam90_ccd.o
/home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:30:33: error: invalid pure specifier (only '= 0' is allowed) before ';' token
const int POLLMS = 300; /* Polling interval 500 ms */
^
/home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:30:33: error: function 'const int refCurrentPollingPeriod()' is initialized like a variable
In file included from /usr/include/libindi/indiccd.h:30,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.h:27,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:27:
/home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp: In member function 'virtual bool Cam90CCD::Connect()':
/usr/include/libindi/defaultdevice.h:506:40: warning: 'uint32_t& INDI::DefaultDevice::refCurrentPollingPeriod()' is deprecated [-Wdeprecated-declarations]
#define POLLMS refCurrentPollingPeriod()
^
/home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:235:16: note: in expansion of macro 'POLLMS'
SetTimer ( POLLMS );
^~~~~~
/usr/include/libindi/defaultdevice.h:504:19: note: declared here
uint32_t &refCurrentPollingPeriod() __attribute__((deprecated));
^~~~~~~~~~~~~~~~~~~~~~~
/home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp: In member function 'virtual bool Cam90CCD::updateProperties()':
/usr/include/libindi/defaultdevice.h:506:40: warning: 'uint32_t& INDI::DefaultDevice::refCurrentPollingPeriod()' is deprecated [-Wdeprecated-declarations]
#define POLLMS refCurrentPollingPeriod()
^
/home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:382:20: note: in expansion of macro 'POLLMS'
SetTimer ( POLLMS );
^~~~~~
/usr/include/libindi/defaultdevice.h:504:19: note: declared here
uint32_t &refCurrentPollingPeriod() __attribute__((deprecated));
^~~~~~~~~~~~~~~~~~~~~~~
/home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:383:32: warning: 'void INDI::DefaultDevice::defineNumber(INumberVectorProperty*)' is deprecated [-Wdeprecated-declarations]
defineNumber ( &GainNP );
^
In file included from /usr/include/libindi/indiccd.h:30,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.h:27,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:27:
/usr/include/libindi/defaultdevice.h:152:14: note: declared here
void defineNumber(INumberVectorProperty *nvp) __attribute__((deprecated));
^~~~~~~~~~~~
/home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:384:34: warning: 'void INDI::DefaultDevice::defineNumber(INumberVectorProperty*)' is deprecated [-Wdeprecated-declarations]
defineNumber ( &OffsetNP );
^
In file included from /usr/include/libindi/indiccd.h:30,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.h:27,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:27:
/usr/include/libindi/defaultdevice.h:152:14: note: declared here
void defineNumber(INumberVectorProperty *nvp) __attribute__((deprecated));
^~~~~~~~~~~~
/home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:386:37: warning: 'void INDI::DefaultDevice::defineNumber(INumberVectorProperty*)' is deprecated [-Wdeprecated-declarations]
defineNumber ( &BaudrateANP );
^
In file included from /usr/include/libindi/indiccd.h:30,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.h:27,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:27:
/usr/include/libindi/defaultdevice.h:152:14: note: declared here
void defineNumber(INumberVectorProperty *nvp) __attribute__((deprecated));
^~~~~~~~~~~~
/home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:387:37: warning: 'void INDI::DefaultDevice::defineNumber(INumberVectorProperty*)' is deprecated [-Wdeprecated-declarations]
defineNumber ( &BaudrateBNP );
^
In file included from /usr/include/libindi/indiccd.h:30,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.h:27,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:27:
/usr/include/libindi/defaultdevice.h:152:14: note: declared here
void defineNumber(INumberVectorProperty *nvp) __attribute__((deprecated));
^~~~~~~~~~~~
/home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:388:41: warning: 'void INDI::DefaultDevice::defineNumber(INumberVectorProperty*)' is deprecated [-Wdeprecated-declarations]
defineNumber ( &LibftditimerANP );
^
In file included from /usr/include/libindi/indiccd.h:30,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.h:27,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:27:
/usr/include/libindi/defaultdevice.h:152:14: note: declared here
void defineNumber(INumberVectorProperty *nvp) __attribute__((deprecated));
^~~~~~~~~~~~
/home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:389:43: warning: 'void INDI::DefaultDevice::defineNumber(INumberVectorProperty*)' is deprecated [-Wdeprecated-declarations]
defineNumber ( &LibftdilatencyANP );
^
In file included from /usr/include/libindi/indiccd.h:30,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.h:27,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:27:
/usr/include/libindi/defaultdevice.h:152:14: note: declared here
void defineNumber(INumberVectorProperty *nvp) __attribute__((deprecated));
^~~~~~~~~~~~
/home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:390:41: warning: 'void INDI::DefaultDevice::defineNumber(INumberVectorProperty*)' is deprecated [-Wdeprecated-declarations]
defineNumber ( &LibftditimerBNP );
^
In file included from /usr/include/libindi/indiccd.h:30,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.h:27,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:27:
/usr/include/libindi/defaultdevice.h:152:14: note: declared here
void defineNumber(INumberVectorProperty *nvp) __attribute__((deprecated));
^~~~~~~~~~~~
/home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:391:43: warning: 'void INDI::DefaultDevice::defineNumber(INumberVectorProperty*)' is deprecated [-Wdeprecated-declarations]
defineNumber ( &LibftdilatencyBNP );
^
In file included from /usr/include/libindi/indiccd.h:30,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.h:27,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:27:
/usr/include/libindi/defaultdevice.h:152:14: note: declared here
void defineNumber(INumberVectorProperty *nvp) __attribute__((deprecated));
^~~~~~~~~~~~
/home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:392:34: warning: 'void INDI::DefaultDevice::defineSwitch(ISwitchVectorProperty*)' is deprecated [-Wdeprecated-declarations]
defineSwitch ( &CoolerSP );
^
In file included from /usr/include/libindi/indiccd.h:30,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.h:27,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:27:
/usr/include/libindi/defaultdevice.h:170:14: note: declared here
void defineSwitch(ISwitchVectorProperty *svp) __attribute__((deprecated));
^~~~~~~~~~~~
/home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:393:34: warning: 'void INDI::DefaultDevice::defineNumber(INumberVectorProperty*)' is deprecated [-Wdeprecated-declarations]
defineNumber ( &CoolerNP );
^
In file included from /usr/include/libindi/indiccd.h:30,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.h:27,
from /home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:27:
/usr/include/libindi/defaultdevice.h:152:14: note: declared here
void defineNumber(INumberVectorProperty *nvp) __attribute__((deprecated));
^~~~~~~~~~~~
/home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp: In member function 'virtual void Cam90CCD::TimerHit()':
/usr/include/libindi/defaultdevice.h:506:40: warning: 'uint32_t& INDI::DefaultDevice::refCurrentPollingPeriod()' is deprecated [-Wdeprecated-declarations]
#define POLLMS refCurrentPollingPeriod()
^
/home/astroberry/Downloads/indi_cam90_ccd/cam90_ccd.cpp:608:16: note: in expansion of macro 'POLLMS'
SetTimer ( POLLMS );
^~~~~~
/usr/include/libindi/defaultdevice.h:504:19: note: declared here
uint32_t &refCurrentPollingPeriod() __attribute__((deprecated));
^~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/indi_cam90_ccd.dir/build.make:63:CMakeFiles/indi_cam90_ccd.dir/cam90_ccd.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:78:CMakeFiles/indi_cam90_ccd.dir/all] Error 2
make: *** [Makefile:130:all] Error 2


What's the problem?How can i solve this!By the way i have installed cam86 indi driver and it works fine.


Read More...

charles replied to the topic 'cam86 indi driver for astroberry' in the forum. 3 years ago

hello gilles,the camera is alive!but i found there are some lines in the picture like Windows,but in ascom driver we set the delay will fix that problem.how can i slove this in linux indi driver?maybe the micro SD card read or write speed is too slow?

Read More...

charles replied to the topic 'cam86 indi driver for astroberry' in the forum. 3 years ago

thank you Gilles.i will try it later.i saw you on a french forum(www.webastro.net),and you build your cam86 video on youtube.

Read More...

charles created a new topic ' cam86 indi driver for astroberry' in the forum. 3 years ago

could anyone build the cam86 ccd indi driver for astroberry 2.0.1?
cam86:http://astroccd.org/2016/10/cam86/ it's a DIY cold astro ccd camera by an Ukrainian . it's use FT2232 to connect to PC
i found the indi driver github.com/gehelem/indi_cam86_ccd
but i am not good at programing how to install the driver for astroberry,do anybody can help me?

Read More...