-
Notifications
You must be signed in to change notification settings - Fork 475
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
ROS2 foxy build failing at rosidl_runtime_cpp #181
Comments
I'm getting a similar issue with another package:
I only started to have it recently so I'm suspecting this PR to be the cause but I'm not sure |
I think I found the issue, basically a version mismatch between ament_cmake and cmake. The images install the latest cmake version (3.24 currently) and ament_cmake just got a fix to support cmake 3.24. It'll be a while until the next sync to get that fix. |
I'm facing another issue while trying to test. I can't even build Dockerfile.ros.galactic on master.
|
You could comment that out to try and proceed - what is the actual error from it? |
I tried to comment it out but opencv is needed afterwards for some packages, so I get more errors. I can show you the actual error tomorrow. You can also try to do a quick build so we can make sure it's not some local issue I got. |
I am trying to build Foxy container right now for JetPack 5.0.2 / L4T R35.1.0, and didn't have any issue with OpenCV. However, I did get a similar cmake error to you, so will look into downgrading cmake as well: �[91m--- stderr: rosidl_runtime_cpp
CMake Error at /opt/ros/foxy/install/share/performance_test_fixture/cmake/ament_cmake_export_targets-extras.cmake:18 (message):
Failed to find exported target names in
'/opt/ros/foxy/install/share/performance_test_fixture/cmake/performance_test_fixtureExport.cmake'
Call Stack (most recent call first):
/opt/ros/foxy/install/share/performance_test_fixture/cmake/performance_test_fixtureConfig.cmake:41 (include)
CMakeLists.txt:19 (find_package) |
Here is the opencv error I'm getting:
|
Hmm I have not seen that...which JetPack/L4T are you building on? If you remove this |
Sorry I just realized that I missed the Readme and assumed I can just build with docker build. I'll follow the instructions and report back |
Ah okay - yea, the build scripts dynamically set a bunch of the docker args based on what JetPack-L4T version you are on (including the base image, OpenCV binary package, ect) |
OK, got Foxy building again by downgrading cmake to version 3.23.3 and committed the fix in d5e9d3a Will try the same thing with Galactic next |
OK, Galactic built successfully with a similar patch: a7a878e |
Thanks, I was also preparing a fix. My fix consisted mainly of:
With your fix are we sure that cmake can't be accidentally upgraded with other packages? |
Unfortunately this doesn't work when building the JetPack 5.x containers because those use Ubuntu 20.04 and the package names are different... |
Closing this issue out with the updated PR #183 Thanks to @tonynajjar for all the help! |
Encountered this build error with Ubuntu 20.04 in a different context. Just wanted to leave that here in case anyone using Galactic and Ubuntu 20.04 stumbles across this Issue during troubleshooting as I did:
Admittedly just the same thing as already mentioned above.
|
I've been trying to build foxy and I've run into a build error with rosidl_runtime_cpp
I've started with a fresh SD card flashed with :
NVIDIA Jetson Nano (Developer Kit Version)
L4T 32.7.1 [ JetPack UNKNOWN ]
Ubuntu 18.04.6 LTS
Kernel Version: 4.9.253-tegra
Anyone know of a work around? I've done a little googling but I haven't run into an answer that has worked yet.
The text was updated successfully, but these errors were encountered: