-
Notifications
You must be signed in to change notification settings - Fork 4
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
[BUG] Build errors when building package #14
Comments
Thanks for your reporting. Could you provide the full log with a log file, so I can search the item with "Error:" You can give it a search to see error msgs too.
Melodic is supported usually. It seems that the compiling error is not about ROS but for cupoch. |
Hi, I add this guide https://github.com/ZhenshengLee/perception_cupoch/blob/noetic/cupoch_conversions/docs/tutorial.md ang gave it tests in jetson xavier jetpack 4.4.1. Please try this and report issues. |
Thank you for your help @ZhenshengLee. I will try this. Where would I be able to find the log file you mentioned? |
From current terminal, there are too many lines and may be flushed, you could pipe it to a logfile like this. catkin_make > build_log.log |
Thank tou @ZhenshengLee. I have followed your guide and installed cupoch-fat from source. The initial error I get when building perception-cupoch is the following, where math_functions.hpp cannot be found: This can be resolved as explained here. Then the issue is the same as described earlier: Your help would be much appreciated. |
No useful info in log file, I am afraid I cannot check the reason. |
Would it be possible for you to provide the Jetson Nano Docker image in which you tested this? I appreciate your help! |
@mvanlobensels sorry for late.
Please upgrade eigen to 3.3.7 # 1804
sudo apt install libopenblas-dev freeglut3-dev libglew-dev libadolc-dev libcholmod3 libumfpack5 libmetis-dev libspqr2 libsparsehash-dev libmpfr-dev libmpfrc++-dev libfftw3-dev
# jetson
sudo apt install libopenblas-dev freeglut3-dev libglew-dev libadolc-dev libcholmod3.0.6 libumfpack5.7.1 libmetis-dev libspqr2.0.2 libsparsehash-dev libmpfr-dev libmpfrc++-dev libfftw3-dev
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
sudo make install |
Sorry I can't because my machine is lack of jetson container environment. If you have compiling issues, feel free to report here. Thanks. |
Thank you for your reply @ZhenshengLee, I installed the packages you suggested. However, the #jetson command did not work and packages were not found, the #1804 command did work. |
It depends on your jetpack version. It worked in my version of jetpack 4.4.1
you should prefer to download the release package here https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.tar.gz
did you remove the folder |
Install this dependicies before compiling. sudo apt install nasm
sudo apt-get --yes install xorg-dev libglu1-mesa-dev libgl1-mesa-glx libglew-dev libglfw3-dev libeigen3-dev libpng-dev libpng16-16 libsdl2-dev python-dev python-tk python3-dev python3-tk libtbb-dev libglu1-mesa-dev libc++-7-dev libc++abi-7-dev ninja-build libxi-dev
sudo apt install libfmt-dev pybind11-dev libqhull-dev libglfw3-dev liblapacke-dev Thanks. |
Please follow guides here https://github.com/ZhenshengLee/perception_cupoch/blob/noetic/cupoch_conversions/res/patch/readme.md to fix compiling issue with cuda and boost thanks. |
Did this. Still get
|
I have the same error. In the end, I decided to use Cupoch with Python bindings |
Did you upgrade your eigen to 3.3.7?
|
it is already 3.3.7 |
Any updates? I am ready to close this. |
Bug report
Required information:
Ubuntu 18.04 L4T, Jetpack 4.6
Installed from source, running in a Docker
Noetic branch, c83d27b
Melodic
From source
Description of the bug
I managed to install Cupoch from source and it is found by cupoch_conversions. However, I am now running into errors without clear explanation of what the error is.
Dependencies were missing so I first installed libglfw3-dev, libglew-dev, ros-melodic-pcl-ros, ros-melodic-pcl-conversions via apt and spdlog from source.
Then ran:
Expected behavior
Build success
Actual behavior
Error as shown below
Screenshots
Additional information
As I am using ROS Melodic, I am wondering if I should use ROS Noetic. I am using Melodic since the docs mentioned Ubuntu 18.04+. Does this package only support Noetic and Foxy?
The text was updated successfully, but these errors were encountered: