Jerry Black created a new topic ' error compiling from git source' in the forum. 3 months ago


I'm getting this error when compiling on ubuntu mate 20.04LTS when using Nou's compile script. (

It must be just my configuration (it's a new install of 20.04 on an Odroid-N2), but it's not obvious to me what I'm missing...

In file included from /usr/include/libindi/indisensorinterface.h:22,
                 from /usr/include/libindi/indispectrograph.h:21,
                 from /home/odroid/astro-soft/indi-3rdparty/indi-ahp-xc/indi_ahp_xc.h:23,
                 from /home/odroid/astro-soft/indi-3rdparty/indi-ahp-xc/indi_ahp_xc.cpp:36:
/usr/include/libindi/dsp.h:1346:63: note:   initializing argument 2 of ‘void dsp_file_write_fits(const char*, int, dsp_stream_p)’
 1346 | DLL_EXPORT void dsp_file_write_fits(const char* filename, int bpp, dsp_stream_p stream);
      |                                                           ~~~~^~~
/home/odroid/astro-soft/indi-3rdparty/indi-ahp-xc/indi_ahp_xc.cpp:344:57: error: void value not ignored as it ought to be
  344 |                         void* fits = dsp_file_write_fits(-64, &memsize, autocorrelations_str[x]);
      |                                      ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/odroid/astro-soft/indi-3rdparty/indi-ahp-xc/indi_ahp_xc.cpp:373:62: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
  373 |                             void* fits = dsp_file_write_fits(-64, &memsize, crosscorrelations_str[x]);
      |                                                              ^~~
      |                                                              |
      |                                                              int