Lots (98) errors when compiling for gnuradio 3.10.1.1-2
Ubuntu 22.04.2 LTS
$ apt-cache show gnuradio
Package: gnuradio
Architecture: amd64
Version: 3.10.1.1-2
When running make, I get 98 different errors. My guess is that gr-leo doesn't (yet) support Gnuradio 3.10. Does that sound right, or is there some other issue? Any suggestions on how I can proceed?
~/cts/gr-leo/build master$ cmake ..
-- Build type not specified: defaulting to release.
-- Using GMP.
-- User set python executable /usr/bin/python3
-- Extracting version information from git describe...
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- CPM: adding package sgp4@ (master)
"/home/user/cts/gr-leo/build/install/share/gr-leo"
-- Using install prefix: /home/user/cts/gr-leo/build/install
-- Building for version: 1.0.0.0 / 1.0.0
-- No C++ unit tests... skipping
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
--
-- The build system will automatically enable all components.
-- Use -DENABLE_DEFAULT=OFF to disable components by default.
--
-- Configuring doxygen support...
-- Dependency DOXYGEN_FOUND = NO
-- Disabling doxygen support.
-- Override with -DENABLE_DOXYGEN=ON/OFF
-- PYTHON and GRC components are enabled
-- Python checking for pygccxml - found
-- Found pybind11: /usr/include (found version "2.9.1")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/cts/gr-leo/build
~/cts/gr-leo/build master$ make
[ 1%] Building CXX object _deps/sgp4-build/libsgp4/CMakeFiles/sgp4.dir/CoordGeodetic.cc.o
[ 2%] Building CXX object _deps/sgp4-build/libsgp4/CMakeFiles/sgp4.dir/CoordTopocentric.cc.o
[ 4%] Building CXX object _deps/sgp4-build/libsgp4/CMakeFiles/sgp4.dir/DateTime.cc.o
[ 5%] Building CXX object _deps/sgp4-build/libsgp4/CMakeFiles/sgp4.dir/DecayedException.cc.o
[ 7%] Building CXX object _deps/sgp4-build/libsgp4/CMakeFiles/sgp4.dir/Eci.cc.o
[ 8%] Building CXX object _deps/sgp4-build/libsgp4/CMakeFiles/sgp4.dir/Globals.cc.o
[ 10%] Building CXX object _deps/sgp4-build/libsgp4/CMakeFiles/sgp4.dir/Observer.cc.o
[ 11%] Building CXX object _deps/sgp4-build/libsgp4/CMakeFiles/sgp4.dir/OrbitalElements.cc.o
[ 13%] Building CXX object _deps/sgp4-build/libsgp4/CMakeFiles/sgp4.dir/SGP4.cc.o
[ 14%] Building CXX object _deps/sgp4-build/libsgp4/CMakeFiles/sgp4.dir/SatelliteException.cc.o
[ 15%] Building CXX object _deps/sgp4-build/libsgp4/CMakeFiles/sgp4.dir/SolarPosition.cc.o
[ 17%] Building CXX object _deps/sgp4-build/libsgp4/CMakeFiles/sgp4.dir/TimeSpan.cc.o
[ 18%] Building CXX object _deps/sgp4-build/libsgp4/CMakeFiles/sgp4.dir/Tle.cc.o
[ 20%] Building CXX object _deps/sgp4-build/libsgp4/CMakeFiles/sgp4.dir/TleException.cc.o
[ 21%] Building CXX object _deps/sgp4-build/libsgp4/CMakeFiles/sgp4.dir/Util.cc.o
[ 23%] Building CXX object _deps/sgp4-build/libsgp4/CMakeFiles/sgp4.dir/Vector.cc.o
[ 24%] Linking CXX static library libsgp4.a
[ 24%] Built target sgp4
[ 26%] Building CXX object lib/CMakeFiles/gnuradio-leo.dir/utils/helper.cc.o
[ 27%] Building CXX object lib/CMakeFiles/gnuradio-leo.dir/generic_antenna.cc.o
In file included from /home/user/cts/gr-leo/lib/generic_antenna.cc:27:
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/generic_antenna.h: In constructor ‘gr::leo::generic_antenna::generic_antenna(uint8_t, double, int, double)’:
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/generic_antenna.h:63:7: warning: ‘gr::leo::generic_antenna::d_polarization’ will be initialized after [-Wreorder]
63 | int d_polarization;
| ^~~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/generic_antenna.h:61:10: warning: ‘double gr::leo::generic_antenna::d_pointing_error’ [-Wreorder]
61 | double d_pointing_error;
| ^~~~~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/generic_antenna.cc:32:1: warning: when initialized here [-Wreorder]
32 | generic_antenna::generic_antenna(uint8_t type, double frequency,
| ^~~~~~~~~~~~~~~
[ 28%] Building CXX object lib/CMakeFiles/gnuradio-leo.dir/yagi_antenna_impl.cc.o
[ 30%] Building CXX object lib/CMakeFiles/gnuradio-leo.dir/custom_antenna_impl.cc.o
[ 31%] Building CXX object lib/CMakeFiles/gnuradio-leo.dir/helix_antenna_impl.cc.o
[ 33%] Building CXX object lib/CMakeFiles/gnuradio-leo.dir/monopole_antenna_impl.cc.o
[ 34%] Building CXX object lib/CMakeFiles/gnuradio-leo.dir/dipole_antenna_impl.cc.o
[ 36%] Building CXX object lib/CMakeFiles/gnuradio-leo.dir/parabolic_reflector_antenna_impl.cc.o
[ 37%] Building CXX object lib/CMakeFiles/gnuradio-leo.dir/quadrifilar_helix_antenna_impl.cc.o
/home/user/cts/gr-leo/lib/quadrifilar_helix_antenna_impl.cc: In member function ‘virtual double gr::leo::antenna::quadrifilar_helix_antenna_impl::get_gain_rolloff()’:
/home/user/cts/gr-leo/lib/quadrifilar_helix_antenna_impl.cc:70:10: warning: unused variable ‘error_deg’ [-Wunused-variable]
70 | double error_deg = utils::radians_to_degrees(d_pointing_error);
| ^~~~~~~~~
[ 39%] Building CXX object lib/CMakeFiles/gnuradio-leo.dir/satellite.cc.o
In file included from /home/user/cts/gr-leo/lib/satellite.cc:26:
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/satellite.h: In constructor ‘gr::leo::satellite::satellite(const string&, const string&, const string&, double, double, double, gr::leo::generic_antenna::generic_antenna_sptr, gr::leo::generic_antenna::generic_antenna_sptr, double, double, double)’:
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/satellite.h:198:41: warning: ‘gr::leo::satellite::d_rx_antenna’ will be initialized after [-Wreorder]
198 | generic_antenna::generic_antenna_sptr d_rx_antenna;
| ^~~~~~~~~~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/satellite.h:192:16: warning: ‘const double gr::leo::satellite::d_tx_power_dbm’ [-Wreorder]
192 | const double d_tx_power_dbm;
| ^~~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/satellite.cc:49:1: warning: when initialized here [-Wreorder]
49 | satellite::satellite(
| ^~~~~~~~~
[ 40%] Building CXX object lib/CMakeFiles/gnuradio-leo.dir/tracker.cc.o
In file included from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:229:3: error: ‘DateTime’ does not name a type
229 | DateTime
| ^~~~~~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:312:3: error: ‘Observer’ does not name a type
312 | Observer d_observer;
| ^~~~~~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:319:3: error: ‘Tle’ does not name a type
319 | Tle d_tle;
| ^~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:320:3: error: ‘SGP4’ does not name a type
320 | SGP4 d_sgp4;
| ^~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:322:3: error: ‘DateTime’ does not name a type
322 | DateTime d_obs_start;
| ^~~~~~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:323:3: error: ‘DateTime’ does not name a type
323 | DateTime d_obs_end;
| ^~~~~~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:324:3: error: ‘DateTime’ does not name a type
324 | DateTime d_obs_elapsed;
| ^~~~~~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:347:3: error: ‘DateTime’ does not name a type
347 | DateTime
| ^~~~~~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:355:22: error: ‘Observer’ has not been declared
355 | find_max_elevation(Observer &observer, SGP4 &sgp4, const DateTime &aos,
| ^~~~~~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:355:42: error: ‘SGP4’ has not been declared
355 | find_max_elevation(Observer &observer, SGP4 &sgp4, const DateTime &aos,
| ^~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:355:60: error: ‘DateTime’ does not name a type
355 | find_max_elevation(Observer &observer, SGP4 &sgp4, const DateTime &aos,
| ^~~~~~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:356:28: error: ‘DateTime’ does not name a type
356 | const DateTime &los);
| ^~~~~~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:361:3: error: ‘DateTime’ does not name a type
361 | DateTime
| ^~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc: In constructor ‘gr::leo::tracker::tracker(gr::leo::satellite::satellite_sptr, double, double, double, const string&, const string&, double, double, double, double, gr::leo::generic_antenna::generic_antenna_sptr, gr::leo::generic_antenna::generic_antenna_sptr, double, double, double)’:
/home/user/cts/gr-leo/lib/tracker.cc:86:3: error: class ‘gr::leo::tracker’ does not have any field named ‘d_observer’
86 | d_observer(gs_lat, gs_lon, gs_alt),
| ^~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:88:3: error: class ‘gr::leo::tracker’ does not have any field named ‘d_tle’
88 | d_tle(
| ^~~~~
/home/user/cts/gr-leo/lib/tracker.cc:89:5: error: ‘Tle’ was not declared in this scope; did you mean ‘libsgp4::Tle’?
89 | Tle(d_satellite->get_tle_title(), d_satellite->get_tle_1(),
| ^~~
| libsgp4::Tle
In file included from /home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/SGP4.h:20,
from /home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:29,
from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/Tle.h:32:7: note: ‘libsgp4::Tle’ declared here
32 | class Tle
| ^~~
/home/user/cts/gr-leo/lib/tracker.cc:91:3: error: class ‘gr::leo::tracker’ does not have any field named ‘d_sgp4’
91 | d_sgp4(d_tle),
| ^~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:91:10: error: ‘d_tle’ was not declared in this scope; did you mean ‘d_tle_1’?
91 | d_sgp4(d_tle),
| ^~~~~
| d_tle_1
/home/user/cts/gr-leo/lib/tracker.cc:92:3: error: class ‘gr::leo::tracker’ does not have any field named ‘d_obs_start’
92 | d_obs_start(parse_ISO_8601_UTC(obs_start)),
| ^~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:92:15: error: ‘parse_ISO_8601_UTC’ was not declared in this scope
92 | d_obs_start(parse_ISO_8601_UTC(obs_start)),
| ^~~~~~~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:93:3: error: class ‘gr::leo::tracker’ does not have any field named ‘d_obs_end’
93 | d_obs_end(parse_ISO_8601_UTC(obs_end)),
| ^~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:94:3: error: class ‘gr::leo::tracker’ does not have any field named ‘d_obs_elapsed’
94 | d_obs_elapsed(d_obs_start),
| ^~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:94:17: error: ‘d_obs_start’ was not declared in this scope; did you mean ‘obs_start’?
94 | d_obs_elapsed(d_obs_start),
| ^~~~~~~~~~~
| obs_start
In file included from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:326:16: warning: ‘gr::leo::tracker::d_time_resolution_us’ will be initialized after [-Wreorder]
326 | const double d_time_resolution_us;
| ^~~~~~~~~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:313:29: warning: ‘gr::leo::satellite::satellite_sptr gr::leo::tracker::d_satellite’ [-Wreorder]
313 | satellite::satellite_sptr d_satellite;
| ^~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:72:1: warning: when initialized here [-Wreorder]
72 | tracker::tracker(satellite::satellite_sptr satellite_info,
| ^~~~~~~
In file included from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:342:41: warning: ‘gr::leo::tracker::d_rx_antenna’ will be initialized after [-Wreorder]
342 | generic_antenna::generic_antenna_sptr d_rx_antenna;
| ^~~~~~~~~~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:338:16: warning: ‘const double gr::leo::tracker::d_gs_alt’ [-Wreorder]
338 | const double d_gs_alt;
| ^~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:72:1: warning: when initialized here [-Wreorder]
72 | tracker::tracker(satellite::satellite_sptr satellite_info,
| ^~~~~~~
In file included from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:338:16: warning: ‘gr::leo::tracker::d_gs_alt’ will be initialized after [-Wreorder]
338 | const double d_gs_alt;
| ^~~~~~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:337:16: warning: ‘const double gr::leo::tracker::d_gs_lat’ [-Wreorder]
337 | const double d_gs_lat;
| ^~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:72:1: warning: when initialized here [-Wreorder]
72 | tracker::tracker(satellite::satellite_sptr satellite_info,
| ^~~~~~~
In file included from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:339:16: warning: ‘gr::leo::tracker::d_gs_lon’ will be initialized after [-Wreorder]
339 | const double d_gs_lon;
| ^~~~~~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:329:16: warning: ‘const double gr::leo::tracker::d_tx_power_dbm’ [-Wreorder]
329 | const double d_tx_power_dbm;
| ^~~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:72:1: warning: when initialized here [-Wreorder]
72 | tracker::tracker(satellite::satellite_sptr satellite_info,
| ^~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:108:7: error: ‘d_obs_end’ was not declared in this scope; did you mean ‘obs_end’?
108 | if (d_obs_end <= d_obs_start) {
| ^~~~~~~~~
| obs_end
/home/user/cts/gr-leo/lib/tracker.cc: In constructor ‘gr::leo::tracker::tracker(const string&, const string&, const string&, double, double, double, const string&, const string&)’:
/home/user/cts/gr-leo/lib/tracker.cc:121:3: error: class ‘gr::leo::tracker’ does not have any field named ‘d_observer’
121 | d_observer(gs_lat, gs_lon, gs_alt),
| ^~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:125:3: error: class ‘gr::leo::tracker’ does not have any field named ‘d_tle’
125 | d_tle(tle_title, tle_1, tle_2),
| ^~~~~
/home/user/cts/gr-leo/lib/tracker.cc:126:3: error: class ‘gr::leo::tracker’ does not have any field named ‘d_sgp4’
126 | d_sgp4(d_tle),
| ^~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:126:10: error: ‘d_tle’ was not declared in this scope; did you mean ‘d_tle_1’?
126 | d_sgp4(d_tle),
| ^~~~~
| d_tle_1
/home/user/cts/gr-leo/lib/tracker.cc:127:3: error: class ‘gr::leo::tracker’ does not have any field named ‘d_obs_start’
127 | d_obs_start(parse_ISO_8601_UTC(obs_start)),
| ^~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:127:15: error: ‘parse_ISO_8601_UTC’ was not declared in this scope
127 | d_obs_start(parse_ISO_8601_UTC(obs_start)),
| ^~~~~~~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:128:3: error: class ‘gr::leo::tracker’ does not have any field named ‘d_obs_end’
128 | d_obs_end(parse_ISO_8601_UTC(obs_end)),
| ^~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:129:3: error: class ‘gr::leo::tracker’ does not have any field named ‘d_obs_elapsed’
129 | d_obs_elapsed(d_obs_start),
| ^~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:129:17: error: ‘d_obs_start’ was not declared in this scope; did you mean ‘obs_start’?
129 | d_obs_elapsed(d_obs_start),
| ^~~~~~~~~~~
| obs_start
In file included from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:326:16: warning: ‘gr::leo::tracker::d_time_resolution_us’ will be initialized after [-Wreorder]
326 | const double d_time_resolution_us;
| ^~~~~~~~~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:315:15: warning: ‘std::string gr::leo::tracker::d_tle_title’ [-Wreorder]
315 | std::string d_tle_title;
| ^~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:116:1: warning: when initialized here [-Wreorder]
116 | tracker::tracker(const std::string &tle_title, const std::string &tle_1,
| ^~~~~~~
In file included from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:338:16: warning: ‘gr::leo::tracker::d_gs_alt’ will be initialized after [-Wreorder]
338 | const double d_gs_alt;
| ^~~~~~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:337:16: warning: ‘const double gr::leo::tracker::d_gs_lat’ [-Wreorder]
337 | const double d_gs_lat;
| ^~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:116:1: warning: when initialized here [-Wreorder]
116 | tracker::tracker(const std::string &tle_title, const std::string &tle_1,
| ^~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:140:7: error: ‘d_obs_end’ was not declared in this scope; did you mean ‘obs_end’?
140 | if (d_obs_end <= d_obs_start) {
| ^~~~~~~~~
| obs_end
/home/user/cts/gr-leo/lib/tracker.cc: At global scope:
/home/user/cts/gr-leo/lib/tracker.cc:168:1: error: ‘double gr::leo::tracker::find_max_elevation’ is not a static data member of ‘class gr::leo::tracker’
168 | tracker::find_max_elevation(Observer &observer, SGP4 &sgp4,
| ^~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:168:29: error: ‘Observer’ was not declared in this scope; did you mean ‘libsgp4::Observer’?
168 | tracker::find_max_elevation(Observer &observer, SGP4 &sgp4,
| ^~~~~~~~
| libsgp4::Observer
In file included from /home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:28,
from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/Observer.h:32:7: note: ‘libsgp4::Observer’ declared here
32 | class Observer
| ^~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:168:39: error: ‘observer’ was not declared in this scope
168 | tracker::find_max_elevation(Observer &observer, SGP4 &sgp4,
| ^~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:168:49: error: ‘SGP4’ was not declared in this scope; did you mean ‘libsgp4::SGP4’?
168 | tracker::find_max_elevation(Observer &observer, SGP4 &sgp4,
| ^~~~
| libsgp4::SGP4
In file included from /home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:29,
from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/SGP4.h:38:7: note: ‘libsgp4::SGP4’ declared here
38 | class SGP4
| ^~~~
/home/user/cts/gr-leo/lib/tracker.cc:168:55: error: ‘sgp4’ was not declared in this scope
168 | tracker::find_max_elevation(Observer &observer, SGP4 &sgp4,
| ^~~~
/home/user/cts/gr-leo/lib/tracker.cc:169:29: error: expected primary-expression before ‘const’
169 | const DateTime &aos, const DateTime &los)
| ^~~~~
/home/user/cts/gr-leo/lib/tracker.cc:169:50: error: expected primary-expression before ‘const’
169 | const DateTime &aos, const DateTime &los)
| ^~~~~
/home/user/cts/gr-leo/lib/tracker.cc:169:69: error: expression list treated as compound expression in initializer [-fpermissive]
169 | const DateTime &aos, const DateTime &los)
| ^
/home/user/cts/gr-leo/lib/tracker.cc:238:1: error: ‘DateTime’ does not name a type
238 | DateTime
| ^~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc: In member function ‘std::vector<pass_details_t> gr::leo::tracker::generate_passlist(int)’:
/home/user/cts/gr-leo/lib/tracker.cc:321:3: error: ‘DateTime’ was not declared in this scope; did you mean ‘libsgp4::DateTime’?
321 | DateTime aos_time;
| ^~~~~~~~
| libsgp4::DateTime
In file included from /home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/Eci.h:22,
from /home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/Observer.h:21,
from /home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:28,
from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/DateTime.h:48:7: note: ‘libsgp4::DateTime’ declared here
48 | class DateTime
| ^~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:322:11: error: expected ‘;’ before ‘los_time’
322 | DateTime los_time;
| ^~~~~~~~~
| ;
/home/user/cts/gr-leo/lib/tracker.cc:326:11: error: expected ‘;’ before ‘previous_time’
326 | DateTime previous_time(d_obs_start);
| ^~~~~~~~~~~~~~
| ;
/home/user/cts/gr-leo/lib/tracker.cc:327:11: error: expected ‘;’ before ‘current_time’
327 | DateTime current_time(d_obs_start);
| ^~~~~~~~~~~~~
| ;
/home/user/cts/gr-leo/lib/tracker.cc:331:10: error: ‘current_time’ was not declared in this scope
331 | while (current_time < d_obs_end) {
| ^~~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:331:25: error: ‘d_obs_end’ was not declared in this scope
331 | while (current_time < d_obs_end) {
| ^~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:337:5: error: ‘Eci’ was not declared in this scope; did you mean ‘libsgp4::Eci’?
337 | Eci eci = d_sgp4.FindPosition(current_time);
| ^~~
| libsgp4::Eci
In file included from /home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/Observer.h:21,
from /home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:28,
from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/Eci.h:30:7: note: ‘libsgp4::Eci’ declared here
30 | class Eci
| ^~~
/home/user/cts/gr-leo/lib/tracker.cc:338:5: error: ‘CoordTopocentric’ was not declared in this scope; did you mean ‘libsgp4::CoordTopocentric’?
338 | CoordTopocentric topo = d_observer.GetLookAngle(eci);
| ^~~~~~~~~~~~~~~~
| libsgp4::CoordTopocentric
In file included from /home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:26,
from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/CoordTopocentric.h:36:8: note: ‘libsgp4::CoordTopocentric’ declared here
36 | struct CoordTopocentric
| ^~~~~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:340:23: error: ‘topo’ was not declared in this scope
340 | if (!found_aos && topo.elevation > 0.0) {
| ^~~~
/home/user/cts/gr-leo/lib/tracker.cc:345:11: error: ‘d_obs_start’ was not declared in this scope
345 | if (d_obs_start == current_time) {
| ^~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:350:9: error: ‘aos_time’ was not declared in this scope; did you mean ‘asctime’?
350 | aos_time = d_obs_start;
| ^~~~~~~~
| asctime
/home/user/cts/gr-leo/lib/tracker.cc:356:9: error: ‘aos_time’ was not declared in this scope; did you mean ‘asctime’?
356 | aos_time = find_crossing_point_time(d_observer, d_sgp4,
| ^~~~~~~~
| asctime
/home/user/cts/gr-leo/lib/tracker.cc:356:45: error: ‘d_observer’ was not declared in this scope
356 | aos_time = find_crossing_point_time(d_observer, d_sgp4,
| ^~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:356:57: error: ‘d_sgp4’ was not declared in this scope
356 | aos_time = find_crossing_point_time(d_observer, d_sgp4,
| ^~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:357:45: error: ‘previous_time’ was not declared in this scope
357 | previous_time, current_time,
| ^~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:356:20: error: ‘find_crossing_point_time’ was not declared in this scope
356 | aos_time = find_crossing_point_time(d_observer, d_sgp4,
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:372:7: error: ‘los_time’ was not declared in this scope
372 | los_time = find_crossing_point_time(d_observer, d_sgp4,
| ^~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:372:43: error: ‘d_observer’ was not declared in this scope
372 | los_time = find_crossing_point_time(d_observer, d_sgp4,
| ^~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:372:55: error: ‘d_sgp4’ was not declared in this scope
372 | los_time = find_crossing_point_time(d_observer, d_sgp4,
| ^~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:373:43: error: ‘previous_time’ was not declared in this scope
373 | previous_time, current_time,
| ^~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:372:18: error: ‘find_crossing_point_time’ was not declared in this scope
372 | los_time = find_crossing_point_time(d_observer, d_sgp4,
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:376:13: error: ‘aos_time’ was not declared in this scope; did you mean ‘asctime’?
376 | pd = {aos_time.ToString(), los_time.ToString(), find_max_elevation(d_observer, d_sgp4, aos_time,
| ^~~~~~~~
| asctime
/home/user/cts/gr-leo/lib/tracker.cc:378:12: error: no match for ‘operator=’ (operand types are ‘pass_details_t’ and ‘<brace-enclosed initializer list>’)
378 | };
| ^
In file included from /home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:24,
from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/api.h:50:3: note: candidate: ‘pass_details_t& pass_details_t::operator=(const pass_details_t&)’
50 | } pass_details_t;
| ^~~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/api.h:50:3: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const pass_details_t&’
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/api.h:50:3: note: candidate: ‘pass_details_t& pass_details_t::operator=(pass_details_t&&)’
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/api.h:50:3: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘pass_details_t&&’
/home/user/cts/gr-leo/lib/tracker.cc:386:5: error: ‘previous_time’ was not declared in this scope
386 | previous_time = current_time;
| ^~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:392:37: error: ‘TimeSpan’ was not declared in this scope; did you mean ‘libsgp4::TimeSpan’?
392 | current_time = current_time + TimeSpan(0, 30, 0);
| ^~~~~~~~
| libsgp4::TimeSpan
In file included from /home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/DateTime.h:26,
from /home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/Eci.h:22,
from /home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/Observer.h:21,
from /home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:28,
from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/TimeSpan.h:53:7: note: ‘libsgp4::TimeSpan’ declared here
53 | class TimeSpan
| ^~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:398:37: error: ‘TimeSpan’ was not declared in this scope; did you mean ‘libsgp4::TimeSpan’?
398 | current_time = current_time + TimeSpan(0, 0, time_step);
| ^~~~~~~~
| libsgp4::TimeSpan
In file included from /home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/DateTime.h:26,
from /home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/Eci.h:22,
from /home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/Observer.h:21,
from /home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:28,
from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/TimeSpan.h:53:7: note: ‘libsgp4::TimeSpan’ declared here
53 | class TimeSpan
| ^~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:414:11: error: ‘aos_time’ was not declared in this scope; did you mean ‘asctime’?
414 | pd = {aos_time.ToString(), los_time.ToString(), find_max_elevation(d_observer, d_sgp4, aos_time,
| ^~~~~~~~
| asctime
/home/user/cts/gr-leo/lib/tracker.cc:414:32: error: ‘los_time’ was not declared in this scope
414 | pd = {aos_time.ToString(), los_time.ToString(), find_max_elevation(d_observer, d_sgp4, aos_time,
| ^~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:414:72: error: ‘d_observer’ was not declared in this scope
414 | pd = {aos_time.ToString(), los_time.ToString(), find_max_elevation(d_observer, d_sgp4, aos_time,
| ^~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:414:84: error: ‘d_sgp4’ was not declared in this scope
414 | pd = {aos_time.ToString(), los_time.ToString(), find_max_elevation(d_observer, d_sgp4, aos_time,
| ^~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:415:11: error: ‘d_obs_end’ was not declared in this scope
415 | d_obs_end)
| ^~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:416:10: error: no match for ‘operator=’ (operand types are ‘pass_details_t’ and ‘<brace-enclosed initializer list>’)
416 | };
| ^
In file included from /home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:24,
from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/api.h:50:3: note: candidate: ‘pass_details_t& pass_details_t::operator=(const pass_details_t&)’
50 | } pass_details_t;
| ^~~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/api.h:50:3: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const pass_details_t&’
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/api.h:50:3: note: candidate: ‘pass_details_t& pass_details_t::operator=(pass_details_t&&)’
/home/user/cts/gr-leo/lib/../include/gnuradio/leo/api.h:50:3: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘pass_details_t&&’
/home/user/cts/gr-leo/lib/tracker.cc:432:29: error: ‘Util’ has not been declared
432 | << std::setw(4) << Util::RadiansToDegrees(itr->max_elevation) << std::endl;
| ^~~~
/home/user/cts/gr-leo/lib/tracker.cc: In member function ‘double gr::leo::tracker::get_slant_range()’:
/home/user/cts/gr-leo/lib/tracker.cc:445:3: error: ‘Eci’ was not declared in this scope; did you mean ‘libsgp4::Eci’?
445 | Eci eci = d_sgp4.FindPosition(get_elapsed_time());
| ^~~
| libsgp4::Eci
In file included from /home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/Observer.h:21,
from /home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:28,
from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/Eci.h:30:7: note: ‘libsgp4::Eci’ declared here
30 | class Eci
| ^~~
/home/user/cts/gr-leo/lib/tracker.cc:446:3: error: ‘CoordTopocentric’ was not declared in this scope; did you mean ‘libsgp4::CoordTopocentric’?
446 | CoordTopocentric topo = d_observer.GetLookAngle(eci);
| ^~~~~~~~~~~~~~~~
| libsgp4::CoordTopocentric
In file included from /home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:26,
from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/CoordTopocentric.h:36:8: note: ‘libsgp4::CoordTopocentric’ declared here
36 | struct CoordTopocentric
| ^~~~~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:447:10: error: ‘topo’ was not declared in this scope
447 | return topo.range;
| ^~~~
/home/user/cts/gr-leo/lib/tracker.cc: In member function ‘double gr::leo::tracker::get_elevation_degrees()’:
/home/user/cts/gr-leo/lib/tracker.cc:453:3: error: ‘Eci’ was not declared in this scope; did you mean ‘libsgp4::Eci’?
453 | Eci eci = d_sgp4.FindPosition(get_elapsed_time());
| ^~~
| libsgp4::Eci
In file included from /home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/Observer.h:21,
from /home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:28,
from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/Eci.h:30:7: note: ‘libsgp4::Eci’ declared here
30 | class Eci
| ^~~
/home/user/cts/gr-leo/lib/tracker.cc:454:3: error: ‘CoordTopocentric’ was not declared in this scope; did you mean ‘libsgp4::CoordTopocentric’?
454 | CoordTopocentric topo = d_observer.GetLookAngle(eci);
| ^~~~~~~~~~~~~~~~
| libsgp4::CoordTopocentric
In file included from /home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:26,
from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/CoordTopocentric.h:36:8: note: ‘libsgp4::CoordTopocentric’ declared here
36 | struct CoordTopocentric
| ^~~~~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:455:10: error: ‘Util’ has not been declared
455 | return Util::RadiansToDegrees(topo.elevation);
| ^~~~
/home/user/cts/gr-leo/lib/tracker.cc:455:33: error: ‘topo’ was not declared in this scope
455 | return Util::RadiansToDegrees(topo.elevation);
| ^~~~
/home/user/cts/gr-leo/lib/tracker.cc: In member function ‘double gr::leo::tracker::get_elevation_radians()’:
/home/user/cts/gr-leo/lib/tracker.cc:461:3: error: ‘Eci’ was not declared in this scope; did you mean ‘libsgp4::Eci’?
461 | Eci eci = d_sgp4.FindPosition(get_elapsed_time());
| ^~~
| libsgp4::Eci
In file included from /home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/Observer.h:21,
from /home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:28,
from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/Eci.h:30:7: note: ‘libsgp4::Eci’ declared here
30 | class Eci
| ^~~
/home/user/cts/gr-leo/lib/tracker.cc:462:3: error: ‘CoordTopocentric’ was not declared in this scope; did you mean ‘libsgp4::CoordTopocentric’?
462 | CoordTopocentric topo = d_observer.GetLookAngle(eci);
| ^~~~~~~~~~~~~~~~
| libsgp4::CoordTopocentric
In file included from /home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:26,
from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/CoordTopocentric.h:36:8: note: ‘libsgp4::CoordTopocentric’ declared here
36 | struct CoordTopocentric
| ^~~~~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:463:10: error: ‘topo’ was not declared in this scope
463 | return topo.elevation;
| ^~~~
/home/user/cts/gr-leo/lib/tracker.cc: In member function ‘double gr::leo::tracker::get_velocity()’:
/home/user/cts/gr-leo/lib/tracker.cc:471:3: error: ‘Eci’ was not declared in this scope; did you mean ‘libsgp4::Eci’?
471 | Eci eci = d_sgp4.FindPosition(get_elapsed_time());
| ^~~
| libsgp4::Eci
In file included from /home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/Observer.h:21,
from /home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:28,
from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/Eci.h:30:7: note: ‘libsgp4::Eci’ declared here
30 | class Eci
| ^~~
/home/user/cts/gr-leo/lib/tracker.cc:472:3: error: ‘CoordTopocentric’ was not declared in this scope; did you mean ‘libsgp4::CoordTopocentric’?
472 | CoordTopocentric topo = d_observer.GetLookAngle(eci);
| ^~~~~~~~~~~~~~~~
| libsgp4::CoordTopocentric
In file included from /home/user/cts/gr-leo/lib/../include/gnuradio/leo/tracker.h:26,
from /home/user/cts/gr-leo/lib/tracker.cc:27:
/home/user/cts/gr-leo/build/_deps/sgp4-src/libsgp4/CoordTopocentric.h:36:8: note: ‘libsgp4::CoordTopocentric’ declared here
36 | struct CoordTopocentric
| ^~~~~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:473:10: error: ‘topo’ was not declared in this scope
473 | return topo.range_rate;
| ^~~~
/home/user/cts/gr-leo/lib/tracker.cc:469:10: warning: unused variable ‘elevation’ [-Wunused-variable]
469 | double elevation;
| ^~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc: At global scope:
/home/user/cts/gr-leo/lib/tracker.cc:476:1: error: ‘DateTime’ does not name a type
476 | DateTime
| ^~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc: In member function ‘void gr::leo::tracker::advance_time(double)’:
/home/user/cts/gr-leo/lib/tracker.cc:561:3: error: ‘d_obs_elapsed’ was not declared in this scope
561 | d_obs_elapsed = d_obs_elapsed.AddMicroseconds(us);
| ^~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc: At global scope:
/home/user/cts/gr-leo/lib/tracker.cc:564:1: error: ‘DateTime’ does not name a type
564 | DateTime
| ^~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc: In member function ‘bool gr::leo::tracker::is_observation_over()’:
/home/user/cts/gr-leo/lib/tracker.cc:573:7: error: ‘d_obs_elapsed’ was not declared in this scope
573 | if (d_obs_elapsed >= d_obs_end) {
| ^~~~~~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:573:24: error: ‘d_obs_end’ was not declared in this scope
573 | if (d_obs_elapsed >= d_obs_end) {
| ^~~~~~~~~
/home/user/cts/gr-leo/lib/tracker.cc:579:1: warning: control reaches end of non-void function [-Wreturn-type]
579 | }
| ^
make[2]: *** [lib/CMakeFiles/gnuradio-leo.dir/build.make:216: lib/CMakeFiles/gnuradio-leo.dir/tracker.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:473: lib/CMakeFiles/gnuradio-leo.dir/all] Error 2
make: *** [Makefile:146: all] Error 2