dポイントプレゼントキャンペーン実施中!

(1)下記のページを参考にEigen3.2.2をダウンロードし、ビルドしようとしています。
https://gist.github.com/UnaNancyOwen/08e5a9b8f59 …


(2)CMakeは下記ページの
http://www.cmake.org/download/
Binary distributions:のWindows (Win32 Installer)
cmake-2.8.12.2-win32-x86.exeをダウンロードし、インストールしました。



(3)CMakeを管理者権限で起動し、
ソースコードの入力先とソリューションファイルの出力先を指定する。

・Where is the source code: C:\eigen-eigen-1306d75b4a21
・Where is build the binaries: C:\eigen-eigen-1306d75b4a21\build
・[Configure]を押してターゲットとなるVisual Studioを選択する。

ここまでを行ったところで
ポップアップが表示され、「Error in configuration process, project files may be invalid」と表示されます。

CMake上で下記のようなエラーが表示されてしまいます。

私の開発環境は
Windows8.1 64bit
Visual Studio 2013を使用しています。
設定項目の
QT_QMAKE_EXECUTABLE が NOTFOUNDとなっているのが原因なのでしょうか?
QTが必要なのでしょうか?
どなたかアドバイス頂ければと思います。
以下は[Configure]を押した直後にCMakeに表示されるログです。

---------------------------------------------------------------------------------
Standard libraries to link to explicitly: none
Found unsuitable Qt version "" from NOTFOUND
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineVSServicePack.cmake:128 (list):
list index: 3 out of range (-3, 2)
Call Stack (most recent call first):
cmake/EigenDetermineVSServicePack.cmake:9 (_DetermineVSServicePack_CheckVersionWithTryCompile)
cmake/EigenTesting.cmake:316 (EigenDetermineVSServicePack)
cmake/EigenTesting.cmake:428 (ei_get_compilerver)
cmake/EigenConfigureTesting.cmake:8 (ei_set_build_string)
CMakeLists.txt:349 (include)


C:/eigen-eigen-1306d75b4a21/build/test
Could NOT find CHOLMOD (missing: CHOLMOD_INCLUDES CHOLMOD_LIBRARIES)
Could NOT find UMFPACK (missing: UMFPACK_INCLUDES UMFPACK_LIBRARIES)
Could NOT find SUPERLU (missing: SUPERLU_INCLUDES SUPERLU_LIBRARIES)
Could NOT find PASTIX (missing: PASTIX_INCLUDES PASTIX_LIBRARIES)
Could NOT find SCOTCH (missing: SCOTCH_INCLUDES SCOTCH_LIBRARIES)
Could NOT find METIS (missing: METIS_INCLUDES METIS_LIBRARIES)
Could NOT find SPQR (missing: SPQR_INCLUDES SPQR_LIBRARIES)
Found unsuitable Qt version "" from NOTFOUND
CMake Warning at blas/CMakeLists.txt:32 (message):
No fortran compiler has been detected, the blas build will be incomplete.


Could NOT find GOOGLEHASH (missing: GOOGLEHASH_INCLUDES GOOGLEHASH_COMPILE)
Could NOT find ADOLC (missing: ADOLC_INCLUDES ADOLC_LIBRARIES)
Could NOT find MPFR (missing: MPFR_INCLUDES MPFR_LIBRARIES MPFR_VERSION_OK) (Required is at least version "2.3.0")
Could NOT find GMP (missing: GMP_INCLUDES GMP_LIBRARIES)
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could NOT find FFTW (missing: FFTW_INCLUDES FFTW_LIBRARIES)
Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)
Found unsuitable Qt version "" from NOTFOUND
Qt4 not found, so disabling the mandelbrot and opengl demos
************************************************************
*** Eigen's unit tests configuration summary ***
************************************************************

Build type: Release
Build site: hiwa-pc
Build string: unknownwin-na-sse2-64bit
Enabled backends:
Disabled backends: Cholmod, UmfPack, SuperLU, PaStiX, METIS, Qt4 support, GoogleHash, Adolc, MPFR C++, fftw, OpenGL,
Default order: Column-major
Maximal matrix/vector size: 320
SSE2: Using architecture defaults
SSE3: Using architecture defaults
SSSE3: Using architecture defaults
SSE4.1: Using architecture defaults
SSE4.2: Using architecture defaults
Altivec: Using architecture defaults
ARM NEON: Using architecture defaults

CXX: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe
CXX_FLAGS: /DWIN32 /D_WINDOWS /W4 /GR /EHsc /EHsc /wd4127 /wd4505 /wd4714 /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS
Sparse lib flags:

************************************************************

Configured Eigen 3.2.2
........
以下省略................

A 回答 (1件)

Eigen は使ったことはありませんが、公式サイトを見ると、



> We use the CMake build system, but only to build the documentation and unit-tests, and to automate installation. If you just want to use Eigen, you can use the header files right away. There is no binary library to link to, and no configured header file. Eigen is a pure template library defined in the headers.
(意訳)単に Eigen を使用するだけなら、ヘッダファイルをインクルードするだけでよい。何かをリンクする必要はない。CMake はドキュメント、ユニットテスト、自動インストールのためだけに用意している。

とあります。
Qt のバージョンうんぬんは、おそらく Qt から使用する場合の自動テストをビルドしようとしているのではないかと思います。

参考URL:http://eigen.tuxfamily.org/index.php?title=Main_ …
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!