Redhat: Compilers that do not support bool are not supported

Hi all, I encountered the following error when trying to build ITK.

CMake Error at Modules/ThirdParty/VNL/src/vxl/config/cmake/config/VXLIntrospectionConfig.cmake:391 (message):
Compilers that do not support bool are not supported
Call Stack (most recent call first):
Modules/ThirdParty/VNL/src/vxl/CMakeLists.txt:183 (include)

My system: Redhat
Steps:

  1. download and unzip InsightToolkit-4.13.1.
  2. create ITK-build in InsightToolkit folder.
  3. Go to the ITK-build folder, and run
    ccmake3 …/
  4. press ‘c’
  5. the above error occurred,
  • UPDATE: the error above disappear after I remove all the files in ITK-build and run ‘ccmake3 …/’ again. So, problem solved. Thanks.

Hello,

Could you be more specific about your system? What version of Redhat do you have? What compiler (and version) are you using?

Thanks!