makeコマンドでエラー。「make: *** ターゲットが指定されておらず, makefile も見つかりません. 」

Linux Mintのソフトウェアとアプリケーションに関する質問

makeコマンドでエラー。「make: *** ターゲットが指定されておらず, makefile も見つかりません. 」

投稿記事by debianedition » 2014年11月29日(土) 19:26

simgear-3.2.0をインストールをしようと、ファイルをDLして、

$tar zxvf Download/simgear-3.2.0.tar.bz2

出てきたファイルの中の"INSTALL"ファイル22-25行目に書いてあるとおり、

$mkdir sgbuild
$cd sgbuild
$cmake ../simgear -DCMAKE_BUILD_TYPE=Release
$make
$sudo make install
を実行しました。(cmakeは自分でインストールしました。)
その時に、以下のようなメッセージが表示されました。
username@hostrname ~/simgear-3.2.0 $ mkdir sgbuild
username@hostrname ~/simgear-3.2.0 $ cd sgbuild
username@hostrname ~/simgear-3.2.0/sgbuild $ cmake ../simgear -DCMAKE_BUILD_TYPE=Release
-- The CXX compiler identification is unknown
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error at bucket/CMakeLists.txt:2 (include):
include could not find load file:

SimGearComponent


CMake Error at bucket/CMakeLists.txt:7 (simgear_component):
Unknown CMake command "simgear_component".


CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.8)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
username@hostrname ~/simgear-3.2.0/sgbuild $ make
make: *** ターゲットが指定されておらず, makefile も見つかりません. 中止.
username@hostrname ~/simgear-3.2.0/sgbuild $ sudo make install
[sudo] password for username:
make: *** ターゲット `install' を make するルールがありません. 中止.

どうしたらインストールできるでしょうか?

username@hostrname ~/simgear-3.2.0/sgbuild $ cmake ../simgear -DCMAKE_BUILD_TYPE=Release
の実行時に、

CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.

と出ているので、該当するコマンドをどうにかすればいいのだろうということは分かるのですが、どうすればこのエラーを解決できるのでしょうか?
debianedition
前相撲
 
記事: 1
登録日時: 2014年11月29日(土) 18:05

Return to ソフトウェアとアプリケーション

オンラインデータ

このフォーラムを閲覧中のユーザー: なし & ゲスト[13人]