Skip to content
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

build issue #1

Closed
MS71 opened this issue Sep 13, 2020 · 5 comments
Closed

build issue #1

MS71 opened this issue Sep 13, 2020 · 5 comments
Assignees

Comments

@MS71
Copy link
Contributor

MS71 commented Sep 13, 2020

Hi,
suddenly, i get a build issue with this component.

My build commands:
rm -rf build components/micro-ROS/micro_ros_* components/micro-ROS/esp32_toolchain.cmake components/micro-ROS/include/ components/micro-ROS/*.a
export IDF_PATH=/home/maik/workspace/esp32/stable
source /opt/ros/foxy/setup.sh
. $IDF_PATH/export.sh
echo $IDF_PATH
#idf.py menuconfig
idf.py -v build

...
Summary: 22 packages finished [22.9s]
1 package failed: builtin_interfaces
4 packages aborted: lifecycle_msgs rmw_microxrcedds std_srvs unique_identifier_msgs
23 packages had stderr output: builtin_interfaces lifecycle_msgs microcdr microxrcedds_client rcutils rmw rmw_implementation_cmake rmw_microxrcedds rosidl_adapter rosidl_cmake
...

Any hint howto solve this issue?

build.txt

@pablogs9
Copy link
Member

Hello @MS71, I guess that this is an error about mixing two different builds. Anyways remember that this is experimental and we are polishing the integration.

Which IDF version are you using? Does it appear when you follow the steps in a clean environment? Have you tried to delete also the IDF build folder?

It seems that CMake is not finding the correct version of the serialization library (Micro-CDR), could you provide some replication steps to reproduce this from scratch?

Thanks

@pablogs9 pablogs9 self-assigned this Sep 14, 2020
@MS71
Copy link
Contributor Author

MS71 commented Sep 14, 2020

Hi,

Which IDF version are you using?
I checked with ESP IDF v4.1 and v4.0.1.

Does it appear when you follow the steps in a clean environment?
Yes

Have you tried to delete also the IDF build folder?
=> rm -rf build components/micro-ROS/micro_ros_* components/micro-ROS/esp32_toolchain.cmake components/micro-ROS/include/
Also, with clean checkout from your gitrep.

So, Yes

could you provide some replication steps to reproduce this from scratch?
rm -rf build components/micro-ROS/micro_ros_* components/micro-ROS/esp32_toolchain.cmake components/micro-ROS/include/ components/micro-ROS/*.a
... or a clean clone of your gitrep.

export IDF_PATH=/home/maik/workspace/esp32/esp-idf-v4.1
source /opt/ros/foxy/setup.sh
. $IDF_PATH/export.sh
echo $IDF_PATH
idf.py menuconfig
idf.py -v build

It was working on Friday. It would be nice if you would try it now once.

@pablogs9
Copy link
Member

Well, you are having troubles with fastcdr this is not a package downloaded by this module check this.

Why are you sourcing the ROS 2 foxy installation?

For me it works as expected in a clean IDF environment, with no ROS 2 Foxy sourcing, you can check my test here:

https://asciinema.org/a/GGaO235tw7zc0MDiOhgUyT0ZT

@MS71
Copy link
Contributor Author

MS71 commented Sep 14, 2020

Hi,
yes you are right. Without "source /opt/ros/foxy/setup.sh", all fine.
Sorry about this issue.

@MS71 MS71 closed this as completed Sep 14, 2020
@pablogs9
Copy link
Member

Don't you worry, don't hesitate to ask, and please provide feedback! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants