×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Latest indi-eqmod won't compile.

  • Posts: 33
  • Thank you received: 0
I just did a git pull and the 3rdparty / indi-eqmod stopped compiling. Older versions compiled just fine. Something missing from the commit? Here's what I'm getting:
Scanning dependencies of target indi_eqmod_telescope
[  1%] Building C object indi-eqmod/CMakeFiles/indi_eqmod_telescope.dir/align/htm.o
[  2%] Building C object indi-eqmod/CMakeFiles/indi_eqmod_telescope.dir/align/chull/chull.o
[  3%] Building CXX object indi-eqmod/CMakeFiles/indi_eqmod_telescope.dir/eqmod.o
/tmp/indi/3rdparty/indi-eqmod/eqmod.cpp: In member function ‘double EQMod::GetRATrackRate()’:
/tmp/indi/3rdparty/indi-eqmod/eqmod.cpp:1643:16: error: ‘TRACKRATE_SIDEREAL’ was not declared in this scope
         rate = TRACKRATE_SIDEREAL;
                ^
/tmp/indi/3rdparty/indi-eqmod/eqmod.cpp:1647:16: error: ‘TRACKRATE_LUNAR’ was not declared in this scope
         rate = TRACKRATE_LUNAR;
                ^
/tmp/indi/3rdparty/indi-eqmod/eqmod.cpp:1651:16: error: ‘TRACKRATE_SOLAR’ was not declared in this scope
         rate = TRACKRATE_SOLAR;
                ^
/tmp/indi/3rdparty/indi-eqmod/eqmod.cpp: In member function ‘double EQMod::GetDefaultRATrackRate()’:
/tmp/indi/3rdparty/indi-eqmod/eqmod.cpp:1703:16: error: ‘TRACKRATE_SIDEREAL’ was not declared in this scope
         rate = TRACKRATE_SIDEREAL;
                ^
/tmp/indi/3rdparty/indi-eqmod/eqmod.cpp:1707:16: error: ‘TRACKRATE_LUNAR’ was not declared in this scope
         rate = TRACKRATE_LUNAR;
                ^
/tmp/indi/3rdparty/indi-eqmod/eqmod.cpp:1711:16: error: ‘TRACKRATE_SOLAR’ was not declared in this scope
         rate = TRACKRATE_SOLAR;
                ^
/tmp/indi/3rdparty/indi-eqmod/eqmod.cpp: In member function ‘virtual IPState EQMod::GuideNorth(float)’:
/tmp/indi/3rdparty/indi-eqmod/eqmod.cpp:2132:24: error: ‘TRACKRATE_SIDEREAL’ was not declared in this scope
     rateshift        = TRACKRATE_SIDEREAL * IUFindNumber(GuideRateNP, "GUIDE_RATE_NS")->value;
                        ^
/tmp/indi/3rdparty/indi-eqmod/eqmod.cpp: In member function ‘virtual IPState EQMod::GuideSouth(float)’:
/tmp/indi/3rdparty/indi-eqmod/eqmod.cpp:2166:24: error: ‘TRACKRATE_SIDEREAL’ was not declared in this scope
     rateshift        = TRACKRATE_SIDEREAL * IUFindNumber(GuideRateNP, "GUIDE_RATE_NS")->value;
                        ^
/tmp/indi/3rdparty/indi-eqmod/eqmod.cpp: In member function ‘virtual IPState EQMod::GuideEast(float)’:
/tmp/indi/3rdparty/indi-eqmod/eqmod.cpp:2199:24: error: ‘TRACKRATE_SIDEREAL’ was not declared in this scope
     rateshift        = TRACKRATE_SIDEREAL * IUFindNumber(GuideRateNP, "GUIDE_RATE_WE")->value;
                        ^
/tmp/indi/3rdparty/indi-eqmod/eqmod.cpp: In member function ‘virtual IPState EQMod::GuideWest(float)’:
/tmp/indi/3rdparty/indi-eqmod/eqmod.cpp:2233:24: error: ‘TRACKRATE_SIDEREAL’ was not declared in this scope
     rateshift        = TRACKRATE_SIDEREAL * IUFindNumber(GuideRateNP, "GUIDE_RATE_WE")->value;
                        ^
indi-eqmod/CMakeFiles/indi_eqmod_telescope.dir/build.make:110: recipe for target 'indi-eqmod/CMakeFiles/indi_eqmod_telescope.dir/eqmod.o' failed
make[2]: *** [indi-eqmod/CMakeFiles/indi_eqmod_telescope.dir/eqmod.o] Error 1
CMakeFiles/Makefile2:85: recipe for target 'indi-eqmod/CMakeFiles/indi_eqmod_telescope.dir/all' failed
make[1]: *** [indi-eqmod/CMakeFiles/indi_eqmod_telescope.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
6 years 7 months ago #18314

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

If you're compiling from Git, make sure to always compile and install libindi first before you try any 3rd party driver.
6 years 7 months ago #18315

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

  • Posts: 33
  • Thank you received: 0
Ah of course. I did compile it first but didn't install before rushing to the 3rd party drivers. All good now, thank you!
6 years 7 months ago #18317

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

Time to create page: 0.205 seconds