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

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

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

Gitはオープンソースの分散バージョン管理システム(DVCS)です。

Q&A

解決済

1回答

814閲覧

Cmakeでジェネレートを行いたいです

退会済みユーザー

退会済みユーザー

総合スコア0

Git

Gitはオープンソースの分散バージョン管理システム(DVCS)です。

0グッド

0クリップ

投稿2019/06/22 17:39

前提・実現したいこと

openposeをインストールし,Cmakeでbuildしましたが,エラーが発生しました.
何かが足りないようなんですが,わからない状態です.
詳しく教えていただけると助かります.
参考にしたサイトCodecrafthouse.jp/p/2018/01/picto-san-generator-using-pose-estimation/では,visual studio 2017 だったんですが,2019を使用しました.

■■な機能を実装中に以下のエラーメッセージが発生しました。

発生している問題・エラーメッセージ

エラーメッセージ

該当のソースコード

ソースコード

試したこと

ここに問題に対して試したことを記載してください。

補足情報(FW/ツールのバージョンなど)

ここにより詳細な情報を記載してください。

前提・実現したいこと

ここに質問の内容を詳しく書いてください。
(例)PHP(CakePHP)で●●なシステムを作っています。
■■な機能を実装中に以下のエラーメッセージが発生しました。

発生している問題・エラーメッセージ```ここに言語を入力

ここまではいきましたが

Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.17134. CMAKE_VERSION = 3.15.0-rc2 Building with CUDA. Downloading windows dependencies... opencv_401_v14_15_2019_03_14.zip already exists. caffe3rdparty_15_2019_03_14.zip already exists. caffe_15_2019_05_16.zip already exists. freeglut_2018_01_14.zip already exists. Windows dependencies downloaded. ${GLUT_LIBRARY} = C:/Users/yusmi/openpose/3rdparty/windows/freeglut/lib/freeglut.lib Adding Example Calibration Adding Example OpenPoseDemo Adding Example 1_custom_post_processing Adding Example 01_body_from_image_default Adding Example 02_whole_body_from_image_default Adding Example 03_keypoints_from_image Adding Example 04_keypoints_from_images Adding Example 05_keypoints_from_images_multi_gpu Adding Example 06_face_from_image Adding Example 07_hand_from_image Adding Example 08_heatmaps_from_image Adding Example 09_keypoints_from_heatmaps Adding Example 10_asynchronous_custom_input Adding Example 11_asynchronous_custom_output Adding Example 12_asynchronous_custom_input_output_and_datum Adding Example 13_synchronous_custom_input Adding Example 14_synchronous_custom_preprocessing Adding Example 15_synchronous_custom_postprocessing Adding Example 16_synchronous_custom_output Adding Example 17_synchronous_custom_all_and_datum Adding Example 1_thread_user_processing_function Adding Example 2_thread_user_input_processing_output_and_datum Download the models. Downloading BODY_25 model... Model already exists. Downloading body (COCO) model... Model already exists. Downloading body (MPI) model... Model already exists. Downloading face model... Model already exists. Downloading hand model... Model already exists. Models Downloaded. Building tests WITHOUT Eigen Codecrafthouse.jp/p/2018/01/picto-san-generator-using-pose-estimation/ Catch not detected. Interpreter tests will be skipped. Install Catch headers manually or use `cmake -DDOWNLOAD_CATCH=1` to fetch them automatically. pybind11 v2.3.dev0

エラーメッセージ

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/src/openpose linked by target "Calibration" in directory C:/Users/yusmi/openpose/examples/calibration linked by target "OpenPoseDemo" in directory C:/Users/yusmi/openpose/examples/openpose linked by target "1_custom_post_processing" in directory C:/Users/yusmi/openpose/examples/tutorial_add_module linked by target "01_body_from_image_default" in directory C:/Users/yusmi/openpose/examples/tutorial_api_cpp linked by target "02_whole_body_from_image_default" in directory C:/Users/yusmi/openpose/examples/tutorial_api_cpp linked by target "08_heatmaps_from_image" in directory C:/Users/yusmi/openpose/examples/tutorial_api_cpp linked by target "03_keypoints_from_image" in directory C:/Users/yusmi/openpose/examples/tutorial_api_cpp linked by target "12_asynchronous_custom_input_output_and_datum" in directory C:/Users/yusmi/openpose/examples/tutorial_api_cpp linked by target "05_keypoints_from_images_multi_gpu" in directory C:/Users/yusmi/openpose/examples/tutorial_api_cpp linked by target "04_keypoints_from_images" in directory C:/Users/yusmi/openpose/examples/tutorial_api_cpp linked by target "06_face_from_image" in directory C:/Users/yusmi/openpose/examples/tutorial_api_cpp linked by target "07_hand_from_image" in directory C:/Users/yusmi/openpose/examples/tutorial_api_cpp linked by target "09_keypoints_from_heatmaps" in directory C:/Users/yusmi/openpose/examples/tutorial_api_cpp linked by target "10_asynchronous_custom_input" in directory C:/Users/yusmi/openpose/examples/tutorial_api_cpp linked by target "11_asynchronous_custom_output" in directory C:/Users/yusmi/openpose/examples/tutorial_api_cpp linked by target "13_synchronous_custom_input" in directory C:/Users/yusmi/openpose/examples/tutorial_api_cpp linked by target "17_synchronous_custom_all_and_datum" in directory C:/Users/yusmi/openpose/examples/tutorial_api_cpp linked by target "14_synchronous_custom_preprocessing" in directory C:/Users/yusmi/openpose/examples/tutorial_api_cpp linked by target "15_synchronous_custom_postprocessing" in directory C:/Users/yusmi/openpose/examples/tutorial_api_cpp linked by target "16_synchronous_custom_output" in directory C:/Users/yusmi/openpose/examples/tutorial_api_cpp linked by target "1_thread_user_processing_function" in directory C:/Users/yusmi/openpose/examples/tutorial_api_thread linked by target "2_thread_user_input_processing_output_and_datum" in directory C:/Users/yusmi/openpose/examples/tutorial_api_thread linked by target "pyopenpose" in directory C:/Users/yusmi/openpose/python/openpose Configuring incomplete, errors occurred! See also "C:/Users/yusmi/openpose/build/CMakeFiles/CMakeOutput.log".   ### 該当のソースコード ```ここに言語名を入力 ソースコード

