-
Notifications
You must be signed in to change notification settings - Fork 31
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
Failing to build Target / does not exist #55
Comments
Original comment by Tarun Uday (Bitbucket: tarun.uday).
|
1 similar comment
Original comment by Tarun Uday (Bitbucket: tarun.uday).
|
Original comment by Michael Grey (Bitbucket: mxgrey, GitHub: mxgrey). If this is the first error you're encountering:
then I don't expect it's related to the Your error makes it sound as though your Could you try reverting all your installed packages back to normal, completely deleting your |
Original comment by Tarun Uday (Bitbucket: tarun.uday). Here you go: https://gist.github.com/tarunuday/11184f9b598d1e619fc76f9719b5f70f |
Original comment by Michael Grey (Bitbucket: mxgrey, GitHub: mxgrey). Thanks, this makes me further suspect that your issue is unrelated to the Would you be able to share your Also could you share the contents of the file I recommend putting the file contents in gists to help keep this thread readable. Thanks for your help in debugging this! |
Original comment by Tarun Uday (Bitbucket: tarun.uday). Sure, would love to solve this. I had a ton of packages that I removed so that I can point the conflict out and recreate the error. I'm making minor edits to the original issue to represent the names of the packages as it is now (changing gazebo_plugins to vgazebo_plugins) The vgazebo_plugins package is a package with a couple of executables, and depends on gazebo_plugins which is installed from Here is the Here is the Not sure if you'd like this but here is what I get if I do |
Original comment by Tarun Uday (Bitbucket: tarun.uday).
|
Original comment by Michael Grey (Bitbucket: mxgrey, GitHub: mxgrey). I don't expect this to particularly help, but one tweak I recommend making to your
to make sure that you have the desired version of Gazebo installed. I don't think this will affect anything in your case, but it's always better to be safe than confused. I'm really struggling to think of a reason that this issue would be happening. I'm going to make some unconventional suggestions to help with debugging. Could you put the following lines into your
One thing I can say for sure is that I can make a dummy project using the exact
And then I made some minimally functional files for
I'm using Ubuntu Bionic (18.04), ROS Melodic, Gazebo 9, and CMake 3.10.2. Here's the output from my |
Original comment by Tarun Uday (Bitbucket: tarun.uday). The CMakeLists modifications didn't help. I've reduced the entire workspace to the bare minimum and uploaded it. Here's my setup:
My generated build output: https://gist.github.com/tarunuday/b3b7ffe43bc1e1519e0a87bea95604e6 Things that do avoid the CMake error
|
Original comment by Michael Grey (Bitbucket: mxgrey, GitHub: mxgrey). Okay, the fact that there are two packages involved makes the issue much much more clear. I didn't realize that the issue was emanating from a package that transitively depends on Gazebo rather than a package that depends on Gazebo directly. Now I understand how the issue could be happening. I think the source of the issue may be the use of old-fashioned The problem is that the first time the Gazebo config-file gets loaded is when it's requested by This is why |
Original comment by Tarun Uday (Bitbucket: tarun.uday). Fascinating. But isn't gazebo_plugin simply a secondary dependency of action_layer? Will any package that has nodes that calls gazebo and has gazebo as a secondary dependency have this issue? Since Longer term, |
Original comment by Tarun Uday (Bitbucket: tarun.uday).
|
Original comment by Tarun Uday (Bitbucket: tarun.uday).
|
Original comment by Michael Grey (Bitbucket: mxgrey, GitHub: mxgrey).
Only if you use the old-fashioned
The error happened because That means library Building the packages in isolated configurations is the safest and most sensible thing to do in all cases, not just in this particular case. |
Original report (archived issue) by Tarun Uday (Bitbucket: tarun.uday).
Hi,
I have a issue similar to #40 (#40):
I'm running Ubuntu Bionic (18.04), ROS Melodic, Gazebo 9, CMake (3.10.x). Msot of my debug workflow has been centered on the Issue#40 comments
locate FindUUID
gives me 2 instances:Adding a message after
ign_pkg_check_modules(UUID uuid)
in the second one, shows the message.But, if I rename the second one to FindIgnUUID.cmake, and catkin_make, I get the error:
I noticed that the error was coming from
/usr/lib/x86_64-linux-gnu/cmake/ignition-common1/ignition-common1-targets.cmake
at line 65 that says:I rearranged it to see if that was the only issue:
and now I get:
So rearranging that list of
INTERFACE_INCLUDE_DIRECTORIES
gets me the same error but with whatever is the first TARGET_PROPERTY. At this point, I try @mxgrey 's workaround, and addign_import_target(UUID)
to my package'sCMakeLists.txt
, which gives me the error:As mentioned in #40, removing
${GAZEBO_LIBRARIES}
fromtarget_link_libraries
solves the problem but obviously isn't a workaround. I notice that this person had the exact issue, and that was over a year ago, before the Issue#40 thread existed.Any directions or tips would be helpful.
The text was updated successfully, but these errors were encountered: