micro-ROS / nuttx_apps

Other
10 stars 13 forks source link

uros fails to build in nuttx #9

Closed alan707 closed 4 years ago

alan707 commented 5 years ago

Steps To Reproduce:

1) run the microros_stm32f4 Docker container Inside Docker Container: 2) make distclean 3) make apps_distclean 4) tools/configure.sh configs/olimex-stm32-e407/uros 5) make

Error Text:

IN: arch/arm/src/libarch.a -> staging/libarch.a
make[1]: Entering directory '/root/NuttX/libs/libxx'
Makefile:80: uClibc++/Make.defs: No such file or directory
make[1]: *** No rule to make target 'uClibc++/Make.defs'.  Stop.
make[1]: Leaving directory '/root/NuttX/libs/libxx'
tools/LibTargets.mk:180: recipe for target 'libs/libxx/libxx.a' failed
make: *** [libs/libxx/libxx.a] Error 2
imuguruza commented 5 years ago

Could you try with the tag v0.0.3-alpha please? Now master is ready for compiling using colcon. You should get into the apps repo and branch out. Same with nuttx repo, which the latest tag is v0.0.2-alpha

jfm92 commented 5 years ago

Hi @alan707, I just update the Docker file, and now it should run properly the micro-ROS build process in the docker. Please, previously build this docker: https://github.com/micro-ROS/docker/tree/master/Linux/development/micro-ROS_development

As a final point, unfortunately, the thing that you're trying to do always will return a fail. If you review the docker, you'll see that before the NuttX compilation, you need to do some previous steps. So, if you execute make distclean, everything that was done previously, will be deleted. (I suppose that we're talking about this Docker: UROS NuttX embedded)