試したこと

ここに問題に対して試したことを記載してください。

補足情報(FW/ツールのバージョンなど)

ここにより詳細な情報を記載してください。

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

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

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

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

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

y_waiwai

2019/06/22 23:27

gitは全く関係なくて、CMAKE、あるいはビルドシステムの問題ですね
guest

回答1

0

ベストアンサー

windows版のopenposeはこちらが参考になります。
Openposeの依存ライブラリ等入手で、必要なライブラリが獲得できていないことがあるので、必要なライブラリを手動で入れたほうがいいそうです
参考記事

上記の記事をやった後でもうまくいかない場合は
Cmakeのビルドの仕方やソースコードを見直すと良いかと思います

投稿2019/06/22 18:54

Kazuyuki-T0806

総合スコア326

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

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

退会済みユーザー

退会済みユーザー

2019/06/23 11:16

CMake Error at CMakeLists.txt:19 (project): Failed to run MSBuild command: C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe to get the value of VCTargetsPath: Microsoft (R) Build Engine バージョン 14.0.25420.1 Copyright (C) Microsoft Corporation. All rights reserved. 2019/06/23 20:07:20 にビルドを開始しました。 ノード 1 上のプロジェクト "C:\Users\yusmi\openpose-build\CMakeFiles\3.13.5\VCTargetsPath.vcxproj" (既定のターゲット)。 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Users\yusmi\openpose-build\CMakeFiles\3.13.5\VCTargetsPath.vcxproj] プロジェクト "C:\Users\yusmi\openpose-build\CMakeFiles\3.13.5\VCTargetsPath.vcxproj" (既定のターゲット) のビルドが終了しました -- 失敗。 ビルドに失敗しました。 "C:\Users\yusmi\openpose-build\CMakeFiles\3.13.5\VCTargetsPath.vcxproj" (既定のターゲット) (1) -> (Desktop_PlatformPrepareForBuild ターゲット) -> C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Users\yusmi\openpose-build\CMakeFiles\3.13.5\VCTargetsPath.vcxproj] 0 個の警告 1 エラー 経過時間 00:00:01.55 Exit code: 1 丁寧に教えていただきありがとうございます。サイトを参考に実行したのですが、cmake エラー がでました。 解決方法がありましたら、よろしくお願いいたします。 Configuring incomplete, errors occurred! See also "C:/Users/yusmi/openpose-build/CMakeFiles/CMakeOutput.log".
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

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

ただいまの回答率
85.48%

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

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

質問する

関連した質問