Closed julionce closed 4 years ago
Looks good.
btw, there's probably some cmake macros to do the compiler setup and checking for you, but that can be left for later.
HI @julianbermudez , I'm trying to use the microRTPS client app with your config profile, but I'm not be able to use it, because it's giving me the next error:
LN: platform/board to /home/juan/nuttx_micrortps/nuttx_micrortps/apps/platform/dummy make[3]: se sale del directorio '/home/juan/nuttx_micrortps/nuttx_micrortps/apps/platform' make[3]: se entra en el directorio '/home/juan/nuttx_micrortps/nuttx_micrortps/apps/micrortps' mkdir: no se puede crear el directorio «micro-RTPS-client/build»: El archivo ya existe Makefile:53: fallo en las instrucciones para el objetivo '/home/juan/nuttx_micrortps/nuttx_micrortps/apps/micrortps/micro-RTPS-client/build/install/lib/libmicrortps_client.a' make[3]: [/home/juan/nuttx_micrortps/nuttx_micrortps/apps/micrortps/micro-RTPS-client/build/install/lib/libmicrortps_client.a] Error 1 make[3]: se sale del directorio '/home/juan/nuttx_micrortps/nuttx_micrortps/apps/micrortps' Makefile:95: fallo en las instrucciones para el objetivo 'micrortps_context' make[2]: [micrortps_context] Error 2 make[2]: se sale del directorio '/home/juan/nuttx_micrortps/nuttx_micrortps/apps' Makefile:120: fallo en las instrucciones para el objetivo 'context_serialize' make[1]: [context_serialize] Error 2 make[1]: se sale del directorio '/home/juan/nuttx_micrortps/nuttx_micrortps/apps' Makefile.unix:342: fallo en las instrucciones para el objetivo 'context' make: [context] Error 2
Hi @jfm92 , it seems that you have a previous dirty building, please try to clean it up with make clean
and build it again, it should work.
If you still want to merge this, please resolve the conflicts.
It is outdated, we add these changes in Micro-XRCE-DDS-Nuttx-Apps.
Hi @iluetkeb, I modified the cmake build system following your pieces of advice. Please take a look and give me your feedback. Thanks.