[CastXML] Problem building castxml

Ron Garret ron at flownet.com
Tue Oct 4 13:55:38 EDT 2016


[ron at mighty:~/devel]➔ clang --version
Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
[ron at mighty:~/devel]➔ git clone git at github.com:CastXML/CastXML.git
Cloning into 'CastXML'...
remote: Counting objects: 2457, done.
remote: Total 2457 (delta 0), reused 0 (delta 0), pack-reused 2457
Receiving objects: 100% (2457/2457), 903.21 KiB | 1.13 MiB/s, done.
Resolving deltas: 100% (1675/1675), done.
Checking connectivity... done.
[ron at mighty:~/devel]➔ cmake CastXML/
-- The C compiler identification is AppleClang 6.0.0.6000051
-- The CXX compiler identification is AppleClang 6.0.0.6000051
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Git: /usr/bin/git (found version "1.9.3 (Apple Git-50)") 
-- Checking whether header cstdio is available
-- Checking whether header cstdio is available - yes
-- Checking for Large File Support
-- Checking for Large File Support - yes
-- Checking whether C compiler has ptrdiff_t in stddef.h
-- Checking whether C compiler has ptrdiff_t in stddef.h - yes
-- Checking whether C compiler has ssize_t in unistd.h
-- Checking whether C compiler has ssize_t in unistd.h - yes
CMake Error at CMakeLists.txt:64 (find_package):
  By not providing "FindLLVM.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "LLVM", but
  CMake did not find one.

  Could not find a package configuration file provided by "LLVM" with any of
  the following names:

    LLVMConfig.cmake
    llvm-config.cmake

  Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
  "LLVM_DIR" to a directory containing one of the above files.  If "LLVM"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!
See also "/Users/ron/devel/CMakeFiles/CMakeOutput.log".



More information about the CastXML mailing list