-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error building ST Nucleo F4X1RE, Nuttx & Micro XRCE-DDS #7
Comments
i have realised the above error raised due to CONFIG_UDP_TRANSPORT_MTU was not set then in the kconfig file i have removed the UXR_PROFILE_UDP_TRANSPORT depends on NET_UDP that removed that error.
please help me how to resolve this error ? |
Hello @jayanthendo, are you building, installing and linking Micro-CDR? |
no i have taken the "microxrcedds" from this repository and the example's "microxrceclient, microxrceclient_6lowpan" and trying to build it |
Could you share a step by step procedure of what are you doing in order to replicate your issue? |
these were the steps that i have followed
and trying to build it using these commands cd tools/kconfig-frontends/ |
Let me follow these steps and I will come back with some comments. |
ok. Thank you for your time and patience. |
@pablogs9 any update on this? |
I have solved the first problem by disabling the Discovery profile:
Check this: sudo apt install gcc-arm-none-eabi
mkdir nuttx_ws && cd nuttx_ws
git clone https://bitbucket.org/nuttx/nuttx.git nuttx
git clone https://bitbucket.org/nuttx/apps.git apps
git clone https://bitbucket.org/nuttx/tools.git tools
# Here we copy:
# microxrcedds (this repo) -> apps/microxrcedds
# examples/microxrceclient (this repo) -> apps/examples/microxrceclient
pushd tools/kconfig-frontends
# If this not make do: autoreconf -f -i
./configure
make
sudo make install
sudo ldconfig
popd
pushd nuttx
make distclean
./tools/configure.sh nucleo-f4x1re/f411-nsh
make menuconfig
# Enable Application Configuration -> Micro XRCE-DDS -> Enable Micro XRCE-DDS Client
# Disable Application Configuration -> Micro XRCE-DDS -> Discovery profile
# Enable Application Configuration -> Examples -> Micro XRCE-DDS example
# Save and close
make But now I'm having problems with library installation. Do you have any idea here? I'll investigating. |
No i have not found Micro-CDR implementation for nuttx. 0 directories, 3 files` and included this resolved library missing issue but gives this error
|
If you check the Makefile of the Micro XRCE-DDS Client you can see that it is downloading the Micro XRCE-DDS Client repo: Micro-XRCE-DDS-Apps/microxrcedds/Makefile Line 105 in 4e86f51
Then during the processing of building the Micro XRCE-DDS, it downloads Micro-CDR, so you don't have to worry about this stage because when Please follow the steps I have written above and tell me if it works. |
Have you disabled this: Disable Application Configuration -> Micro XRCE-DDS -> Discovery profile ? |
i have disabled discovery profile and build like you mentioned
|
which library installation you are referring here? |
In any case, seeing your errors:
Please modify the sample app |
i have removed the udp and tcp and |
i know its better to not change the kconfig of microxrcedds but i have removed the the |
Try one more thing, modify this line:
to |
no the same error repeats |
i don't think it is loading CDR, here is my make result
|
Hello @jayanthendo, here you have a working step-by-step successfully build: |
ok thank you @pablogs9 i have watched the video i will try again with fresh installation of everything and i will get back to you with some comments, hopefully this time it works. |
please notice that I have modified a couple of this in the step where I do:
Check the source code of the application in the branch |
@pablogs9 i have done same exact steps but i don't know whats going on, i got again same error
|
Hi @pablogs9 i have tried in another system and it successfully build, i don't know why it is not building in my system |
@jayanthendo Hi! Thank you for your interest in Micro XRCE-DDS. Notice that we’ll discuss the recent contributions and developments in the next Embedded WG meeting. You’re invited to bring your Micro XRCE-DDS related issue to this platform. We’ll be very happy to have you join us and discuss your questions with the community. |
@pablogs9 just an update, as i said it was working on other system and also the micro-ROS was building so i started to look why it is not working on my system, |
Since we have found there is a problem in your local configuration, can we close this issue? |
yes, can you suggest how can i resolve this |
I guess that this is not a Micro XRCE-DDS related question since you have some proxies that can be interfering with downloading. Please try to use a clean environment like a Docker container. |
i was trying to build nuttx with Micro-XRCE-DDS but facing error during the build process
i have followed these steps
cd ~/nuttxspace/nuttx/
make distclean
cd tools/
./configure.sh nucleo-f4x1re/f411-nsh
cd ..
make menuconfig // i have included the Micro-XRCE-DDS client examples and saved them
make
in the make process i got this error
please help me how to resolve this error
The text was updated successfully, but these errors were encountered: