error.abi.detection.failure

What happens

  • CMake fatal error with message [hunter ** FATAL ERROR **] ABI not detected for C compiler

Explanation

CMake failed to detect compiler ABI info:

-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed

This indicates some compiler problems and may lead to incorrect builds, see issue #121. Also such error occurs when your compiler is forced.

What to do

  • If you enabled a language for your project, like declaring a C++ project with project(proj CXX), try removing the CXX. See issue #579.
  • Else there may be other problems with your toolchain