Registered Member
|
Hi guys,
While trying to install Eigen 3.2.8 on Win 8.1 x64 I followed the instructions in the doc and wrote at a win cmd prompt the following lines" cd build_dir cmake source_dir make install but I got some weird "Could not find..." errors like in here: " TurboX@ann123 MINGW64 /c/build_dir $ cmake source_dir -- Building for: Visual Studio 12 2013 -- The C compiler identification is MSVC 18.0.40629.0 -- The CXX compiler identification is MSVC 18.0.40629.0 -- Check for working C compiler using: Visual Studio 12 2013 -- Check for working C compiler using: Visual Studio 12 2013 -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler using: Visual Studio 12 2013 -- Check for working CXX compiler using: Visual Studio 12 2013 -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test standard_math_library_linked_to_automatically -- Performing Test standard_math_library_linked_to_automatically - Success -- Standard libraries to link to explicitly: none -- Performing Test COMPILER_SUPPORT_OPENMP -- Performing Test COMPILER_SUPPORT_OPENMP - Success -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - not found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - found -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found -- Found Qt4: C:/Users/TurboX/Anaconda3/Library/bin/qmake.exe (found version "4. 8.7") -- C:/build_dir/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) -- The Fortran compiler identification is unknown 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) -- Found OpenGL: opengl32 -- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR) -- Found Qt4: C:/Users/TurboX/Anaconda3/Library/bin/qmake.exe (found version "4. 8.7") -- ************************************************************ -- *** Eigen's unit tests configuration summary *** -- ************************************************************ -- -- Build type: Release -- Build site: ann123 -- Build string: unknownwin-na-32bit -- Enabled backends: Qt4 support, -- Disabled backends: Cholmod, UmfPack, SuperLU, PaStiX, METIS, 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/cl .exe CXX_FLAGS: /DWIN32 /D_WINDOWS /W4 /GR /EHsc /EHsc /wd4127 /wd4505 /wd4 714 /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS Sparse lib flags: -- ************************************************************ -- -- Configured Eigen 3.2.8 -- -- To build/run the unit tests, read this page: -- http://eigen.tuxfamily.org/index.php?title=Tests -- -- Configuring done -- Generating done -- Build files have been written to: C:/build_dir TurboX@ann123 MINGW64 /c/build_dir $ make install bash: make: command not found TurboX@ann123 MINGW64 /c/build_dir $ " Apparently this installation is suspect to say the least so I need a helping hand in order to make a proper installation ? Thank you. MD |
Moderator
|
Eigen is header only, so if all you want is using Eigen, then simply copy Eigen/ wherever you want.
The CMake stuff is mostly to compile/run/generate unit tests and docs. Since you configured cmake for visual, you need to use visual's tools to build/install through the generated build directory, not GNU make: https://cognitivewaves.wordpress.com/cm ... al-studio/ |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]