Question: Error in cmake bam-readcount compiling
0
gravatar for matthieudelcourt
2.7 years ago by
matthieudelcourt0 wrote:

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!

cmake bam-readcount • 776 views
ADD COMMENTlink modified 2.7 years ago by genomax62k • written 2.7 years ago by matthieudelcourt0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2512 users visited in the last hour