Hi all,
Anybody an idea ? Trying to compile APM quadcopter with latest nuttx v7.xx
Nuttx part done, PX4 done , APM I think is done ... 
This came up :
 /opt/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include/c++/4.9.3/bits/postypes.h:227:16: error: 'mbstate_t' was not declared in this scope
   typedef fpos<mbstate_t> streampos;
                
compilation terminated due to -Wfatal-errors.
make[3]: *** [uORBDevices_nuttx.cpp.o] Error 1
make[3]: Leaving directory `/home/lexx/ArduPilot/ardupilot/modules/PX4Firmware/Build/px4fmu-v2_APM.build/home/lexx/ArduPilot/ardupilot/modules/PX4Firmware/src/modules/uORB'
make[2]: *** [/home/lexx/ArduPilot/ardupilot/modules/PX4Firmware/Build/px4fmu-v2_APM.build//home/lexx/ArduPilot/ardupilot/modules/PX4Firmware/src/modules/uORB/module.pre.o] Error 2
make[2]: Leaving directory `/home/lexx/ArduPilot/ardupilot/modules/PX4Firmware/Build/px4fmu-v2_APM.build'
make[1]: *** [/home/lexx/ArduPilot/ardupilot/modules/PX4Firmware/Build/px4fmu-v2_APM.build/firmware.px4] Error 2
make[1]: Leaving directory `/home/lexx/ArduPilot/ardupilot'
make: *** [px4-v2] Error 2

But
mbstate_t was included in mchar.h file and posttypes.h also include the mchar.h file

Any suggestion or perhaps even HELP would be appreciate 
Greets

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

This reply was deleted.

Activity