cx-language / cx

C* is a hybrid low-level/high-level systems programming language focused on performance and productivity.
https://cx-language.github.io/
MIT License
130 stars 9 forks source link

cmake fails, build failed. #62

Closed ghost closed 4 years ago

ghost commented 4 years ago

@Coolnesss @emlai

I installed everything and llvm from releases to /Desktop/mymac/llvm and cmake returns this:

cmake .. -DCMAKE_PREFIX_PATH="/Users/mymac/Desktop/llvm"

CMake Error at CMakeLists.txt:49 (find_package):
  Could not find a configuration file for package "LLVM" that is compatible
  with requested version "9.0".

  The following configuration files were considered but not accepted:

    /Users/mymac/Desktop/llvm/lib/cmake/llvm/LLVMConfig.cmake, version: 10.0.0
    /Users/mymac/Desktop/llvm/lib/cmake/llvm/llvm-config.cmake, version: unknown

-- Configuring incomplete, errors occurred!
See also "/Users/mymac/Desktop/delta-master/build/CMakeFiles/CMakeOutput.log".

OS: macOS x86_64

What should I do to fix this?

ghost commented 4 years ago

My fault.