Cannot compile METAL
1
0
Entering edit mode
3.6 years ago
f-rasmussen ▴ 10

I have dowloaded METAL from its github page, by simply pressing "code" and "download ZIP". I then proceed to follow the instructions on the webpage.

I navigate to the directory containing the source files for METAL....

user@Users/user/Documents/METAL-master % ls
CMakeLists.txt  ChangeLog   LICENSE.twister README.md   examples    libsrc      metal       pdf     tests       version

... and paste in the commands from the github page.

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
make test
make install

.. this throws and error messages as such:

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - broken
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake:60 (message):
  The C compiler

    "/usr/bin/cc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /Users/user/Documents/METAL-master/build/CMakeFiles/CMakeTmp

    Run Build Command(s):/usr/bin/make cmTC_823e4/fast && xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:8 (project)


-- Configuring incomplete, errors occurred!
See also "/Users/user/Documents/METAL-master/build/CMakeFiles/CMakeOutput.log".
See also "/Users/user/Documents/METAL-master/build/CMakeFiles/CMakeError.log".
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

how can I download METAL to perform my meta analysis?

Meta-analysis compilation METAL • 915 views
ADD COMMENT
0
Entering edit mode
3.6 years ago
GenoMax 147k

You are missing Xcode command line tools package. You will need to install that (xcode-select --install).

ADD COMMENT

Login before adding your answer.

Traffic: 1836 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6