2019-04-11, 04:25 PM
.... 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
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