質問するログイン新規登録

質問編集履歴

5

図の追加、最新情報

2019/10/11 13:28

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -1,11 +1,10 @@
1
- ![イメージ説明](73fec11d8864e63f2fac268df68785d5.png)
2
1
  ### 前提・実現したいこと
3
2
  趣味でSLAM入門という本を読んでいて、https://github.com/furo-org/LittleSLAM/blob/master/doc/install-win.mdにあるように付属のデータセットを試したいと思っています。
4
3
 
5
4
  ### 発生している問題・エラーメッセージ
6
5
  CMakeでconfigureすると図のような画面になります。この後Generateすると"C:\Scho\LittleSLAM\build"の下にLittleSLAM.slnができます。そしてこれをVisualStudioでソリューションのビルドをしてもReleaseフォルダができるだけで実行ファイルは生成されません。
6
+ Eigen3が発見されない事が問題ですが、解決できなくて困っています。
7
7
 
8
-
9
8
  ### 該当のソースコード
10
9
 
11
10
  ```ここに言語名を入力
@@ -13,9 +12,85 @@
13
12
  ```
14
13
 
15
14
  ### 試したこと
15
+ ダウンロードしてきたものを展開したフォルダです
16
+ ![![イメージ説明](95792671971b19a1a529a56fb33e89a2.png)](ee3c1b2f463f15289a9f29f3f8f98c2e.png)
17
+ 以下はSLAM関係のものを纏めたフォルダです。
18
+ ![イメージ説明](187b681528ad1f2afcd9584ba9428f02.png)
19
+ Little SLAM下のテキストファイルにEigenのフォルダを指定している画面です。この書き方はhttps://www.ipa.go.jp/security/awareness/vendor/programmingv1/b08_01.htmlを参照しました。
20
+ ![イメージ説明](c33a6bb35a1a0177f3ee215777af8605.png)
21
+ CMakeでconfigureすると以下のようになってしまいます。
22
+ ![イメージ説明](5aaecbc999ce33299860d339b4b36d88.png)
23
+ 以下はCMakeのメッセージです。
24
+ Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.17134.
25
+ The C compiler identification is MSVC 19.23.28106.4
26
+ The CXX compiler identification is MSVC 19.23.28106.4
27
+ Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe
28
+ Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe -- works
29
+ Detecting C compiler ABI info
30
+ Detecting C compiler ABI info - done
31
+ Detecting C compile features
32
+ Detecting C compile features - done
33
+ Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe
34
+ Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe -- works
35
+ Detecting CXX compiler ABI info
36
+ Detecting CXX compiler ABI info - done
37
+ Detecting CXX compile features
38
+ Detecting CXX compile features - done
39
+ Found Boost: C:/Scho/boost_1_71_0 (found version "1.71.0")
40
+ CMake Warning at cui/CMakeLists.txt:7 (find_package):
16
- Eigenのzipを公式サイトからダウンロードして展開していた時はEigen3が見つからないと赤い文字でエラーがでていました。gitからcloneしたところ赤い文字は消えましたが、実行ファイルが生成されることはありませんでした。
41
+ By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
42
+ asked CMake to find a package configuration file provided by "Eigen3", but
43
+ CMake did not find one.
17
44
 
45
+ Could not find a package configuration file provided by "Eigen3" with any
46
+ of the following names:
18
47
 
48
+ Eigen3Config.cmake
49
+ eigen3-config.cmake
50
+
51
+ Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
52
+ "Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"
53
+ provides a separate development package or SDK, be sure it has been
54
+ installed.
55
+
56
+
57
+ CMake Warning at framework/CMakeLists.txt:7 (find_package):
58
+ By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
59
+ asked CMake to find a package configuration file provided by "Eigen3", but
60
+ CMake did not find one.
61
+
62
+ Could not find a package configuration file provided by "Eigen3" with any
63
+ of the following names:
64
+
65
+ Eigen3Config.cmake
66
+ eigen3-config.cmake
67
+
68
+ Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
69
+ "Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"
70
+ provides a separate development package or SDK, be sure it has been
71
+ installed.
72
+
73
+
74
+ CMake Warning at hook/CMakeLists.txt:7 (find_package):
75
+ By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
76
+ asked CMake to find a package configuration file provided by "Eigen3", but
77
+ CMake did not find one.
78
+
79
+ Could not find a package configuration file provided by "Eigen3" with any
80
+ of the following names:
81
+
82
+ Eigen3Config.cmake
83
+ eigen3-config.cmake
84
+
85
+ Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
86
+ "Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"
87
+ provides a separate development package or SDK, be sure it has been
88
+ installed.
89
+
90
+
91
+ Configuring done
92
+
93
+
19
94
  ### 補足情報(FW/ツールのバージョンなど)
20
95
 
21
96
  Windows10です

4

誤字訂正

