douwefokkema / AutoTrackRaymarine_pi

Follow a route on OpenCPN using a Raymarine Evolution pilot
GNU General Public License v3.0
14 stars 6 forks source link

new branch #16

Closed rgleason closed 1 year ago

rgleason commented 1 year ago

https://github.com/rgleason/AutoTrackRaymarine_pi/commits/new You can see that many of these OS builds are not completing right now from my remote repository. Click on the red X and it will open a list. If you drill down you can see the logs and maybe find the error(s).

I think I just got a new commit into my new "new" branch. Just trying to mirror yours right now. Let me know when you are done please.

Thanks.

rgleason commented 1 year ago

For example, drilling down into bullsye
https://app.circleci.com/pipelines/github/rgleason/AutoTrackRaymarine_pi/59/workflows/1574f204-a5d0-41b5-9bc8-2408cc1f5cf4/jobs/700

The hit ctrl-f to do a search, type in "error" and skip down to the first real error at Raymarine_pi:27 ObservedEvt not defined.


Raymarine_pi.cpp:27:
/home/circleci/project/src/AutoTrackRaymarine_pi.h:80:27: error: ‘ObservedEvt’ has not been declared
   80 |     void HandleN2K_65360 (ObservedEvt ev); // Pilot heading
      |                           ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:81:27: error: ‘ObservedEvt’ has not been declared
   81 |     void HandleN2K_126208(ObservedEvt ev); // Set Set pilot heading or set auto/standby
      |                           ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:82:27: error: ‘ObservedEvt’ has not been declared
   82 |     void HandleN2K_126720(ObservedEvt ev); // From EV1 (204) indicating auto or standby state
      |                           ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:83:27: error: ‘ObservedEvt’ has not been declared
   83 |     void HandleN2K_65359 (ObservedEvt ev); // Vessel heading, proprietary
      |                           ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:84:27: error: ‘ObservedEvt’ has not been declared
   84 |     void HandleN2K_127250(ObservedEvt ev); // Vessel heading, standerd NMEA2000
      |                           ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:86:21: error: ‘ObservableListener’ was not declared in this scope
   86 |     std::shared_ptr<ObservableListener> listener_65360;  // Autopilot heading if auto
      |                     ^~~~~~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:86:39: error: template argument 1 is invalid
   86 |     std::shared_ptr<ObservableListener> listener_65360;  // Autopilot heading if auto
      |                                       ^
In file included from /home/circleci/project/src/PreferencesDialog.h:30,
                 from /home/circleci/project/src/PreferencesDialog.cpp:28:
/home/circleci/project/src/AutoTrackRaymarine_pi.h:80:27: error: ‘ObservedEvt’ has not been declared
   80 |     void HandleN2K_65360 (ObservedEvt ev); // Pilot heading
      |                           ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:81:27: error: ‘ObservedEvt’ has not been declared
   81 |     void HandleN2K_126208(ObservedEvt ev); // Set Set pilot heading or set auto/standby
      |                           ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:82:27: error: ‘ObservedEvt’ has not been declared
   82 |     void HandleN2K_126720(ObservedEvt ev); // From EV1 (204) indicating auto or standby state
      |                           ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:83:27: error: ‘ObservedEvt’ has not been declared
   83 |     void HandleN2K_65359 (ObservedEvt ev); // Vessel heading, proprietary
      |                           ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:84:27: error: ‘ObservedEvt’ has not been declared
   84 |     void HandleN2K_127250(ObservedEvt ev); // Vessel heading, standerd NMEA2000
      |                           ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:87:21: error: ‘ObservableListener’ was not declared in this scope
   87 |     std::shared_ptr<ObservableListener> listener_126208; // Set pilot heading or set auto/standby
      |                     ^~~~~~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:87:39: error: template argument 1 is invalid
   87 |     std::shared_ptr<ObservableListener> listener_126208; // Set pilot heading or set auto/standby
      |                                       ^
/home/circleci/project/src/AutoTrackRaymarine_pi.h:86:21: error: ‘ObservableListener’ was not declared in this scope
   86 |     std::shared_ptr<ObservableListener> listener_65360;  // Autopilot heading if auto
      |                     ^~~~~~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:86:39: error: template argument 1 is invalid
   86 |     std::shared_ptr<ObservableListener> listener_65360;  // Autopilot heading if auto
      |                                       ^
/home/circleci/project/src/AutoTrackRaymarine_pi.h:88:21: error: ‘ObservableListener’ was not declared in this scope
   88 |     std::shared_ptr<ObservableListener> listener_126720; // From EV1 (204) indicating auto or standby state
      |                     ^~~~~~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:88:39: error: template argument 1 is invalid
   88 |     std::shared_ptr<ObservableListener> listener_126720; // From EV1 (204) indicating auto or standby state
      |                                       ^
/home/circleci/project/src/AutoTrackRaymarine_pi.h:87:21: error: ‘ObservableListener’ was not declared in this scope
   87 |     std::shared_ptr<ObservableListener> listener_126208; // Set pilot heading or set auto/standby
      |                     ^~~~~~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:87:39: error: template argument 1 is invalid
   87 |     std::shared_ptr<ObservableListener> listener_126208; // Set pilot heading or set auto/standby
      |                                       ^
/home/circleci/project/src/AutoTrackRaymarine_pi.h:88:21: error: ‘ObservableListener’ was not declared in this scope
   88 |     std::shared_ptr<ObservableListener> listener_126720; // From EV1 (204) indicating auto or standby state
      |                     ^~~~~~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:88:39: error: template argument 1 is invalid
   88 |     std::shared_ptr<ObservableListener> listener_126720; // From EV1 (204) indicating auto or standby state
      |                                       ^
/home/circleci/project/src/AutoTrackRaymarine_pi.h:89:21: error: ‘ObservableListener’ was not declared in this scope
   89 |     std::shared_ptr<ObservableListener> listener_65359;  // Vessel heading
      |                     ^~~~~~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:89:39: error: template argument 1 is invalid
   89 |     std::shared_ptr<ObservableListener> listener_65359;  // Vessel heading
      |                                       ^
/home/circleci/project/src/AutoTrackRaymarine_pi.h:89:21: error: ‘ObservableListener’ was not declared in this scope
   89 |     std::shared_ptr<ObservableListener> listener_65359;  // Vessel heading
      |                     ^~~~~~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:89:39: error: template argument 1 is invalid
   89 |     std::shared_ptr<ObservableListener> listener_65359;  // Vessel heading
      |                                       ^
/home/circleci/project/src/AutoTrackRaymarine_pi.h:90:21: error: ‘ObservableListener’ was not declared in this scope
   90 |     std::shared_ptr<ObservableListener> listener_127250; // Vessel heading
      |                     ^~~~~~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:90:39: error: template argument 1 is invalid
   90 |     std::shared_ptr<ObservableListener> listener_127250; // Vessel heading
      |                                       ^
/home/circleci/project/src/AutoTrackRaymarine_pi.h:90:21: error: ‘ObservableListener’ was not declared in this scope
   90 |     std::shared_ptr<ObservableListener> listener_127250; // Vessel heading
      |                     ^~~~~~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:90:39: error: template argument 1 is invalid
   90 |     std::shared_ptr<ObservableListener> listener_127250; // Vessel heading
      |                                       ^
/home/circleci/project/src/AutoTrackRaymarine_pi.h:107:3: error: ‘DriverHandle’ does not name a type
  107 |   DriverHandle m_handleN2k;
      |   ^~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:107:3: error: ‘DriverHandle’ does not name a type
  107 |   DriverHandle m_handleN2k;
      |   ^~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:141:3: error: ‘DriverHandle’ does not name a type
  141 |   DriverHandle m_N2khandle;
      |   ^~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.h:141:3: error: ‘DriverHandle’ does not name a type
  141 |   DriverHandle m_N2khandle;
      |   ^~~~~~~~~~~~
