×

INDI Library v1.9.8 Released (Yesterday)

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

error compiling eqmod driver

  • Posts: 25
  • Thank you received: 1
Hello,

I'm facing an issue trying to compile the master branch of the indi-3rdparty repo.
Wether I'm trying to use the debian make_deb_pkg script or following the manual build instructions found on the github page I always get that error bellow:

<code>
[ 10%] Building CXX object CMakeFiles/indi_azgti_telescope.dir/azgti.cpp.o
In file included from /home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/align/align.h:20,  from /home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/eqmodbase.h:23,                                                                                                                                                 
                 from /home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/azgtibase.h:21,                                                                                                                                                 
                 from /home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/azgti.cpp:21:                                                                                                                                                   
/home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/align/pointset.h:62:50: error: ‘INDI::IGeographicCoordinates’ has not been declared                                                                                                   
   62 |         void AddPoint(AlignData aligndata, INDI::IGeographicCoordinates *pos);                                                                                                                                                         
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~
/home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/align/pointset.h:78:43: error: ‘INDI::IGeographicCoordinates’ has not been declared
   78 |                                     INDI::IGeographicCoordinates *position, bool ingoto);
      |                                           ^~~~~~~~~~~~~~~~~~~~~~
/home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/align/pointset.h:80:94: error: ‘INDI::IGeographicCoordinates’ has not been declared
   80 |         void AltAzFromRaDec(double ra, double dec, double jd, double *alt, double *az, INDI::IGeographicCoordinates *pos);
      |                                                                                              ^~~~~~~~~~~~~~~~~~~~~~
/home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/align/pointset.h:81:103: error: ‘INDI::IGeographicCoordinates’ has not been declared
   81 |         void AltAzFromRaDecSidereal(double ra, double dec, double lst, double *alt, double *az, INDI::IGeographicCoordinates *pos);
      |                                                                                                       ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/align/align.h:20,
                 from /home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/eqmodbase.h:23,
                 from /home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/azgtibase.h:21,
                 from /home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/azgti.cpp:21:
/home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/align/pointset.h:82:94: error: ‘INDI::IGeographicCoordinates’ has not been declared
   82 |         void RaDecFromAltAz(double alt, double az, double jd, double *ra, double *dec, INDI::IGeographicCoordinates *pos);
      |                                                                                              ^~~~~~~~~~~~~~~~~~~~~~
/home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/align/pointset.h:97:15: error: ‘IGeographicCoordinates’ in namespace ‘INDI’ does not name a type
   97 |         INDI::IGeographicCoordinates *lnalignpos;
      |               ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/eqmodbase.h:23,
                 from /home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/azgtibase.h:21,
                 from /home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/azgti.cpp:21:
/home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/align/align.h:74:77: error: ‘INDI::IGeographicCoordinates’ has not been declared
   74 |         virtual void GetAlignedCoords(SyncData globalsync, double jd, INDI::IGeographicCoordinates *position, double currentRA,
      |                                                                             ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/eqmodbase.h:23,
                 from /home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/azgtibase.h:21,
                 from /home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/azgti.cpp:21:
/home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/align/align.h:76:50: error: ‘INDI::IGeographicCoordinates’ has not been declared
   76 |         virtual void AlignNStar(double jd, INDI::IGeographicCoordinates *position, double currentRA, double currentDEC,
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~
/home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/align/align.h:78:52: error: ‘INDI::IGeographicCoordinates’ has not been declared
   78 |         virtual void AlignNearest(double jd, INDI::IGeographicCoordinates *position, double currentRA, double currentDEC,
      |                                                    ^~~~~~~~~~~~~~~~~~~~~~
/home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/align/align.h:80:70: error: ‘INDI::IGeographicCoordinates’ has not been declared
   80 |         virtual void AlignGoto(SyncData globalsync, double jd, INDI::IGeographicCoordinates *position, double *gotoRA,
      |                                                                      ^~~~~~~~~~~~~~~~~~~~~~
/home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/align/align.h:84:87: error: ‘INDI::IGeographicCoordinates’ has not been declared
   84 |         virtual void AlignStandardSync(SyncData globalsync, SyncData *thissync, INDI::IGeographicCoordinates *position);
      |                                                                                       ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/azgtibase.h:21,
                 from /home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/azgti.cpp:21:
/home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/eqmodbase.h:78:15: error: ‘IEquatorialCoordinates’ in namespace ‘INDI’ does not name a type
   78 |         INDI::IEquatorialCoordinates lnradec;
      |               ^~~~~~~~~~~~~~~~~~~~~~
/home/alxgomz/workspace/libindi/indi-3rdparty/indi-eqmod/eqmodbase.h:79:15: error: ‘IHorizontalCoordinates’ in namespace ‘INDI’ does not name a type
   79 |         INDI::IHorizontalCoordinates lnaltaz;
      |               ^~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/indi_azgti_telescope.dir/build.make:108 : CMakeFiles/indi_azgti_telescope.dir/azgti.cpp.o] Erreur 1
make[1]: *** [CMakeFiles/Makefile2:97 : CMakeFiles/indi_azgti_telescope.dir/all] Erreur 2
make: *** [Makefile:149 : all] Erreur 2 </code>

I have compiled previous versions without errors and managed to build & install indi-core without problem. I have all requirements installed (even installed libindi-dev).
Some info about my compilation env:

<code>
$ cmake --version
cmake version 3.18.4
$ gcc --version
gcc (Debian 10.2.1-6) 10.2.1 20210110
$ dpkg -l | egrep '^ii\s+(lib)?indi'
ii indi-bin 1.9.2 amd64 INDI server, drivers and tools
ii libindi-data 1.9.2 all Instrument-Neutral Device Interface library -- shared data
ii libindi-dev 1.9.2 amd64 Instrument-Neutral Device Interface library -- development files
ii libindi1:amd64 1.9.2 amd64 Instrument-Neutral Device Interface library -- shared library
</code>

Anyone facing that same issue or knowing how to fix it?
Last edit: 11 months 1 week ago by Alexandre Chapellon.
11 months 1 week ago #76690

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

It's getting linked against an older version of INDI. Anything residing in /usr/local perhaps?
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
11 months 1 week ago #76692

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

  • Posts: 25
  • Thank you received: 1
Sure that was it!
Thank you (and sorry for the late reply)
1 month 2 weeks ago #85281

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

Time to create page: 0.380 seconds