Skip to content
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

Build failed due to #define Float float in PATH_SDK #16

Closed
vacary opened this issue Mar 10, 2016 · 0 comments
Closed

Build failed due to #define Float float in PATH_SDK #16

vacary opened this issue Mar 10, 2016 · 0 comments
Assignees

Comments

@vacary
Copy link
Member

vacary commented Mar 10, 2016

The compilation of BulletTimeStepping.cpp fails due a side effect between boost and PATH_SDK.

[81%] Building CXX object mechanics/CMakeFiles/mechanics.dir/src/contactDetection/bullet/BulletTimeStepping.cpp.o
In file included from /Users/acary/siconos/mechanics/src/contactDetection/bullet/BulletTimeStepping.cpp:48:
In file included from /Users/acary/siconos/kernel/src/modelingTools/NonSmoothDynamicalSystem.hpp:27:
In file included from /Users/acary/siconos/kernel/src/simulationTools/Topology.hpp:28:
In file included from /Users/acary/siconos/kernel/src/simulationTools/SimulationGraphs.hpp:27:
In file included from /Users/acary/siconos/kernel/src/utils/SiconosTools/SiconosGraph.hpp:56:
In file included from /opt/local/include/boost/graph/graph_utility.hpp:31:
In file included from /opt/local/include/boost/pending/container_traits.hpp:23:
In file included from /opt/local/include/boost/unordered_set.hpp:17:
In file included from /opt/local/include/boost/unordered/unordered_set.hpp:21:
In file included from /opt/local/include/boost/functional/hash.hpp:6:
In file included from /opt/local/include/boost/functional/hash/hash.hpp:21:
In file included from /opt/local/include/boost/functional/hash/detail/hash_float.hpp:14:
/opt/local/include/boost/functional/hash/detail/float_functions.hpp:78:28: error: expected a qualified name after 'typename'
template
^
/Users/acary/siconos/externals/PATH_SDK/include/Types.h:24:18: note: expanded from macro 'Float'

define Float float

             ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants