forked from petrv7/llvm2c
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hello I've been trying to get this project working for a couple hours, this is the current error that I'm stuck at:
CMake Error at test/CMakeLists.txt:28 (message):
clang: version compatible with LLVM 7.0.1 not found
Here is the entire cmake output:
[root@myserver build]# cmake .. -DLLVM_DIR=/root/opt/llvm/7.0.1/lib/cmake/llvm/
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is Clang 7.0.1
-- The CXX compiler identification is Clang 7.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/rh/llvm-toolset-7.0/root/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/rh/llvm-toolset-7.0/root/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build type not set. Setting default.
-- Build type: RelWithDebInfo
-- Found LLVM 7.0.1
-- Using LLVMConfig.cmake in: /root/opt/llvm/7.0.1/lib/cmake/llvm/
-- LLVM include dir: /root/opt/llvm/7.0.1/include
-- LLVM libraries dir: /root/opt/llvm/7.0.1/lib
-- LLVM definitions: -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-- Linker detection: GNU ld
-- LLVM linking: dynamic
CMake Error at test/CMakeLists.txt:28 (message):
clang: version compatible with LLVM 7.0.1 not found
-- Configuring incomplete, errors occurred!
Jsem dostupný na ČVUT discordu pro rychlejší komunikaci.
Metadata
Metadata
Assignees
Labels
No labels