CentOS 6의 CMake 문제

CentOS 6의 CMake 문제

CentOS 6.2에 소프트웨어를 설치하려고 했지만 성공하지 못했습니다. Readme에는 다음과 같이 나와 있습니다.

Requirements:
  - qt4 gui lib version >= qt4.6.x

    Note that many linux distributions split packages into a user
    and developer package and that you need to install both.

  - ALSA Version 1.0 or newer (audio/midi input/output)
  - CMake >= 2.4.6
  - libsndfile >= 1.0.19

  - recommended: JACK audio server (audio output)

  - recommended: portaudio 19
    (required for windows version)

다음을 사용하여 설치하려고 하면 make release:


-- The C compiler identification is GNU
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.

누구든지 이 문제를 해결하도록 도와줄 수 있나요?

답변1

C++ 및 기타 패키지가 필요합니다. 예를 들어:

# yum install gcc-c++
# yum install cmake`
Installed:
cmake.i386 0:2.6.4-1.el5.rf                                                  
Complete!
# yum install -y ncurses-devel
Installed:
ncurses-devel.i386 0:5.5-24.20060715                                         
Complete!

답변2

gcc-c++설치를 통해서 했습니다 yum.

관련 정보