Error in cmake bam-readcount compiling
0
0
Entering edit mode
7.8 years ago

Hello,

I have installed cmake on my MAC and was trying to compile bam-readcount but ran into an error:

What I did, as sugested in the bam-readcount website, is: - first create a directory - entered it - tried to compile it using cmake: cmake ../bam-readcount/

That's when I ran into this error:

-- The C compiler identification is AppleClang 7.3.0.7030031
-- The CXX compiler identification is AppleClang 7.3.0.7030031
-- 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
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
CMake Error at build-common/cmake/TestHelper.cmake:4 (link_libraries):
  Unknown CMake command "link_libraries".
Call Stack (most recent call first):
  CMakeLists.txt:14 (include)

-- Configuring incomplete, errors occurred!
See also "/Users/myname/Documents/SOFTWARES/bam_readcount/CMakeFiles/CMakeOutput.log".

I'm not sure what to do or if it's a cmake issue. Thank you very much!

bam-readcount cmake • 1.8k views
ADD COMMENT

Login before adding your answer.

Traffic: 1708 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