×

INDI Library v1.9.9 Released (30 Nov 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

cam86 indi driver for astroberry

  • Posts: 5
  • Thank you received: 0
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?
2 years 10 months ago #50867

Please Log in or Create an account to join the conversation.

  • Posts: 156
  • Thank you received: 51
Hi
First, libftdi is the tricky one
Try to follow this :
developer.intra2net.com/mailarchive/html...i/2013/msg00014.html
(until step 4)

Then :
ssh to your pi and install compilation tools :
(copy/paste bold lines and press enter)
sudo apt-get install build-essential gcc cmake git
install indilib dev prerequisites :
sudo apt-get install cdbs libcfitsio-dev libnova-dev libusb-1.0-0-dev libjpeg-dev libusb-dev libtiff5-dev libftdi-dev fxload libkrb5-dev libcurl4-gnutls-dev libraw-dev libgphoto2-dev libgsl0-dev dkms libboost-regex-dev libgps-dev libdc1394-22-dev

Clone cam86 driver somewhere on your machine (here ~/tmp)
cd
mkdir tmp
cd tmp
git clone github.com/gehelem/indi_cam86_ccd.git
cd indi_cam86_ccd


Then switch to my lastest code :
git checkout workinprogress

Then compilation steps starts :
mkdir build
cd build
cmake ..
(<= two points are important !)
make
If you have any error in the 2 previous steps, tell me

You have to manually isnstall udev rules file, i have to fix that :
sudo cp ../99-cam86.rules /etc/udev/rules.d/
And restart udev :
sudo service udev restart

plug your cam86

From here you can run the driver like that :
indiserver -v -m 100 ./indi_cam86_ccd

you can also install the driver into your environemnt :
sudo make install
with that one, you can use the driver like any other one.

Gilles.
The following user(s) said Thank You: charles
2 years 10 months ago #50874

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
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.
2 years 10 months ago #50906

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
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?
2 years 10 months ago #50912

Please Log in or Create an account to join the conversation.

  • Posts: 156
  • Thank you received: 51
Can you provide a screenshot ?
i must say most of these problems seem to be related to libftdi driver, wich is much less efficient than D2XX
(especially on these small SBC)
but using it is mandatory...

you can try to play with baudrates, latency and timer values
good luck
2 years 10 months ago #50916

Please Log in or Create an account to join the conversation.

  • Posts: 1
  • Thank you received: 0

I have problem in cmake .. step it got error result, how can I do? (Im using Cam90)

-- The C 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
-- Build type: RelWithDebInfo
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Checking for module 'libusb-1.0'
-- No package 'libusb-1.0' found
-- Could NOT find LIBUSB (missing: LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIR)
-- Detected git snapshot version: v1.4-37-gafd738f
-- Found Confuse: /usr/lib/arm-linux-gnueabihf/libconfuse.so
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Libintl: /usr/include
-- Building ftdi_eeprom
-- Summary of build options:

Build static libs: ON
Build C++ bindings: OFF
Build Python bindings: OFF
Build ftdi_eeprom: ON
Build examples: ON
Build tests: OFF
Build API documentation: OFF

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBUSB_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/stellarmate/libftdi/libftdi
used as include directory in directory /home/stellarmate/libftdi/libftdi
used as include directory in directory /home/stellarmate/libftdi/libftdi
used as include directory in directory /home/stellarmate/libftdi/libftdi
used as include directory in directory /home/stellarmate/libftdi/libftdi
used as include directory in directory /home/stellarmate/libftdi/libftdi
used as include directory in directory /home/stellarmate/libftdi/libftdi
used as include directory in directory /home/stellarmate/libftdi/libftdi
used as include directory in directory /home/stellarmate/libftdi/libftdi
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/ftdi_eeprom
used as include directory in directory /home/stellarmate/libftdi/libftdi/ftdi_eeprom
used as include directory in directory /home/stellarmate/libftdi/libftdi/ftdi_eeprom
used as include directory in directory /home/stellarmate/libftdi/libftdi/ftdi_eeprom
used as include directory in directory /home/stellarmate/libftdi/libftdi/ftdi_eeprom
used as include directory in directory /home/stellarmate/libftdi/libftdi/ftdi_eeprom
used as include directory in directory /home/stellarmate/libftdi/libftdi/ftdi_eeprom
used as include directory in directory /home/stellarmate/libftdi/libftdi/ftdi_eeprom
used as include directory in directory /home/stellarmate/libftdi/libftdi/ftdi_eeprom
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/packages
used as include directory in directory /home/stellarmate/libftdi/libftdi/packages
used as include directory in directory /home/stellarmate/libftdi/libftdi/packages
used as include directory in directory /home/stellarmate/libftdi/libftdi/packages
used as include directory in directory /home/stellarmate/libftdi/libftdi/packages
used as include directory in directory /home/stellarmate/libftdi/libftdi/packages
used as include directory in directory /home/stellarmate/libftdi/libftdi/packages
used as include directory in directory /home/stellarmate/libftdi/libftdi/packages
LIBUSB_LIBRARIES (ADVANCED)
linked by target "ftdi1-static" in directory /home/stellarmate/libftdi/libftdi/src
linked by target "ftdi1" in directory /home/stellarmate/libftdi/libftdi/src

-- Configuring incomplete, errors occurred!
See also "/home/stellarmate/libftdi/libftdi/build/CMakeFiles/CMakeOutput.log".
2 years 9 months ago #52399

Please Log in or Create an account to join the conversation.

  • Posts: 983
  • Thank you received: 375
You are missing libusb-dev
-- Could NOT find LIBUSB (missing: LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIR)
--
Radek Kaczorek
Astroberry Server | Orion CT8 | Askar FRA 400 | NEQ6 (hypermod) | Atik 460EX | ASI 1600 | ASI 120MM | Atik EFW2
2 years 9 months ago #52446

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
when i was build the cam90 indi driver. it shows those erroes
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

Could you help me?Thank you very much!
9 months 4 weeks ago #81879

Please Log in or Create an account to join the conversation.

Moderators: Radek Kaczorek
Time to create page: 0.935 seconds