2019/10/11 13:27

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -1,8 +1,9 @@
1
- ![イメージ説明](73fec11d8864e63f2fac268df68785d5.png)### 前提・実現したいこと
1
+ ![イメージ説明](73fec11d8864e63f2fac268df68785d5.png)
2
+ ### 前提・実現したいこと
2
3
  趣味でSLAM入門という本を読んでいて、https://github.com/furo-org/LittleSLAM/blob/master/doc/install-win.mdにあるように付属のデータセットを試したいと思っています。
3
4
 
4
5
  ### 発生している問題・エラーメッセージ
5
- CMakeでconfigureすると図のような画面になります。この後Generateすると"C:\任意\LittleSLAM\build"の下にLittleSLAM.slnができます。そしてこれをVisualStudioでソリューションのビルドをしてもReleaseフォルダができるだけで実行ファイルは生成されません。
6
+ CMakeでconfigureすると図のような画面になります。この後Generateすると"C:\Scho\LittleSLAM\build"の下にLittleSLAM.slnができます。そしてこれをVisualStudioでソリューションのビルドをしてもReleaseフォルダができるだけで実行ファイルは生成されません。
6
7
 
7
8
 
8
9
  ### 該当のソースコード

3

図の追加

2019/10/11 05:30

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -1,59 +1,10 @@
1
- ### 前提・実現したいこと
1
+ ![イメージ説明](73fec11d8864e63f2fac268df68785d5.png)### 前提・実現したいこと
2
2
  趣味でSLAM入門という本を読んでいて、https://github.com/furo-org/LittleSLAM/blob/master/doc/install-win.mdにあるように付属のデータセットを試したいと思っています。
3
3
 
4
4
  ### 発生している問題・エラーメッセージ
5
- CMakeでconfigureすると、以下のようなエラーメッセージが表示されます。
6
- CMake Warning at cui/CMakeLists.txt:7 (find_package):
7
- By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
5
+ CMakeでconfigureすると図のような画面になります。この後Generateすると"C:\任意\LittleSLAM\build"の下にLittleSLAM.slnができます。そしてこれをVisualStudioでソリューションのビルドをしてもReleaseフォルダができるだけで実行ファイルは生成されません。
8
- asked CMake to find a package configuration file provided by "Eigen3", but
9
- CMake did not find one.
10
6
 
11
- Could not find a package configuration file provided by "Eigen3" with any
12
- of the following names:
13
7
 
14
- Eigen3Config.cmake
15
- eigen3-config.cmake
16
-
17
- Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
18
- "Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"
19
- provides a separate development package or SDK, be sure it has been
20
- installed.
21
-
22
-
23
- CMake Warning at framework/CMakeLists.txt:7 (find_package):
24
- By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
25
- asked CMake to find a package configuration file provided by "Eigen3", but
26
- CMake did not find one.
27
-
28
- Could not find a package configuration file provided by "Eigen3" with any
29
- of the following names:
30
-
31
- Eigen3Config.cmake
32
- eigen3-config.cmake
33
-
34
- Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
35
- "Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"
36
- provides a separate development package or SDK, be sure it has been
37
- installed.
38
-
39
-
40
- CMake Warning at hook/CMakeLists.txt:7 (find_package):
41
- By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
42
- asked CMake to find a package configuration file provided by "Eigen3", but
43
- CMake did not find one.
44
-
45
- Could not find a package configuration file provided by "Eigen3" with any
46
- of the following names:
47
-
48
- Eigen3Config.cmake
49
- eigen3-config.cmake
50
-
51
- Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
52
- "Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"
53
- provides a separate development package or SDK, be sure it has been
54
- installed.
55
-
56
-
57
8
  ### 該当のソースコード
58
9
 
59
10
  ```ここに言語名を入力
@@ -61,15 +12,7 @@
61
12
  ```
62
13
 
63
14
  ### 試したこと
64
- Eigen3が見つからないということで、システム環境変数をいじったりしたのですが何度試してもEigenが見つかりません。
65
- 指定するファイルが間違っているのでしょうか。
66
- https://github.com/furo-org/LittleSLAM/blob/master/doc/install-win.mdにあるように
67
- Eigen3の指定
68
- もし、CMakeがEigen3場所(EIGEN3_INCLUDE_DIR)を見つれずにエラーが場合は、 次のいずれかをって、CMakeを再起動してConfigureGenerateをやてください
15
+ Eigenzip公式サイトからダウンロードして展開していた時はEigen3が見つないと赤い文字でエラーがでていまし。gitからcloneしたところ赤い文字消えましたがファイルが生成されるこはあませんで
69
- (A) Windowsのシステム環境変数にEIGEN3_ROOT_DIRを追加して、 そこにEigen3を展開したフォルダを設定します。
70
- すると、下図のように、"C:\abc\LittleSLAM"下のcui, framework, hookの各CMakeLists.txtの中で、 EIGEN3_ROOT_DIRで指定されたフォルダがEIGEN3_INCLUDE_DIRに設定されます。
71
- (B) 各CMakeLists.txtのEigen3のフォルダを手で設定します。 たとえば、Eigen3を"C:\eigen"に展開した場合は、下図の $ENV{EIGEN3_ROOT_DIR}の部分をC:\eigenに書き換えます。
72
- この2つの方法を試しても見たのですがうまくいきません
73
16
 
