@andyp1per wrote:
Anyone done this? Ubuntu on Windows 10 does not support 32bit executables so I am stuck trying to use 64bit executables which means the very latest arm compiler.
It all gets quite far until:
CXX: /mnt/i/github/ardupilot-dist/modules/PX4Firmware/src/modules/uORB/uORBDevices_nuttx.cpp
In file included from /opt/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/c++/6.3.1/string:52:0,
from /mnt/i/github/ardupilot-dist/modules/PX4Firmware/src/modules/uORB/uORBUtils.hpp:37,
from /mnt/i/github/ardupilot-dist/modules/PX4Firmware/src/modules/uORB/uORBDevices_nuttx.cpp:40:
/opt/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/c++/6.3.1/bits/basic_string.h: In function 'float std::_cxx11::stof(const string&, sizet*)':
/opt/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/c++/6.3.1/bits/basic_string.h:5454:31: error: 'strtof' is not a member of 'std'
{ return gnu_cxx::stoa(&std::strtof, "stof", _str.cstr(), __idx); }
^~~
compilation terminated due to -Wfatal-errors.
make[3]: *** [uORBDevices_nuttx.cpp.o] Error 1Will I have better luck with master or is this a pointless exercise?
andy
Posts: 2
Participants: 2