-
Notifications
You must be signed in to change notification settings - Fork 104
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
CMake error with v2 changes on libabsl_log_severity.a #146
Comments
@aosmw, do you have any idea how to fix this? |
In the package.xml, comment out the line that says, "libabsl-dev". At least that works for me |
Let's try that |
It might have something to do with the use of https://cmake.org/cmake/help/latest/variable/LIBRARY_OUTPUT_PATH.html It is used in swig/python/CMakeLists.txt and also in the spline dependency. Copy and pasting comment made in opennav_coverage here too
|
See Work In Progress #156 |
#156 has been merged, but still I'm getting the exact same error as above (with the duplicate "lib" directory in the path). Is that known and are investigations still ongoing? I can work around the issue by creating symlinks: sudo ln -s ../bin /opt/ros/iron/lib/bin
sudo ln -s ../include /opt/ros/iron/lib/include
sudo ln -s x86_64-linux-gnu /opt/ros/iron/lib/lib With that, the build is able to complete, but it's obviously very hacky. |
Hi @rovo89, |
I'm trying to compile it within another project. Inside the workspace, they have this repo's main branch checked out to |
I'm able to reproduce the error quite easily. Please find the steps
|
I was also able to get it to compile and run by running |
Thanks for sharing the info! Is |
Yah, sorry, should have specified. I cloned the repo. |
Got it, did you install OR-tools by following the google's instructions? |
Nope. Didn't do that. I think in the latest CMakes it downloads them
automatically if needed. Though I admit I had gotten it running before on
that computer so it may just have been seeing my previously downloaded
version.
…On Mon, Jul 22, 2024, 10:27 AM pl3703 ***@***.***> wrote:
I was also able to get it to compile and run by running rosdep install -i
--from-path ./libraries/Fields2Cover --rosdistro humble -y to install
lib_absl. After that it compiled fine.
Thanks for sharing the info! Is ./libraries/Fields2Cover the source
cloned from this repo, or only the packed installed using apt?
Yah, sorry, should have specified. I cloned the repo.
Got it, did you install OR-tools
<https://developers.google.com/optimization> by following the google's
instructions?
—
Reply to this email directly, view it on GitHub
<#146 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUBGCZJBC2NC2PT5OW2CG7TZNUQHLAVCNFSM6AAAAABIH25GSSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBTGIZTONJQGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thanks! I got new errors if I try to build it, with such steps
) |
Hi @pl3703, those are warnings, not the actual error. |
Sorry, let me clarify my question. When I tried to build opennav_coverage package using Fields2Cover as dependency, it gave such error. I clone both (Fields2Cover and opennav_coverage) in
|
I had the same issue on ROS2 Humble and I managed to fix that with below steps: To fix ortools error I had to remove Then make a new installation:
|
Thanks! I'll try it today. BTW, did you install ortools before step 4? |
No, I didn't. Checked to be sure with |
Thanks a lot! The humble version can be built successfully. Have you ever tried to build the iron with v2.0.0 Fields2cover? I'm still having the issue to complete this step
Error is
|
For iron version build, I'm able to build the v2.0.0 after installing dependencies by |
Hi, while using ros-humble-fields2cover (2.0.0-9jammy.20240516.152001), there is a reproducible issue with these 3 lines of minimal CMakeLists.txt.
mkdir build; cd build; cmake ..
. This could be related to the ortools dependency. Any idea how can this be fixed and resolved?The error logs:
The text was updated successfully, but these errors were encountered: