This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Power mode
(2019-04-11, 10:49 AM)butjim321 Wrote:
i dont know about the opencpn plugin

Hi Jim,
the upgrading_from_git worked fine .... that is ok.

The Problem is updating/compiling the OpenCPN-Plugin-Pypilot
It is in .... the instructions to compile in the readme file don't work.
and it looks like there are errors in Names and Folders so compiling is not working.

The Update within Openplotter don't gives the latest updates and the plugin has an issue when
you move the helm in powermode ..... it moves to the wrong side ....
It looks like Sean has corrected that in the code for the Atuopiliot - Control in OP as well as in the OpenCPN Plugin. 
But the later I,m unable to install/compile (Not at the RPI and not on Windows)

.... after more hours and installing
wxwidgets and libbz2-dev I managed to

.... cmake
..... make

and fail at  .... sudo make install

the erros look like :

/home/pi/pypilot_pi/src/pypilot_pi.cpp: In function ‘wxString jsonformat(const char*, Json::Value&)’:
/home/pi/pypilot_pi/src/pypilot_pi.cpp:576:54: error: no matching function for call to ‘wxString::Format(const char*&, double)’
     return wxString::Format(format, jsondouble(value));
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
                 from /usr/include/wx-2.8/wx/object.h:20,
                 from /usr/include/wx-2.8/wx/wx.h:16,
                 from /home/pi/pypilot_pi/src/pypilot_pi.cpp:27:
/usr/include/wx-2.8/wx/string.h:1208:19: note: candidate: static wxString wxString::Format(const wxChar*, ...)
   static wxString Format(const wxChar *pszFormat, ...) WX_ATTRIBUTE_PRINTF_1;
/usr/include/wx-2.8/wx/string.h:1208:19: note:   no known conversion for argument 1 from ‘const char*’ to ‘const wxChar* {aka const wchar_t*}’
CMakeFiles/pypilot_pi.dir/build.make:62: recipe for target 'CMakeFiles/pypilot_pi.dir/src/pypilot_pi.cpp.o' failed
make[2]: *** [CMakeFiles/pypilot_pi.dir/src/pypilot_pi.cpp.o] Error 1
CMakeFiles/Makefile2:131: recipe for target 'CMakeFiles/pypilot_pi.dir/all' failed
make[1]: *** [CMakeFiles/pypilot_pi.dir/all] Error 2
Makefile:149: recipe for target 'all' failed

as I stated before .... far beyond my knowledge  :-(

save sailing

Forum Jump:

Users browsing this thread: 1 Guest(s)