mercredi 31 mai 2017

Adding definition in CMakeLists.txt gives Segmentation fault (core dumped)

I enabled the C++11 support in CMakeLists.txt by using the

add_definitions(-std=c++11)  

Once recompiled and run I get surprisingly

Segmentation fault (core dumped)

In CMakeLists.txt C++11 support is enabled using the add_definitions

add_definitions(${PCL_DEFINITIONS})

add_definitions(-std=c++11)

Question, Is there any other way to include add_definitions or any suggestions what's wrong here ?

Aucun commentaire:

Enregistrer un commentaire