Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indilib indi-3rd party making eqmod fails #980 #981

Open
zac-old opened this issue Sep 22, 2024 · 3 comments
Open

Indilib indi-3rd party making eqmod fails #980 #981

zac-old opened this issue Sep 22, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@zac-old
Copy link

zac-old commented Sep 22, 2024

Continuing my previous bug report which has been closed with the advice that I must install the latest indi first.
I had installed the latest indi - that is how I discovered I needed the third party drivers.
Please see my original bug report.

@zac-old zac-old added the bug Something isn't working label Sep 22, 2024
@zac-old
Copy link
Author

zac-old commented Sep 24, 2024

As I indicated in a private communication - since you said that I must install indi-core before the 3rd party elements - I thought the fact that I had deleted the indi-core installation files before I installed eqmod might have been why my install failed. This has proved not to be the case. I have reinstalled again retaining all the installation files from indi-core and the make failed exactly as before. Error messages as follows:

[ 3%] Building C object CMakeFiles/indi_eqmod_telescope.dir/align/htm.c.o
[ 3%] Building C object CMakeFiles/indi_staradventurergti_telescope.dir/align/htm.c.o
[ 5%] Building C object CMakeFiles/indi_azgti_telescope.dir/align/htm.c.o
[ 6%] Building C object CMakeFiles/indi_staradventurer2i_telescope.dir/align/htm.c.o
[ 10%] Building C object CMakeFiles/indi_staradventurergti_telescope.dir/align/chull/chull.c.o
[ 10%] Building C object CMakeFiles/indi_eqmod_telescope.dir/align/chull/chull.c.o
[ 11%] Building C object CMakeFiles/indi_staradventurer2i_telescope.dir/align/chull/chull.c.o
[ 13%] Building C object CMakeFiles/indi_azgti_telescope.dir/align/chull/chull.c.o
[ 15%] Building CXX object CMakeFiles/indi_eqmod_telescope.dir/eqmod.cpp.o
[ 16%] Building CXX object CMakeFiles/indi_staradventurer2i_telescope.dir/staradventurer2i.cpp.o
[ 18%] Building CXX object CMakeFiles/indi_staradventurergti_telescope.dir/staradventurergti.cpp.o
[ 20%] Building CXX object CMakeFiles/indi_azgti_telescope.dir/azgti.cpp.o
In file included from /home/zac/Projects/indi-3rdparty/indi-eqmod/eqmod.cpp:20:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.h:247:31: error: ‘TelescopeHomeAction’ has not been declared
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/zac/Projects/indi-3rdparty/indi-eqmod/staradventurer2i.h:21,
from /home/zac/Projects/indi-3rdparty/indi-eqmod/staradventurer2i.cpp:21:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.h:247:31: error: ‘TelescopeHomeAction’ has not been declared
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.h:247:13: error: ‘IPState EQMod::ExecuteHomeAction(int)’ marked ‘override’, but does not override
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.h:247:13: error: ‘IPState EQMod::ExecuteHomeAction(int)’ marked ‘override’, but does not override
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~
In file included from /home/zac/Projects/indi-3rdparty/indi-eqmod/staradventurergtibase.h:21,
from /home/zac/Projects/indi-3rdparty/indi-eqmod/staradventurergti.cpp:21:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.h:247:31: error: ‘TelescopeHomeAction’ has not been declared
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.h:247:13: error: ‘IPState EQMod::ExecuteHomeAction(int)’ marked ‘override’, but does not override
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/indi_staradventurer2i_telescope.dir/build.make:104: CMakeFiles/indi_staradventurer2i_telescope.dir/staradventurer2i.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:167: CMakeFiles/indi_staradventurer2i_telescope.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/indi_eqmod_telescope.dir/build.make:104: CMakeFiles/indi_eqmod_telescope.dir/eqmod.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 22%] Building CXX object CMakeFiles/indi_eqmod_telescope.dir/eqmodbase.cpp.o
In file included from /home/zac/Projects/indi-3rdparty/indi-eqmod/azgtibase.h:21,
from /home/zac/Projects/indi-3rdparty/indi-eqmod/azgti.cpp:21:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.h:247:31: error: ‘TelescopeHomeAction’ has not been declared
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.h:247:13: error: ‘IPState EQMod::ExecuteHomeAction(int)’ marked ‘override’, but does not override
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~
[ 23%] Building CXX object CMakeFiles/indi_staradventurergti_telescope.dir/staradventurergtibase.cpp.o
make[2]: *** [CMakeFiles/indi_staradventurergti_telescope.dir/build.make:104: CMakeFiles/indi_staradventurergti_telescope.dir/staradventurergti.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 25%] Building CXX object CMakeFiles/indi_azgti_telescope.dir/azgtibase.cpp.o
make[2]: *** [CMakeFiles/indi_azgti_telescope.dir/build.make:104: CMakeFiles/indi_azgti_telescope.dir/azgti.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:33:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.h:247:31: error: ‘TelescopeHomeAction’ has not been declared
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.h:247:13: error: ‘IPState EQMod::ExecuteHomeAction(int)’ marked ‘override’, but does not override
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~
In file included from /home/zac/Projects/indi-3rdparty/indi-eqmod/staradventurergtibase.h:21,
from /home/zac/Projects/indi-3rdparty/indi-eqmod/staradventurergtibase.cpp:19:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.h:247:31: error: ‘TelescopeHomeAction’ has not been declared
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.h:247:13: error: ‘IPState EQMod::ExecuteHomeAction(int)’ marked ‘override’, but does not override
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: In constructor ‘EQMod::EQMod()’:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:106:17: error: class ‘EQMod’ does not have any field named ‘GI’
106 | EQMod::EQMod(): GI(this)
| ^~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: In member function ‘double EQMod::getLongitude()’:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:191:30: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘findWidgetByName’
191 | auto number = LocationNP.findWidgetByName("LONG");
| ^~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: In member function ‘double EQMod::getLatitude()’:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:200:30: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘findWidgetByName’
200 | auto number = LocationNP.findWidgetByName("LAT");
| ^~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: In member function ‘void EQMod::initSlewRates()’:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:301:39: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘count’
301 | for (size_t i = 0; i < SlewRateSP.count() - 1; i++)
| ^~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:303:19: error: no match for ‘operator[]’ (operand types are ‘ISwitchVectorProperty’ {aka ‘_ISwitchVectorProperty’} and ‘size_t’ {aka ‘long unsigned int’})
303 | SlewRateSP[i].setState(ISS_OFF);
| ^
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:304:19: error: no match for ‘operator[]’ (operand types are ‘ISwitchVectorProperty’ {aka ‘_ISwitchVectorProperty’} and ‘size_t’ {aka ‘long unsigned int’})
304 | SlewRateSP[i].setLabel(std::to_string(slewspeeds[i]) + "x");
| ^
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:306:19: error: no match for ‘operator[]’ (operand types are ‘ISwitchVectorProperty’ {aka ‘_ISwitchVectorProperty’} and ‘size_t’ {aka ‘long unsigned int’})
306 | SlewRateSP[i].setAux((void )&slewspeeds[i]);
| ^
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:310:27: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘count’
310 | SlewRateSP[SlewRateSP.count() - 2].setState(ISS_ON);
| ^~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:311:27: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘count’
311 | SlewRateSP[SlewRateSP.count() - 2].setName("SLEW_MAX");
| ^~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:313:27: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘count’
313 | SlewRateSP[SlewRateSP.count() - 1].setName("SLEWCUSTOM");
| ^~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:314:27: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘count’
314 | SlewRateSP[SlewRateSP.count() - 1].setLabel("Custom");
| ^~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: In member function ‘virtual void EQMod::ISGetProperties(const char
)’:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:324:9: error: ‘GI’ has not been declared
324 | GI::updateProperties();
| ^~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: In member function ‘bool EQMod::loadProperties()’:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:453:5: error: ‘GI’ has not been declared
453 | GI::initProperties(MOTION_TAB);
| ^~
In file included from /home/zac/Projects/indi-3rdparty/indi-eqmod/azgtibase.h:21,
from /home/zac/Projects/indi-3rdparty/indi-eqmod/azgtibase.cpp:19:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.h:247:31: error: ‘TelescopeHomeAction’ has not been declared
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.h:247:13: error: ‘IPState EQMod::ExecuteHomeAction(int)’ marked ‘override’, but does not override
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: In member function ‘virtual bool EQMod::updateProperties()’:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:493:67: error: ‘TELESCOPE_CAN_HOME_FIND’ was not declared in this scope; did you mean ‘TELESCOPE_CAN_GOTO’?
493 | SetTelescopeCapability(GetTelescopeCapability() | TELESCOPE_CAN_HOME_FIND, SLEWMODES);
| ^~~~~~~~~~~~~~~~~~~~~~~
| TELESCOPE_CAN_GOTO
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:603:40: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘findWidgetByName’
603 | auto latitude = LocationNP.findWidgetByName("LAT");
| ^~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:604:41: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘findWidgetByName’
604 | auto longitude = LocationNP.findWidgetByName("LONG");
| ^~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:605:41: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘findWidgetByName’
605 | auto elevation = LocationNP.findWidgetByName("ELEV");
| ^~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:691:5: error: ‘GI’ has not been declared
691 | GI::updateProperties();
| ^~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: In member function ‘virtual void EQMod::TimerHit()’:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:790:18: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘setState’
790 | EqNP.setState(IPS_ALERT);
| ^~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:791:18: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘apply’
791 | EqNP.apply();
| ^~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: In member function ‘virtual bool EQMod::ReadScopeStatus()’:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:1017:75: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘isSwitchOn’
1017 | if ((RememberTrackState == SCOPE_TRACKING) || CoordSP.isSwitchOn("TRACK"))
| ^~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:1023:48: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘findOnSwitchName’
1023 | name = TrackModeSP.findOnSwitchName();;
| ^~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:1029:51: error: ‘class INDI::PropertySwitch’ has no member named ‘findOnSwitchName’; did you mean ‘findOnSwitchIndex’?
1029 | name = TrackDefaultSP.findOnSwitchName();
| ^~~~~~~~~~~~~~~~
| findOnSwitchIndex
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:1406:25: error: ‘HomeSP’ was not declared in this scope
1406 | HomeSP.setState(IPS_IDLE);
| ^~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: In member function ‘double EQMod::GetRATrackRate()’:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:1655:22: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘findOnSwitch’
1655 | sw = TrackModeSP.findOnSwitch();
| ^~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:1672:35: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘findWidgetByName’
1672 | auto number = TrackRateNP.findWidgetByName("TRACK_RATE_RA");
| ^~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: In member function ‘double EQMod::GetDETrackRate()’:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:1687:22: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘findOnSwitch’
1687 | sw = TrackModeSP.findOnSwitch();
| ^~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:1704:35: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘findWidgetByName’
1704 | auto number = TrackRateNP.findWidgetByName("TRACK_RATE_DE");
| ^~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: In member function ‘double EQMod::GetDefaultRATrackRate()’:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:1735:35: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘findWidgetByName’
1735 | auto number = TrackRateNP.findWidgetByName("TRACK_RATE_RA");
| ^~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: In member function ‘double EQMod::GetDefaultDETrackRate()’:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:1767:35: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘findWidgetByName’
1767 | auto number = TrackRateNP.findWidgetByName("TRACK_RATE_DE");
| ^~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/indi_staradventurergti_telescope.dir/build.make:118: CMakeFiles/indi_staradventurergti_telescope.dir/staradventurergtibase.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:141: CMakeFiles/indi_staradventurergti_telescope.dir/all] Error 2
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: In member function ‘virtual bool EQMod::Park()’:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:1990:20: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘setState’
1990 | ParkSP.setState(IPS_ALERT);
| ^~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:1991:20: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘apply’
1991 | ParkSP.apply();
| ^~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: In member function ‘virtual bool EQMod::ISNewNumber(const char*, const char*, double*, char**, int)’:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:2498:23: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘isNameMatch’
2498 | if (GuideNSNP.isNameMatch(name) || GuideWENP.isNameMatch(name))
| ^~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:2498:54: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘isNameMatch’
2498 | if (GuideNSNP.isNameMatch(name) || GuideWENP.isNameMatch(name))
| ^~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:2503:27: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘setState’
2503 | GuideNSNP.setState(IPS_IDLE);
| ^~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:2504:27: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘apply’
2504 | GuideNSNP.apply();;
| ^~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:2505:27: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘setState’
2505 | GuideWENP.setState(IPS_IDLE);
| ^~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:2506:27: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘apply’
2506 | GuideWENP.apply();
| ^~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:2511:20: error: ‘GI’ has not been declared
2511 | return GI::processNumber(dev, name, values, names, n);
| ^~
make[2]: *** [CMakeFiles/indi_azgti_telescope.dir/build.make:118: CMakeFiles/indi_azgti_telescope.dir/azgtibase.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:115: CMakeFiles/indi_azgti_telescope.dir/all] Error 2
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: In member function ‘double EQMod::GetRASlew()’:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:3061:30: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘findOnSwitch’
3061 | sw = SlewRateSP.findOnSwitch();
| ^~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: In member function ‘double EQMod::GetDESlew()’:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:3073:30: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘findOnSwitch’
3073 | sw = SlewRateSP.findOnSwitch();
| ^~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: In member function ‘virtual bool EQMod::Abort()’:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:3202:15: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘setState’
3202 | GuideNSNP.setState(IPS_IDLE);
| ^~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:3203:15: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘apply’
3203 | GuideNSNP.apply();
| ^~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:3204:15: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘setState’
3204 | GuideWENP.setState(IPS_IDLE);
| ^~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:3205:15: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘apply’
3205 | GuideWENP.apply();
| ^~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:3212:5: error: ‘HomeSP’ was not declared in this scope
3212 | HomeSP.setState(IPS_IDLE);
| ^~~~~~
In file included from /usr/include/libindi/defaultdevice.h:23,
from /usr/include/libindi/inditelescope.h:21,
from /home/zac/Projects/indi-3rdparty/indi-eqmod/skywatcher.h:22,
from /home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.h:21:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: In member function ‘virtual bool EQMod::SetTrackEnabled(bool)’:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:3599:59: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘findOnSwitch’
3599 | LOGF_INFO("Start Tracking (%s).", TrackModeSP.findOnSwitch()->getLabel());
| ^~~~~~~~~~~~
/usr/include/libindi/indilogger.h:58:91: note: in definition of macro ‘DEBUGF’
58 | INDI::Logger::getInstance().print(getDeviceName(), priority, FILE, LINE, msg, VA_ARGS)
| ^~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:3599:13: note: in expansion of macro ‘LOGF_INFO’
3599 | LOGF_INFO("Start Tracking (%s).", TrackModeSP.findOnSwitch()->getLabel());
| ^~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:3607:62: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘findOnSwitch’
3607 | LOGF_WARN("Stopping Tracking (%s).", TrackModeSP.findOnSwitch()->getLabel());
| ^~~~~~~~~~~~
/usr/include/libindi/indilogger.h:58:91: note: in definition of macro ‘DEBUGF’
58 | INDI::Logger::getInstance().print(getDeviceName(), priority, FILE, LINE, msg, VA_ARGS)
| ^~~~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:3607:13: note: in expansion of macro ‘LOGF_WARN’
3607 | LOGF_WARN("Stopping Tracking (%s).", TrackModeSP.findOnSwitch()->getLabel());
| ^~~~~~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp: At global scope:
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:3622:9: error: ‘IPState EQMod::ExecuteHomeAction’ is not a static data member of ‘class EQMod’
3622 | IPState EQMod::ExecuteHomeAction(TelescopeHomeAction action)
| ^~~~~
/home/zac/Projects/indi-3rdparty/indi-eqmod/eqmodbase.cpp:3622:34: error: ‘TelescopeHomeAction’ was not declared in this scope; did you mean ‘TelescopeConnection’?
3622 | IPState EQMod::ExecuteHomeAction(TelescopeHomeAction action)
| ^~~~~~~~~~~~~~~~~~~
| TelescopeConnection
make[2]: *** [CMakeFiles/indi_eqmod_telescope.dir/build.make:118: CMakeFiles/indi_eqmod_telescope.dir/eqmodbase.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:89: CMakeFiles/indi_eqmod_telescope.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

@zac-old
Copy link
Author

zac-old commented Oct 3, 2024

Using the new versions 2.1.0 of indi-core and indi-3rdparty it still doesn't work.

indi-eqmod still fails to make for the same reason Error report as follows.

zac@rpj2:/Projects/build/indi-eqmod $ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug /Projects/indi-3rdparty-2.1.0/indi-eqmod
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found INDI: /usr/lib/aarch64-linux-gnu/libindidriver.so;/usr/lib/aarch64-linux-gnu/libindiAlignmentDriver.so (found version "1.9.9")
-- Found NOVA: /usr/lib/aarch64-linux-gnu/libnova.so
-- Found ZLIB: /usr/lib/aarch64-linux-gnu/libz.so (found version "1.2.13")
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Found GSL: /usr/include (found version "2.7.1")
-- Performing Test COMPATIBLE_FORTIFY_SOURCE
-- Performing Test COMPATIBLE_FORTIFY_SOURCE - Success
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Could NOT find GMock (missing: GMOCK_LIBRARY GMOCK_INCLUDE_DIR)
-- GTEST not found, not building unit tests
-- Configuring done
-- Generating done
-- Build files have been written to: /home/zac/Projects/build/indi-eqmod
zac@rpj2:
/Projects/build/indi-eqmod $ make -j4
[ 6%] Building C object CMakeFiles/indi_staradventurer2i_telescope.dir/align/htm.c.o
[ 6%] Building C object CMakeFiles/indi_staradventurergti_telescope.dir/align/htm.c.o
[ 6%] Building C object CMakeFiles/indi_eqmod_telescope.dir/align/htm.c.o
[ 6%] Building C object CMakeFiles/indi_azgti_telescope.dir/align/htm.c.o
[ 13%] Building C object CMakeFiles/indi_azgti_telescope.dir/align/chull/chull.c.o
[ 13%] Building C object CMakeFiles/indi_staradventurer2i_telescope.dir/align/chull/chull.c.o
[ 13%] Building C object CMakeFiles/indi_staradventurergti_telescope.dir/align/chull/chull.c.o
[ 13%] Building C object CMakeFiles/indi_eqmod_telescope.dir/align/chull/chull.c.o
[ 18%] Building CXX object CMakeFiles/indi_staradventurergti_telescope.dir/staradventurergti.cpp.o
[ 18%] Building CXX object CMakeFiles/indi_azgti_telescope.dir/azgti.cpp.o
[ 18%] Building CXX object CMakeFiles/indi_eqmod_telescope.dir/eqmod.cpp.o
[ 20%] Building CXX object CMakeFiles/indi_staradventurer2i_telescope.dir/staradventurer2i.cpp.o
In file included from /home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/staradventurergtibase.h:21,
from /home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/staradventurergti.cpp:21:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.h:247:31: error: ‘TelescopeHomeAction’ has not been declared
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/azgtibase.h:21,
from /home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/azgti.cpp:21:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.h:247:31: error: ‘TelescopeHomeAction’ has not been declared
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.h:247:13: error: ‘IPState EQMod::ExecuteHomeAction(int)’ marked ‘override’, but does not override
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.h:247:13: error: ‘IPState EQMod::ExecuteHomeAction(int)’ marked ‘override’, but does not override
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~
In file included from /home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmod.cpp:20:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.h:247:31: error: ‘TelescopeHomeAction’ has not been declared
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.h:247:13: error: ‘IPState EQMod::ExecuteHomeAction(int)’ marked ‘override’, but does not override
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~
In file included from /home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/staradventurer2i.h:21,
from /home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/staradventurer2i.cpp:21:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.h:247:31: error: ‘TelescopeHomeAction’ has not been declared
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.h:247:13: error: ‘IPState EQMod::ExecuteHomeAction(int)’ marked ‘override’, but does not override
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/indi_staradventurergti_telescope.dir/build.make:104: CMakeFiles/indi_staradventurergti_telescope.dir/staradventurergti.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:141: CMakeFiles/indi_staradventurergti_telescope.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/indi_azgti_telescope.dir/build.make:104: CMakeFiles/indi_azgti_telescope.dir/azgti.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:115: CMakeFiles/indi_azgti_telescope.dir/all] Error 2
[ 22%] Building CXX object CMakeFiles/indi_eqmod_telescope.dir/eqmodbase.cpp.o
[ 23%] Building CXX object CMakeFiles/indi_eqmod_telescope.dir/eqmoderror.cpp.o
make[2]: *** [CMakeFiles/indi_eqmod_telescope.dir/build.make:104: CMakeFiles/indi_eqmod_telescope.dir/eqmod.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 25%] Building CXX object CMakeFiles/indi_staradventurer2i_telescope.dir/staradventurer2ibase.cpp.o
make[2]: *** [CMakeFiles/indi_staradventurer2i_telescope.dir/build.make:104: CMakeFiles/indi_staradventurer2i_telescope.dir/staradventurer2i.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/staradventurer2i.h:21,
from /home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/staradventurer2ibase.cpp:19:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.h:247:31: error: ‘TelescopeHomeAction’ has not been declared
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:33:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.h:247:31: error: ‘TelescopeHomeAction’ has not been declared
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.h:247:13: error: ‘IPState EQMod::ExecuteHomeAction(int)’ marked ‘override’, but does not override
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.h:247:13: error: ‘IPState EQMod::ExecuteHomeAction(int)’ marked ‘override’, but does not override
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: In constructor ‘EQMod::EQMod()’:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:106:17: error: class ‘EQMod’ does not have any field named ‘GI’
106 | EQMod::EQMod(): GI(this)
| ^

/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: In member function ‘double EQMod::getLongitude()’:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:191:30: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘findWidgetByName’
191 | auto number = LocationNP.findWidgetByName("LONG");
| ^~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: In member function ‘double EQMod::getLatitude()’:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:200:30: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘findWidgetByName’
200 | auto number = LocationNP.findWidgetByName("LAT");
| ^~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: In member function ‘void EQMod::initSlewRates()’:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:301:39: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘count’
301 | for (size_t i = 0; i < SlewRateSP.count() - 1; i++)
| ^~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:303:19: error: no match for ‘operator[]’ (operand types are ‘ISwitchVectorProperty’ {aka ‘_ISwitchVectorProperty’} and ‘size_t’ {aka ‘long unsigned int’})
303 | SlewRateSP[i].setState(ISS_OFF);
| ^
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:304:19: error: no match for ‘operator[]’ (operand types are ‘ISwitchVectorProperty’ {aka ‘_ISwitchVectorProperty’} and ‘size_t’ {aka ‘long unsigned int’})
304 | SlewRateSP[i].setLabel(std::to_string(slewspeeds[i]) + "x");
| ^
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:306:19: error: no match for ‘operator[]’ (operand types are ‘ISwitchVectorProperty’ {aka ‘_ISwitchVectorProperty’} and ‘size_t’ {aka ‘long unsigned int’})
306 | SlewRateSP[i].setAux((void )&slewspeeds[i]);
| ^
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:310:27: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘count’
310 | SlewRateSP[SlewRateSP.count() - 2].setState(ISS_ON);
| ^~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:311:27: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘count’
311 | SlewRateSP[SlewRateSP.count() - 2].setName("SLEW_MAX");
| ^~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:313:27: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘count’
313 | SlewRateSP[SlewRateSP.count() - 1].setName("SLEWCUSTOM");
| ^~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:314:27: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘count’
314 | SlewRateSP[SlewRateSP.count() - 1].setLabel("Custom");
| ^~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: In member function ‘virtual void EQMod::ISGetProperties(const char
)’:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:324:9: error: ‘GI’ has not been declared
324 | GI::updateProperties();
| ^~
In file included from /home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmoderror.cpp:20:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.h:247:31: error: ‘TelescopeHomeAction’ has not been declared
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.h:247:13: error: ‘IPState EQMod::ExecuteHomeAction(int)’ marked ‘override’, but does not override
247 | IPState ExecuteHomeAction(TelescopeHomeAction action) override;
| ^~~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: In member function ‘bool EQMod::loadProperties()’:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:453:5: error: ‘GI’ has not been declared
453 | GI::initProperties(MOTION_TAB);
| ^~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: In member function ‘virtual bool EQMod::updateProperties()’:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:493:67: error: ‘TELESCOPE_CAN_HOME_FIND’ was not declared in this scope; did you mean ‘TELESCOPE_CAN_GOTO’?
493 | SetTelescopeCapability(GetTelescopeCapability() | TELESCOPE_CAN_HOME_FIND, SLEWMODES);
| ^~~~~~~~~~~~~~~~~~~~~~~
| TELESCOPE_CAN_GOTO
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:603:40: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘findWidgetByName’
603 | auto latitude = LocationNP.findWidgetByName("LAT");
| ^~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:604:41: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘findWidgetByName’
604 | auto longitude = LocationNP.findWidgetByName("LONG");
| ^~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:605:41: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘findWidgetByName’
605 | auto elevation = LocationNP.findWidgetByName("ELEV");
| ^~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:691:5: error: ‘GI’ has not been declared
691 | GI::updateProperties();
| ^~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: In member function ‘virtual void EQMod::TimerHit()’:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:790:18: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘setState’
790 | EqNP.setState(IPS_ALERT);
| ^~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:791:18: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘apply’
791 | EqNP.apply();
| ^~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: In member function ‘virtual bool EQMod::ReadScopeStatus()’:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:1017:75: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘isSwitchOn’
1017 | if ((RememberTrackState == SCOPE_TRACKING) || CoordSP.isSwitchOn("TRACK"))
| ^~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:1023:48: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘findOnSwitchName’
1023 | name = TrackModeSP.findOnSwitchName();;
| ^~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:1029:51: error: ‘class INDI::PropertySwitch’ has no member named ‘findOnSwitchName’; did you mean ‘findOnSwitchIndex’?
1029 | name = TrackDefaultSP.findOnSwitchName();
| ^~~~~~~~~~~~~~~~
| findOnSwitchIndex
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:1406:25: error: ‘HomeSP’ was not declared in this scope
1406 | HomeSP.setState(IPS_IDLE);
| ^~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: In member function ‘double EQMod::GetRATrackRate()’:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:1655:22: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘findOnSwitch’
1655 | sw = TrackModeSP.findOnSwitch();
| ^~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:1672:35: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘findWidgetByName’
1672 | auto number = TrackRateNP.findWidgetByName("TRACK_RATE_RA");
| ^~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: In member function ‘double EQMod::GetDETrackRate()’:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:1687:22: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘findOnSwitch’
1687 | sw = TrackModeSP.findOnSwitch();
| ^~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:1704:35: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘findWidgetByName’
1704 | auto number = TrackRateNP.findWidgetByName("TRACK_RATE_DE");
| ^~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: In member function ‘double EQMod::GetDefaultRATrackRate()’:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:1735:35: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘findWidgetByName’
1735 | auto number = TrackRateNP.findWidgetByName("TRACK_RATE_RA");
| ^~~~~~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: In member function ‘double EQMod::GetDefaultDETrackRate()’:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:1767:35: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘findWidgetByName’
1767 | auto number = TrackRateNP.findWidgetByName("TRACK_RATE_DE");
| ^~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/indi_staradventurer2i_telescope.dir/build.make:118: CMakeFiles/indi_staradventurer2i_telescope.dir/staradventurer2ibase.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:167: CMakeFiles/indi_staradventurer2i_telescope.dir/all] Error 2
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: In member function ‘virtual bool EQMod::Park()’:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:1990:20: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘setState’
1990 | ParkSP.setState(IPS_ALERT);
| ^~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:1991:20: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘apply’
1991 | ParkSP.apply();
| ^~~~~
make[2]: *** [CMakeFiles/indi_eqmod_telescope.dir/build.make:132: CMakeFiles/indi_eqmod_telescope.dir/eqmoderror.cpp.o] Error 1
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: In member function ‘virtual bool EQMod::ISNewNumber(const char*, const char*, double*, char**, int)’:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:2498:23: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘isNameMatch’
2498 | if (GuideNSNP.isNameMatch(name) || GuideWENP.isNameMatch(name))
| ^~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:2498:54: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘isNameMatch’
2498 | if (GuideNSNP.isNameMatch(name) || GuideWENP.isNameMatch(name))
| ^~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:2503:27: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘setState’
2503 | GuideNSNP.setState(IPS_IDLE);
| ^~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:2504:27: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘apply’
2504 | GuideNSNP.apply();;
| ^~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:2505:27: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘setState’
2505 | GuideWENP.setState(IPS_IDLE);
| ^~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:2506:27: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘apply’
2506 | GuideWENP.apply();
| ^~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:2511:20: error: ‘GI’ has not been declared
2511 | return GI::processNumber(dev, name, values, names, n);
| ^~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: In member function ‘double EQMod::GetRASlew()’:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:3061:30: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘findOnSwitch’
3061 | sw = SlewRateSP.findOnSwitch();
| ^~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: In member function ‘double EQMod::GetDESlew()’:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:3073:30: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘findOnSwitch’
3073 | sw = SlewRateSP.findOnSwitch();
| ^~~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: In member function ‘virtual bool EQMod::Abort()’:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:3202:15: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘setState’
3202 | GuideNSNP.setState(IPS_IDLE);
| ^~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:3203:15: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘apply’
3203 | GuideNSNP.apply();
| ^~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:3204:15: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘setState’
3204 | GuideWENP.setState(IPS_IDLE);
| ^~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:3205:15: error: ‘INumberVectorProperty’ {aka ‘struct _INumberVectorProperty’} has no member named ‘apply’
3205 | GuideWENP.apply();
| ^~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:3212:5: error: ‘HomeSP’ was not declared in this scope
3212 | HomeSP.setState(IPS_IDLE);
| ^~~~~~
In file included from /usr/include/libindi/defaultdevice.h:23,
from /usr/include/libindi/inditelescope.h:21,
from /home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/skywatcher.h:22,
from /home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.h:21:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: In member function ‘virtual bool EQMod::SetTrackEnabled(bool)’:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:3599:59: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘findOnSwitch’
3599 | LOGF_INFO("Start Tracking (%s).", TrackModeSP.findOnSwitch()->getLabel());
| ^~~~~~~~~~~~
/usr/include/libindi/indilogger.h:58:91: note: in definition of macro ‘DEBUGF’
58 | INDI::Logger::getInstance().print(getDeviceName(), priority, FILE, LINE, msg, VA_ARGS)
| ^~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:3599:13: note: in expansion of macro ‘LOGF_INFO’
3599 | LOGF_INFO("Start Tracking (%s).", TrackModeSP.findOnSwitch()->getLabel());
| ^~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:3607:62: error: ‘ISwitchVectorProperty’ {aka ‘struct _ISwitchVectorProperty’} has no member named ‘findOnSwitch’
3607 | LOGF_WARN("Stopping Tracking (%s).", TrackModeSP.findOnSwitch()->getLabel());
| ^~~~~~~~~~~~
/usr/include/libindi/indilogger.h:58:91: note: in definition of macro ‘DEBUGF’
58 | INDI::Logger::getInstance().print(getDeviceName(), priority, FILE, LINE, msg, VA_ARGS)
| ^~~~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:3607:13: note: in expansion of macro ‘LOGF_WARN’
3607 | LOGF_WARN("Stopping Tracking (%s).", TrackModeSP.findOnSwitch()->getLabel());
| ^~~~~~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp: At global scope:
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:3622:9: error: ‘IPState EQMod::ExecuteHomeAction’ is not a static data member of ‘class EQMod’
3622 | IPState EQMod::ExecuteHomeAction(TelescopeHomeAction action)
| ^~~~~
/home/zac/Projects/indi-3rdparty-2.1.0/indi-eqmod/eqmodbase.cpp:3622:34: error: ‘TelescopeHomeAction’ was not declared in this scope; did you mean ‘TelescopeConnection’?
3622 | IPState EQMod::ExecuteHomeAction(TelescopeHomeAction action)
| ^~~~~~~~~~~~~~~~~~~
| TelescopeConnection
make[2]: *** [CMakeFiles/indi_eqmod_telescope.dir/build.make:118: CMakeFiles/indi_eqmod_telescope.dir/eqmodbase.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:89: CMakeFiles/indi_eqmod_telescope.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
zac@rpj2:~/Projects/build/indi-eqmod $

Please don't tell me I need to install indi-core.It is already installed.

@knro
Copy link
Collaborator

knro commented Oct 4, 2024

Where is indi-core installed to? /usr or /usr/local? It must be the former.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants