Re: [eigen] Build Eigen 3 in Windows 7 using MingW.

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi,

first of all, you do not need to compile Eigen before using. It is header only, so in general copying Eigen to a default look-up path or telling the compiler where Eigen is located should be sufficient.

Anyways, you should be able to compile the tests/examples (MinGW is in the list of supported compilers -- do you have an up-to-date version?)

On 18.08.2011 11:06, JIA Pei wrote:
Hi, all:

I'm wondering without the support from the following libraries,

Disabling vectorization in tests/examples
Disabling alignment in tests/examples
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)

These are required for more advanced sparse matrix decomposition.

Could NOT find GOOGLEHASH (missing: GOOGLEHASH_INCLUDES
GOOGLEHASH_COMPILE)

I have no idea where Eigen needs this.

Could NOT find ADOLC (missing: ADOLC_INCLUDES ADOLC_LIBRARIES)

This is for symbolic derivation, I don't know if this is stable already.

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)

These are required for high-precision/arbitrary precision matrices.

am I still able to successfully "mingw32-make check"

I think theoretically it should run anyways, automatically skipping the tests/examples which require any of the packages above.

I'm sorry that no matter what I tried, I always obtained the following error
messages:

cc1plus.exe: error: unrecognized command line option "-maltivec"
cc1plus.exe: error: unrecognized command line option "-mfloat-abi=softfp"
cc1plus.exe: error: unrecognized command line option "-mfpu=neon"
........eigen-eigen-3.0.1\test\basicstuff.cpp:1:0: error: unknown ABI
(altivec) for -mabi= switch
........eigen-eigen-3.0.1\test\basicstuff.cpp:1:0: error: bad value
(cortex-a8) for -mtune= switch
mingw32-make[3]: *** [test/CMakeFiles/basicstuff_1.dir/basicstuff.cpp.obj]
Error 1
mingw32-make[3]: *** Leaving directory '......../eigen-eigen-3.0.1/build'
mingw32-make[2]: *** [test/CMakeFiles/basicstuff_1.dir/all] Error 2
mingw32-make[2]: *** Leaving directory '......../eigen-eigen-3.0.1/build'
mingw32-make[1]: *** [CMakeFiles/check.dir/rule] Error 2

I have no idea why these options are not supported (or why they would be required). To my knowledge none of these make sense for Windows machines.

How to make Eigen 3 successfully built using MinGW under Windows7?

Sorry, can't give you more tips other than it is not required to build it.

By the way, Are the above missing libraries musts for Eigen 3 building???

None of them are mandatory.


Christoph




--
----------------------------------------------
Dipl.-Inf. Christoph Hertzberg
Cartesium 0.051
Universität Bremen
Enrique-Schmidt-Straße 5
28359 Bremen

Tel: (+49) 421-218-64252
----------------------------------------------



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/