Question

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 correct solution

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top