This repository was archived by the owner on Nov 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
This repository was archived by the owner on Nov 29, 2019. It is now read-only.
Compilation and tests fail with clang #84
Copy link
Copy link
Open
Description
On Travis, metapodfromurdf leads to a segmentation fault when using clang 3.4:
[ 18%] Generating include/metapod/models/simple_arm/config.hh, include/metapod/models/simple_arm/simple_arm.hh, include/metapod/models/simple_arm/simple_arm.cc
metapodfromurdf/metapodfromurdf --name simple_arm --libname metapod_simple_arm --directory /home/travis/build/laas/metapod/_travis/build/include/metapod/models/simple_arm --config-file /home/travis/build/laas/metapod/data/simple_arm.config --license-file /home/travis/build/laas/metapod/data/metapod_license_file.txt /home/travis/build/laas/metapod/data/simple_arm.urdf
make[2]: *** [include/metapod/models/simple_arm/config.hh] Segmentation fault
Also, locally, when using clang 3.5.0, I get a bunch of elaborated type refers to a typedef errors:
In file included from .../metapod/build_clang/include/metapod/models/simple_arm/simple_arm.cc:31:
.../metapod/build_clang/include/metapod/models/simple_arm/simple_arm.hh:58:3: error: elaborated type refers to a typedef
METAPOD_TYPEDEFS;
^
.../metapod/include/metapod/tools/joint.hh:32:3: note: expanded from macro 'METAPOD_TYPEDEFS'
EIGEN_METAPOD_TYPEDEFS; \
^
.../metapod/include/metapod/tools/fwd.hh:62:42: note: expanded from macro 'EIGEN_METAPOD_TYPEDEFS'
typedef struct Vector1dTpl<FloatType>::Type Vector1d; \
^
.../metapod/build_clang/include/metapod/models/simple_arm/simple_arm.cc:36:31: note: in instantiation of template class 'metapod::simple_arm<double>' requested here
template <> const std::string simple_arm<FloatType>::Node0::joint_name = std::string("SHOULDER");
^
.../metapod/include/metapod/tools/fwd.hh:32:44: note: declared here
{ typedef Eigen::Matrix<FloatType, 1, 1> Type; };
^
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels