質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
CMake

CMakeはクロスプラットフォームで作動するオープンソースのビルドシステムです。コマンドライン又は組み込まれた開発環境で使うことができる元のmakefileとプロジェクトファイルを生成します。

Q&A

0回答

902閲覧

openposeのインストール中、cmake エラーが発生しました。

退会済みユーザー

退会済みユーザー

総合スコア0

CMake

CMakeはクロスプラットフォームで作動するオープンソースのビルドシステムです。コマンドライン又は組み込まれた開発環境で使うことができる元のmakefileとプロジェクトファイルを生成します。

0グッド

0クリップ

投稿2019/06/23 15:25

編集2019/06/23 17:35

openposeの下記のサイトhttps://qiita.com/miu200521358/items/539aaa63f16869191508
を実行中なんですが、cmakeのビルド中にエラーが発生しました。
解決策がありましたら、教えていただけるとありがたいです。よろしくお願いいたします。

エラーはこのようになっています。
Selecting Windows SDK version to target Windows 10.0.17134.
The C compiler identification is unknown
The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:19 (project):
No CMAKE_C_COMPILER could be found.

CMake Error at CMakeLists.txt:19 (project):
No CMAKE_CXX_COMPILER could be found.

Configuring incomplete, errors occurred!
See also "C:/Users/yusmi/openpose-build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/yusmi/openpose-build/CMakeFiles/CMakeError.log".

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

tiitoi

2019/06/24 03:43 編集

> No CMAKE_C_COMPILER could be found. と書いてあるように、C/C++ コンパイラがお使いのパソコンにないのが原因ではないでしょうか?Visual Studio でも Clang でもなんでもいいですが、C++ をコンパイルできる環境がありますか?
退会済みユーザー

退会済みユーザー

2019/06/24 04:10

解説ありがとうございます。 visual studio2015をインストールしました。cmakeのエラーが発生しているんですかね? 教えていただけると、助かります。 CMake Error at CMakeLists.txt:992 (add_subdirectory): The source directory C:/Users/yusmi/openpose-master/3rdparty/pybind11 does not contain a CMakeLists.txt file. CMake Error at python/openpose/CMakeLists.txt:6 (pybind11_add_module): Unknown CMake command "pybind11_add_module". CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: SPINNAKER_LIB linked by target "openpose" in directory C:/Users/yusmi/openpose-master/src/openpose linked by target "Calibration" in directory C:/Users/yusmi/openpose-master/examples/calibration linked by target "OpenPoseDemo" in directory C:/Users/yusmi/openpose-master/examples/openpose linked by target "1_custom_post_processing" in directory C:/Users/yusmi/openpose-master/examples/tutorial_add_module linked by target "01_body_from_image_default" in directory C:/Users/yusmi/openpose-master/examples/tutorial_api_cpp linked by target "02_whole_body_from_image_default" in directory C:/Users/yusmi/openpose-master/examples/tutorial_api_cpp linked by target "09_keypoints_from_heatmaps" in directory C:/Users/yusmi/openpose-master/examples/tutorial_api_cpp linked by target "08_heatmaps_from_image" in directory C:/Users/yusmi/openpose-master/examples/tutorial_api_cpp linked by target "03_keypoints_from_image" in directory C:/Users/yusmi/openpose-master/examples/tutorial_api_cpp linked by target "12_asynchronous_custom_input_output_and_datum" in directory C:/Users/yusmi/openpose-master/examples/tutorial_api_cpp linked by target "05_keypoints_from_images_multi_gpu" in directory C:/Users/yusmi/openpose-master/examples/tutorial_api_cpp linked by target "04_keypoints_from_images" in directory C:/Users/yusmi/openpose-master/examples/tutorial_api_cpp linked by target "06_face_from_image" in directory C:/Users/yusmi/openpose-master/examples/tutorial_api_cpp linked by target "07_hand_from_image" in directory C:/Users/yusmi/openpose-master/examples/tutorial_api_cpp linked by target "10_asynchronous_custom_input" in directory C:/Users/yusmi/openpose-master/examples/tutorial_api_cpp linked by target "11_asynchronous_custom_output" in directory C:/Users/yusmi/openpose-master/examples/tutorial_api_cpp linked by target "13_synchronous_custom_input" in directory C:/Users/yusmi/openpose-master/examples/tutorial_api_cpp linked by target "17_synchronous_custom_all_and_datum" in directory C:/Users/yusmi/openpose-master/examples/tutorial_api_cpp linked by target "14_synchronous_custom_preprocessing" in directory C:/Users/yusmi/openpose-master/examples/tutorial_api_cpp linked by target "15_synchronous_custom_postprocessing" in directory C:/Users/yusmi/openpose-master/examples/tutorial_api_cpp linked by target "16_synchronous_custom_output" in directory C:/Users/yusmi/openpose-master/examples/tutorial_api_cpp linked by target "1_thread_user_processing_function" in directory C:/Users/yusmi/openpose-master/examples/tutorial_api_thread linked by target "2_thread_user_input_processing_output_and_datum" in directory C:/Users/yusmi/openpose-master/examples/tutorial_api_thread Configuring incomplete, errors occurred!
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問