74
17
 
75
18
  ### 補足情報(FW/ツールのバージョンなど)

2

試したことの更新

2019/10/11 05:29

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -63,6 +63,13 @@
63
63
  ### 試したこと
64
64
  Eigen3が見つからないということで、システム環境変数をいじったりしたのですが何度試してもEigenが見つかりません。
65
65
  指定するファイルが間違っているのでしょうか。
66
+ https://github.com/furo-org/LittleSLAM/blob/master/doc/install-win.mdにあるように
67
+ Eigen3の指定
68
+ もし、CMakeがEigen3の場所(EIGEN3_INCLUDE_DIR)を見つけられずにエラーが出た場合は、 次のいずれかを行って、CMakeを再起動してConfigureとGenerateをやり直してください。
69
+ (A) Windowsのシステム環境変数にEIGEN3_ROOT_DIRを追加して、 そこにEigen3を展開したフォルダを設定します。
70
+ すると、下図のように、"C:\abc\LittleSLAM"下のcui, framework, hookの各CMakeLists.txtの中で、 EIGEN3_ROOT_DIRで指定されたフォルダがEIGEN3_INCLUDE_DIRに設定されます。
71
+ (B) 各CMakeLists.txtのEigen3のフォルダを手で設定します。 たとえば、Eigen3を"C:\eigen"に展開した場合は、下図の $ENV{EIGEN3_ROOT_DIR}の部分をC:\eigenに書き換えます。
72
+ この2つの方法を試しても見たのですがうまくいきません
66
73
 
67
74
 
68
75
  ### 補足情報(FW/ツールのバージョンなど)

1

1からやりなおしてみて、VisualStudioではなくCMakeの時点でエラーが生じている事が分かりました

2019/10/11 04:21

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -2,10 +2,58 @@
2
2
  趣味でSLAM入門という本を読んでいて、https://github.com/furo-org/LittleSLAM/blob/master/doc/install-win.mdにあるように付属のデータセットを試したいと思っています。
3
3
 
4
4
  ### 発生している問題・エラーメッセージ
5
+ CMakeでconfigureすると、以下のようなエラーメッセージが表示されます。
6
+ CMake Warning at cui/CMakeLists.txt:7 (find_package):
7
+ By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
5
- VisualStudio2019でソリューションをビルドしたが、Releaseフォルダが作成されるだけで何度やってもその中に実行ファイルLittleSLAM.exeが生成されなくて困っています
8
+ asked CMake to find a package configuration file provided by "Eigen3", but
6
- エラーメッセージ
9
+ CMake did not find one.
7
- ```
8
10
 
11
+ Could not find a package configuration file provided by "Eigen3" with any
12
+ of the following names:
13
+
14
+ Eigen3Config.cmake
15
+ eigen3-config.cmake
16
+
17
+ Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
18
+ "Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"
19
+ provides a separate development package or SDK, be sure it has been
20
+ installed.
21
+
22
+
23
+ CMake Warning at framework/CMakeLists.txt:7 (find_package):
24
+ By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
25
+ asked CMake to find a package configuration file provided by "Eigen3", but
26
+ CMake did not find one.
27
+
28
+ Could not find a package configuration file provided by "Eigen3" with any
29
+ of the following names:
30
+
31
+ Eigen3Config.cmake
32
+ eigen3-config.cmake
33
+
34
+ Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
35
+ "Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"
36
+ provides a separate development package or SDK, be sure it has been
37
+ installed.
38
+
39
+
40
+ CMake Warning at hook/CMakeLists.txt:7 (find_package):
41
+ By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
42
+ asked CMake to find a package configuration file provided by "Eigen3", but
43
+ CMake did not find one.
44
+
45
+ Could not find a package configuration file provided by "Eigen3" with any
46
+ of the following names:
47
+
48
+ Eigen3Config.cmake
49
+ eigen3-config.cmake
50
+
51
+ Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
52
+ "Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"
53
+ provides a separate development package or SDK, be sure it has been
54
+ installed.
55
+
56
+
9
57
  ### 該当のソースコード
10
58
 
11
59
  ```ここに言語名を入力
@@ -13,9 +61,10 @@
13
61
  ```
14
62
 
15
63
  ### 試したこと
64
+ Eigen3が見つからないということで、システム環境変数をいじったりしたのですが何度試してもEigenが見つかりません。
65
+ 指定するファイルが間違っているのでしょうか。
16
66
 
17
- 改めて実行ファイルの作り方を調べてからビルドしたりしてみました
18
67
 
19
68
  ### 補足情報(FW/ツールのバージョンなど)
20
69
 
21
- Windows10,VS2019Communityです
70
+ Windows10です