Pregunta

I tried running cmake to generate the build tools for linux on vmime with the latest source from git hub, it generated the following errors. Thoughts??

vmime$ /usr/local/bin/cmake -G "Unix Makefiles"
CMake Error at CMakeLists.txt:20 (INCLUDE):
  include could not find load file:
    CheckIncludeFileCxx
-- Build type: Debug
CMake Error at CMakeLists.txt:452 (CHECK_INCLUDE_FILE_CXX):
  Unknown CMake command "CHECK_INCLUDE_FILE_CXX".
-- Configuring incomplete, errors occurred!

No hay solución correcta

Otros consejos

In your CMakeLists.txt at line 20, you have

include(CheckIncludeFileCxx)

This should be

include(CheckIncludeFileCXX)
                         ^^--- Uppercase

Once CheckIncludeFileCXX is properly included, the error on line 452 should also disappear, since the file defines the function CHECK_INCLUDE_FILE_CXX.

It has probably only been tested on Windows; since Windows filenames are case-insensitive this would have worked.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top