Git Product home page Git Product logo

Comments (3)

velecto1 avatar velecto1 commented on May 24, 2024 1

Got it!

One line of the CMake-generated file fcl/build/src/CMakeFiles/fcl.dir/flags.make is very telling:

CXX_FLAGS = -O3 -DNDEBUG -fPIC -std=c++11 -W -Wall -Wextra -Wpedantic -fPIC -fvisibility=hidden -mfpmath=sse -msse -msse2 -msse3 -mssse3

The issue is solved by pull request #563.

After adding a few includes (#include <cassert>), i.e., solving yet another issue, everything should be fine ;)

You can check my fork: https://github.com/velecto1/fcl

from fcl.

velecto1 avatar velecto1 commented on May 24, 2024

Hi,

I think there is some incompatibility with the newest Eigen. Try it with Eigen 3.3.7.

But if you find another solution, please tell me! (I have to use Eigen 3.4 anyway.)

from fcl.

velecto1 avatar velecto1 commented on May 24, 2024

I have tweaked the Meta.h header of Eigen to show the value of the __cplusplus macro. Indeed, it is 201103L, meaning the C++11 standard.

So why does it think (or why is it being complied) with C++11???

Consolidate compiler generated dependencies of target fcl
[  0%] Building CXX object src/CMakeFiles/fcl.dir/broadphase/broadphase_SSaP.cpp.o
In file included from /home/tomtom/git/eigen-git/eigen/Eigen/Core:19,
                 from /home/tomtom/git/eigen-git/eigen/Eigen/Dense:1,
                 from /home/tomtom/Downloads/fcl/include/fcl/common/types.h:46,
                 from /home/tomtom/Downloads/fcl/include/fcl/math/bv/AABB.h:41,
                 from /home/tomtom/Downloads/fcl/include/fcl/geometry/collision_geometry.h:43,
                 from /home/tomtom/Downloads/fcl/include/fcl/narrowphase/collision_object.h:43,
                 from /home/tomtom/Downloads/fcl/include/fcl/broadphase/broadphase_collision_manager.h:44,
                 from /home/tomtom/Downloads/fcl/include/fcl/broadphase/broadphase_SSaP.h:42,
                 from /home/tomtom/Downloads/fcl/include/fcl/broadphase/broadphase_SSaP-inl.h:41,
                 from /home/tomtom/Downloads/fcl/src/broadphase/broadphase_SSaP.cpp:38:
/home/tomtom/git/eigen-git/eigen/Eigen/src/Core/util/Macros.h:718:2: error: #error This compiler appears to be too old to be supported by Eigen
  718 | #error This compiler appears to be too old to be supported by Eigen
      |  ^~~~~
/home/tomtom/git/eigen-git/eigen/Eigen/src/Core/util/Macros.h:679:46: note: ‘#pragma message: The value of __cplusplus: 201103L’
  679 | #pragma message "The value of __cplusplus: " XSTR(__cplusplus)
      |                                              ^~~~

from fcl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.