OpenMarine

Full Version: Power mode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2019-04-11, 10:49 AM)butjim321 Wrote: [ -> ]http://pypilot.org/wiki/doku.php?id=upgrading_from_git
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 github.com/pypilot/pypilot_pi .... 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)

Greetings
Andreas
.... 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
Andreas
Pages: 1 2