In file included from /usr/include/wx-3.0/wx/wx.h:24,
                 from /home/circleci/project/src/AutoTrackRaymarine_pi.h:30,
                 from /home/circleci/project/src/AutoTrackRaymarine_pi.cpp:27:
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp: In member function ‘virtual int AutoTrackRaymarine_pi::Init()’:
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:169:36: error: ‘ObservedEvt’ was not declared in this scope
  169 |     wxDEFINE_EVENT(EVT_N2K_127250, ObservedEvt);
      |                                    ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:169:5: error: template argument 1 is invalid
  169 |     wxDEFINE_EVENT(EVT_N2K_127250, ObservedEvt);
      |     ^~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:170:5: error: ‘NMEA2000Id’ was not declared in this scope
  170 |     NMEA2000Id id_127250 = NMEA2000Id(127250);
      |     ^~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:171:45: error: ‘id_127250’ was not declared in this scope
  171 |     listener_127250 = std::move(GetListener(id_127250, EVT_N2K_127250, this));
      |                                             ^~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:171:33: error: ‘GetListener’ was not declared in this scope
  171 |     listener_127250 = std::move(GetListener(id_127250, EVT_N2K_127250, this));
      |                                 ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:172:30: error: ‘ObservedEvt’ is not a type
  172 |     Bind(EVT_N2K_127250, [&](ObservedEvt ev) { HandleN2K_127250(ev); });
      |                              ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:176:15: error: expected ‘;’ before ‘id_65360’
  176 |     NMEA2000Id id_65360 = NMEA2000Id(65360);
      |               ^~~~~~~~~
      |               ;
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:177:44: error: ‘id_65360’ was not declared in this scope
  177 |     listener_65360 = std::move(GetListener(id_65360, EVT_N2K_65360, this));
      |                                            ^~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:178:29: error: ‘ObservedEvt’ is not a type
  178 |     Bind(EVT_N2K_65360, [&](ObservedEvt ev) { HandleN2K_65360(ev); });
      |                             ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:182:15: error: expected ‘;’ before ‘id_126208’
  182 |     NMEA2000Id id_126208 = NMEA2000Id(126208);
      |               ^~~~~~~~~~
      |               ;
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:183:45: error: ‘id_126208’ was not declared in this scope
  183 |     listener_126208 = std::move(GetListener(id_126208, EVT_N2K_126208, this));
      |                                             ^~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:184:30: error: ‘ObservedEvt’ is not a type
  184 |     Bind(EVT_N2K_126208, [&](ObservedEvt ev) { HandleN2K_126208(ev); });
      |                              ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:188:15: error: expected ‘;’ before ‘id_126720’
  188 |     NMEA2000Id id_126720 = NMEA2000Id(126720);
      |               ^~~~~~~~~~
      |               ;
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:189:45: error: ‘id_126720’ was not declared in this scope
  189 |     listener_126720 = std::move(GetListener(id_126720, EVT_N2K_126720, this));
      |                                             ^~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:190:30: error: ‘ObservedEvt’ is not a type
  190 |     Bind(EVT_N2K_126720, [&](ObservedEvt ev) { HandleN2K_126720(ev); });
      |                              ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:194:15: error: expected ‘;’ before ‘id_65359’
  194 |     NMEA2000Id id_65359 = NMEA2000Id(65359);
      |               ^~~~~~~~~
      |               ;
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:195:44: error: ‘id_65359’ was not declared in this scope
  195 |     listener_65359 = std::move(GetListener(id_65359, EVT_N2K_65359, this));
      |                                            ^~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:196:29: error: ‘ObservedEvt’ is not a type
  196 |     Bind(EVT_N2K_65359, [&](ObservedEvt ev) { HandleN2K_65359(ev); });
      |                             ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:198:31: error: ‘GetActiveDrivers’ was not declared in this scope
  198 |     for (const auto& handle : GetActiveDrivers()) {
      |                               ^~~~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:199:34: error: ‘GetAttributes’ was not declared in this scope; did you mean ‘attributes’?
  199 |         const auto& attributes = GetAttributes(handle);
      |                                  ^~~~~~~~~~~~~
      |                                  attributes
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:204:13: error: ‘m_handleN2k’ was not declared in this scope
  204 |             m_handleN2k = handle;
      |             ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:213:5: error: ‘CommDriverResult’ was not declared in this scope
  213 |     CommDriverResult xx = RegisterTXPGNs(m_handleN2k, pgn_list);
      |     ^~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/AutoTrackRaymarine_pi.dir/build.make:98: CMakeFiles/AutoTrackRaymarine_pi.dir/src/PreferencesDialog.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp: At global scope:
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:291:6: error: variable or field ‘HandleN2K_127250’ declared void
  291 | void AutoTrackRaymarine_pi::HandleN2K_127250(ObservedEvt ev){
      |      ^~~~~~~~~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:291:46: error: ‘ObservedEvt’ was not declared in this scope
  291 | void AutoTrackRaymarine_pi::HandleN2K_127250(ObservedEvt ev){
      |                                              ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:301:6: error: variable or field ‘HandleN2K_65360’ declared void
  301 | void AutoTrackRaymarine_pi::HandleN2K_65360(ObservedEvt ev)
      |      ^~~~~~~~~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:301:45: error: ‘ObservedEvt’ was not declared in this scope
  301 | void AutoTrackRaymarine_pi::HandleN2K_65360(ObservedEvt ev)
      |                                             ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:323:6: error: variable or field ‘HandleN2K_126208’ declared void
  323 | void AutoTrackRaymarine_pi::HandleN2K_126208(ObservedEvt ev)
      |      ^~~~~~~~~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:323:46: error: ‘ObservedEvt’ was not declared in this scope
  323 | void AutoTrackRaymarine_pi::HandleN2K_126208(ObservedEvt ev)
      |                                              ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:380:6: error: variable or field ‘HandleN2K_126720’ declared void
  380 | void AutoTrackRaymarine_pi::HandleN2K_126720(ObservedEvt ev){
      |      ^~~~~~~~~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:380:46: error: ‘ObservedEvt’ was not declared in this scope
  380 | void AutoTrackRaymarine_pi::HandleN2K_126720(ObservedEvt ev){
      |                                              ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:408:6: error: variable or field ‘HandleN2K_65359’ declared void
  408 | void AutoTrackRaymarine_pi::HandleN2K_65359(ObservedEvt ev)
      |      ^~~~~~~~~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:408:45: error: ‘ObservedEvt’ was not declared in this scope
  408 | void AutoTrackRaymarine_pi::HandleN2K_65359(ObservedEvt ev)
      |                                             ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp: In member function ‘void AutoTrackRaymarine_pi::SetPilotHeading(double)’:
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:817:24: error: ‘m_handleN2k’ was not declared in this scope
  817 |     WriteCommDriverN2K(m_handleN2k, PGN, 255, 6, payload);
      |                        ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:817:5: error: ‘WriteCommDriverN2K’ was not declared in this scope
  817 |     WriteCommDriverN2K(m_handleN2k, PGN, 255, 6, payload);
      |     ^~~~~~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp: In member function ‘void AutoTrackRaymarine_pi::SetPilotAuto()’:
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:826:24: error: ‘m_handleN2k’ was not declared in this scope
  826 |     WriteCommDriverN2K(m_handleN2k, PGN, 0xcc, 3, payload);
      |                        ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:826:5: error: ‘WriteCommDriverN2K’ was not declared in this scope
  826 |     WriteCommDriverN2K(m_handleN2k, PGN, 0xcc, 3, payload);
      |     ^~~~~~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp: In member function ‘void AutoTrackRaymarine_pi::SetPilotStandby()’:
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:839:24: error: ‘m_handleN2k’ was not declared in this scope
  839 |     WriteCommDriverN2K(m_handleN2k, PGN, 255, 6, payload);
      |                        ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:839:5: error: ‘WriteCommDriverN2K’ was not declared in this scope
  839 |     WriteCommDriverN2K(m_handleN2k, PGN, 255, 6, payload);
      |     ^~~~~~~~~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp: In member function ‘void AutoTrackRaymarine_pi::SetP70Tracking()’:
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:848:24: error: ‘m_handleN2k’ was not declared in this scope
  848 |     WriteCommDriverN2K(m_handleN2k, PGN, 255, 6, payload);
      |                        ^~~~~~~~~~~
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:848:5: error: ‘WriteCommDriverN2K’ was not declared in this scope
  848 |     WriteCommDriverN2K(m_handleN2k, PGN, 255, 6, payload);
      |     ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/wx-3.0/wx/wx.h:24,
                 from /home/circleci/project/src/AutoTrackRaymarine_pi.h:30,
                 from /home/circleci/project/src/AutoTrackRaymarine_pi.cpp:27:
/usr/include/wx-3.0/wx/event.h: In instantiation of ‘class wxEventFunctorFunctor<int, AutoTrackRaymarine_pi::Init()::<lambda(int)> >’:
/usr/include/wx-3.0/wx/event.h:3577:15:   required from ‘void wxEvtHandler::Bind(const EventTag&, const Functor&, int, int, wxObject*) [with EventTag = int; Functor = AutoTrackRaymarine_pi::Init()::<lambda(int)>]’
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:172:71:   required from here
/usr/include/wx-3.0/wx/event.h:522:43: error: ‘int’ is not a class, struct, or union type
  522 |     typedef typename EventTag::EventClass EventArg;
      |                                           ^~~~~~~~
/usr/include/wx-3.0/wx/event.h: In instantiation of ‘class wxEventFunctorFunctor<int, AutoTrackRaymarine_pi::Init()::<lambda(int)> >’:
/usr/include/wx-3.0/wx/event.h:3577:15:   required from ‘void wxEvtHandler::Bind(const EventTag&, const Functor&, int, int, wxObject*) [with EventTag = int; Functor = AutoTrackRaymarine_pi::Init()::<lambda(int)>]’
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:178:69:   required from here
/usr/include/wx-3.0/wx/event.h:522:43: error: ‘int’ is not a class, struct, or union type
/usr/include/wx-3.0/wx/event.h: In instantiation of ‘class wxEventFunctorFunctor<int, AutoTrackRaymarine_pi::Init()::<lambda(int)> >’:
/usr/include/wx-3.0/wx/event.h:3577:15:   required from ‘void wxEvtHandler::Bind(const EventTag&, const Functor&, int, int, wxObject*) [with EventTag = int; Functor = AutoTrackRaymarine_pi::Init()::<lambda(int)>]’
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:184:71:   required from here
/usr/include/wx-3.0/wx/event.h:522:43: error: ‘int’ is not a class, struct, or union type
/usr/include/wx-3.0/wx/event.h: In instantiation of ‘class wxEventFunctorFunctor<int, AutoTrackRaymarine_pi::Init()::<lambda(int)> >’:
/usr/include/wx-3.0/wx/event.h:3577:15:   required from ‘void wxEvtHandler::Bind(const EventTag&, const Functor&, int, int, wxObject*) [with EventTag = int; Functor = AutoTrackRaymarine_pi::Init()::<lambda(int)>]’
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:190:71:   required from here
/usr/include/wx-3.0/wx/event.h:522:43: error: ‘int’ is not a class, struct, or union type
/usr/include/wx-3.0/wx/event.h: In instantiation of ‘class wxEventFunctorFunctor<int, AutoTrackRaymarine_pi::Init()::<lambda(int)> >’:
/usr/include/wx-3.0/wx/event.h:3577:15:   required from ‘void wxEvtHandler::Bind(const EventTag&, const Functor&, int, int, wxObject*) [with EventTag = int; Functor = AutoTrackRaymarine_pi::Init()::<lambda(int)>]’
/home/circleci/project/src/AutoTrackRaymarine_pi.cpp:196:69:   required from here
/usr/include/wx-3.0/wx/event.h:522:43: error: ‘int’ is not a class, struct, or union type
make[2]: *** [CMakeFiles/AutoTrackRaymarine_pi.dir/build.make:85: CMakeFiles/AutoTrackRaymarine_pi.dir/src/AutoTrackRaymarine_pi.cpp.o] Error 1
make[2]: Leaving directory '/home/circleci/project/build'
make[1]: *** [CMakeFiles/Makefile2:320: CMakeFiles/AutoTrackRaymarine_pi.dir/all] Error 2
make[1]: Leaving directory '/home/circleci/project/build'
make: *** [Makefile:174: all] Error 2

Exited with code exit status 2

CircleCI received exit code 2