InteractiveComputerGraphics / PositionBasedDynamics

PositionBasedDynamics is a library for the physically-based simulation of rigid bodies, deformable solids and fluids.
MIT License
1.9k stars 358 forks source link

PBD lib is compiling with errors in case of too old compiler #68

Closed NadineAB closed 4 years ago

NadineAB commented 5 years ago

Hello,

I do use the PBD lib as submodule in my code, however, I have observed lately that the PBD lib is compiling with errors in case of too old compiler. As in the DiscreGrid lib, the required compiler is gcc 6.3 and more and clang 6.0 is not supported. I would like to suggest if you could kindly add a command in the cmake of the PBD can check that the compiler is not too old, and trigger error otherwise.

janbender commented 5 years ago

There should be a command that says that at least C++11 support is requried.

NadineAB commented 5 years ago

I am afraid that the problem occurs when clone and build the DiscreGrid lib within the PBD lib