接続数

COUNTER248863FROM 2012/5/16

MISRA-C diary(C言語日誌)

MISRA-C >> 記事詳細

2017/10/12new

llvm-build

Tweet ThisSend to Facebook | by kaizen

brew install llvm


cmake ../llvm-5.0.0.src/

CMake Error: The source directory "/Users/administrator/llvm-5.0.0.src" does not exist.

Specify --help for usage, or press the help button on the CMake GUI.

KM-S05:Downloads administrator$ cd llvm-5.0.0.src

KM-S05:llvm-5.0.0.src administrator$ cmake ../llvm-5.0.0.src/

-- The C compiler identification is AppleClang 9.0.0.9000037

-- The CXX compiler identification is AppleClang 9.0.0.9000037

-- The ASM compiler identification is AppleClang

-- Found assembler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc

-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc

-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Detecting C compile features

-- Detecting C compile features - done

-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++

-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- No build type selected, default to Debug

-- Found libtool - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool

CMake Error at CMakeLists.txt:254 (message):

  In-source builds are not allowed.


  CMake would overwrite the makefiles distributed with LLVM.


  Please create a directory and run cmake from there, passing the path


  to this source directory as the last argument.


  This process created the file `CMakeCache.txt' and the directory

  `CMakeFiles'.


  Please delete them.



-- Configuring incomplete, errors occurred!

See also "/Users/administrator/Downloads/llvm-5.0.0.src/CMakeFiles/CMakeOutput.log".



11:33 | 投票する | 投票数(0) | コメント(0)