Package Details: urdfdom 4.0.0-1

Git Clone URL: https://aur.archlinux.org/urdfdom.git (read-only, click to copy)
Package Base: urdfdom
Description: The URDF (U-Robot Description Format) library provides core data structures and a simple XML parsers for populating the class data structures from an URDF file.
Upstream URL: https://github.com/ros/urdfdom
Licenses: BSD-3-Clause
Submitter: bchretien
Maintainer: Nim65s
Last Packager: Nim65s
Votes: 9
Popularity: 0.000000
First Submitted: 2014-01-24 11:26 (UTC)
Last Updated: 2024-02-04 14:11 (UTC)

Latest Comments

Nim65s commented on 2024-07-20 06:55 (UTC)

Thanks for raising this issue, I can reproduce it. This was working before, because this version is already installed correctly on my system.

I'll have a look Tomorrow.

acxz commented on 2024-07-20 03:47 (UTC) (edited on 2024-07-20 03:52 (UTC) by acxz)

@Nim65s Could you take a look at this error?

==> Starting build()...
-- The CXX compiler identification is GNU 14.1.1
-- The C compiler identification is GNU 14.1.1
[...]
-- Configuration successful. Type make to compile urdfdom
-- Configuring done (5.7s)
CMake Error at urdf_parser/CMakeLists.txt:77 (target_link_libraries):
  The link interface of target "urdf_parser" contains:

    urdfdom::urdfdom_model

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



-- Generating done (0.1s)
CMake Generate step failed.  Build files cannot be regenerated correctly.
==> ERROR: A failure occurred in build().

Most likely an upstream error as the previous pkgver (3.1.1) compiles just fine.

MichaelChou commented on 2018-09-01 12:55 (UTC)

You should write something like this in PKGBUILD:

source=("$pkgname-$pkgver.tar.gz::https://github.com/ros/$_pkgname/archive/$pkgver.tar.gz")

See warning here: https://wiki.archlinux.org/index.php/PKGBUILD#Sources

bchretien commented on 2014-07-06 22:19 (UTC)

@walkindude: well, the system version of urdfdom will be used for Indigo, but Hydro will stick with its own 0.2.x version with a different API/ABI, which can lead to issues if you have both in the same PATH (cf. https://github.com/ros/rosdistro/issues/4633).

walkindude commented on 2014-07-06 22:11 (UTC)

@bchretien: thanks, it was indeed another version, ros-hydro-urdfdom-headers

bchretien commented on 2014-07-06 21:48 (UTC)

@walkindude: can you check that you indeed have /usr/include/urdf_model/link.h with (starting from line 148): class Visual { public: Visual() { this->clear(); }; Pose origin; boost::shared_ptr<Geometry> geometry; std::string material_name; boost::shared_ptr<Material> material; void clear() { origin.clear(); material_name.clear(); material.reset(); geometry.reset(); name.clear(); }; std::string name; }; If you do, go to the build directory of the "urdfdom" package, and run "make VERBOSE=1" to check if you have another version of the headers clashing with the build process. You can also investigate the CMake variables with "ccmake ." in the build directory then type "t".

walkindude commented on 2014-07-06 21:36 (UTC)

@bchretien: already tried that, didn't work. these headers https://aur.archlinux.org/packages/urdfdom-headers/ or did I miss something?

bchretien commented on 2014-07-06 21:28 (UTC)

@walkindude: you probably did not update urdfdom-headers before updating urdfdom. I'll add an extra check for the headers version.

walkindude commented on 2014-07-06 21:15 (UTC)

urdfdom[ 73%] Built target urdfdom_model_state /home/walkindude/yaourt/yaourt-tmp-walkindude/aur-urdfdom/src/urdfdom/urdf_parser/src/link.cpp: In function ‘bool urdf::parseVisual(urdf::Visual&, TiXmlElement*)’: /home/walkindude/yaourt/yaourt-tmp-walkindude/aur-urdfdom/src/urdfdom/urdf_parser/src/link.cpp:367:9: error: ‘class urdf::Visual’ has no member named ‘name’ vis.name = name_char; ^ /home/walkindude/yaourt/yaourt-tmp-walkindude/aur-urdfdom/src/urdfdom/urdf_parser/src/link.cpp: In function ‘bool urdf::parseCollision(urdf::Collision&, TiXmlElement*)’: /home/walkindude/yaourt/yaourt-tmp-walkindude/aur-urdfdom/src/urdfdom/urdf_parser/src/link.cpp:409:9: error: ‘class urdf::Collision’ has no member named ‘name’ col.name = name_char; ^ urdf_parser/CMakeFiles/urdfdom_model.dir/build.make:100: recipe for target 'urdf_parser/CMakeFiles/urdfdom_model.dir/src/link.cpp.o' failed make[2]: *** [urdf_parser/CMakeFiles/urdfdom_model.dir/src/link.cpp.o] Error 1 CMakeFiles/Makefile2:193: recipe for target 'urdf_parser/CMakeFiles/urdfdom_model.dir/all' failed make[1]: *** [urdf_parser/CMakeFiles/urdfdom_model.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /home/walkindude/yaourt/yaourt-tmp-walkindude/aur-urdfdom/src/urdfdom/urdf_parser/src/link.cpp: In function ‘bool urdf::parseVisual(urdf::Visual&, TiXmlElement*)’: /home/walkindude/yaourt/yaourt-tmp-walkindude/aur-urdfdom/src/urdfdom/urdf_parser/src/link.cpp:367:9: error: ‘class urdf::Visual’ has no member named ‘name’ vis.name = name_char; ^ /home/walkindude/yaourt/yaourt-tmp-walkindude/aur-urdfdom/src/urdfdom/urdf_parser/src/link.cpp: In function ‘bool urdf::parseCollision(urdf::Collision&, TiXmlElement*)’: /home/walkindude/yaourt/yaourt-tmp-walkindude/aur-urdfdom/src/urdfdom/urdf_parser/src/link.cpp:409:9: error: ‘class urdf::Collision’ has no member named ‘name’ col.name = name_char; ^ urdf_parser/CMakeFiles/urdfdom_world.dir/build.make:100: recipe for target 'urdf_parser/CMakeFiles/urdfdom_world.dir/src/link.cpp.o' failed make[2]: *** [urdf_parser/CMakeFiles/urdfdom_world.dir/src/link.cpp.o] Error 1 CMakeFiles/Makefile2:298: recipe for target 'urdf_parser/CMakeFiles/urdfdom_world.dir/all' failed make[1]: *** [urdf_parser/CMakeFiles/urdfdom_world.dir/all] Error 2 Makefile:117: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build urdfdom. ==> Restart building urdfdom ? [y/N] ==> -------------------------------- ==>