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

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


2011/8/22 JIA Pei <jp4work@xxxxxxxxx>:
>
> 1) Command I'm using within mingw bash
> Pei@Pei-PC /c/Users/Pei/Downloads/eigen/build
> $ VERBOSE=1 make 2>&1 | tee logfile

Can you please attach the 'logfile' ?

Benoit

> "c:\Program Files (x86)\CMake 2.8\bin\cmake.exe"
> -HC:\Users\Pei\Downloads\eigen
> -BC:\Users\Pei\Downloads\eigen\build --check-build-system
> CMakeFiles\Makefile.cm
> ake 0
> Microsoft Windows [Version 6.1.7601]
> Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
>
>
> 2) Contents I produced using your command in file logfile
> "c:\Program Files (x86)\CMake 2.8\bin\cmake.exe"
> -HC:\Users\Pei\Downloads\eigen -BC:\Users\Pei\Downloads\eigen\build
> --check-build-system CMakeFiles\Makefile.cmake 0
> Microsoft Windows [Version 6.1.7601]
> Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
> c:\Users\Pei\Downloads\eigen\build>
>
>
> 3) The configuration I've got on my desktop
>
> Standard libraries to link to explicitly: none
>
> C:/Users/Pei/Downloads/eigen/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 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)
>
> FFTW C:/fftw/libfftw3f-3.dll C:/fftw/libfftw3-3.dll C:/fftw/libfftw3l-3.dll
>
> ************************************************************
>
> *** Eigen's unit tests configuration summary ***
>
> ************************************************************
>
> Build type: Release
>
> Enabled backends: GSL, Qt4 support, fftw, GSL,
>
> Disabled backends: Cholmod, UmfPack, SuperLU, GoogleHash, Adolc, MPFR C++,
> 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:/MinGW/bin/g++.exe
>
> CXX_VERSION:
>
> CXX_FLAGS: -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align
> -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security
> -fexceptions -fno-check-new -fno-common -fstrict-aliasing
> -Wno-variadic-macros -Wextra -pedantic
>
> Sparse lib flags:
>
> ************************************************************
>
> Configured Eigen 3.0.90
>
> Some things you can do now:
>
> --------------+--------------------------------------------------------------
>
> Command | Description
>
> --------------+--------------------------------------------------------------
>
> make install | Install to C:/Eigen. To change that:
>
> | cmake . -DCMAKE_INSTALL_PREFIX=yourpath
>
> | Eigen headers will then be installed to:
>
> | C:/Eigen/include/eigen3
>
> | To install Eigen headers to a separate location, do:
>
> | cmake . -DEIGEN_INCLUDE_INSTALL_DIR=yourpath
>
> make doc | Generate the API documentation, requires Doxygen & LaTeX
>
> make check | Build and run the unit-tests. Read this page:
>
> | http://eigen.tuxfamily.org/index.php?title=Tests
>
> make blas | Build BLAS library (not the same thing as Eigen)
>
> --------------+--------------------------------------------------------------
>
> Configuring done
>
>
> Any further suggestions?
>
>
> cheers
>
> Pei
>
>
>
>
>
>
>
>
>
>
>
>
> On Sun, Aug 21, 2011 at 6:54 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
> wrote:
>>
>> Please do:
>>
>> VERBOSE=1 make 2>&1 | tee logfile
>>
>> and attach to an email the resulting 'logfile'.
>>
>> Thanks,
>> Benoit
>>
>> 2011/8/21 JIA Pei <jp4work@xxxxxxxxx>:
>> >
>> >
>> > No, I double checked, the hard drive has 307Giga free....
>> > Just let me know which file or what kinds of output you are expecting?
>> > And where(which file or where in the bash) can I get the output you are
>> > expecting?
>> > Cheers
>> > Pei
>> >
>> > On Sun, Aug 21, 2011 at 12:45 AM, Gael Guennebaud
>> > <gael.guennebaud@xxxxxxxxx> wrote:
>> >>
>> >> Your logs do not show the actual error, they only show the compilation
>> >> line and then that an error occurred, but what's the error?  Perhaps
>> >> your hard drive is full?
>> >>
>> >> gael
>> >>
>> >> On Sun, Aug 21, 2011 at 7:41 AM, JIA Pei <jp4work@xxxxxxxxx> wrote:
>> >> >
>> >> > Hi, all:
>> >> > 1) This is the full version of compilation output when I typed
>> >> > "mingw32-make
>> >> > doc"
>> >> > ....
>> >> > [  3%] Building CXX object
>> >> > unsupported/doc/examples/CMakeFiles/example_Polynomia
>> >> > lSolver1.dir/PolynomialSolver1.cpp.obj
>> >> > cd C:\Users\Pei\eigen\build\unsupported\doc\examples &&
>> >> > C:\MinGW\bin\g++.exe
>> >> >   -
>> >> > DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -Wnon-virtual-dtor
>> >> > -Wno-long-long
>> >> > -an
>> >> > si -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
>> >> > -Wwrite-strin
>> >> > gs -Wformat-security -fexceptions -fno-check-new -fno-common
>> >> > -fstrict-aliasing -
>> >> > Wno-variadic-macros -Wextra -pedantic -g0 -O2
>> >> > -IC:\Users\Pei\eigen\build\unsuppo
>> >> > rted\doc\examples -IC:\Users\Pei\eigen\unsupported\doc\examples
>> >> > -IC:\Users\Pei\e
>> >> > igen -IC:\Users\Pei\eigen\build
>> >> > -IC:\Users\Pei\eigen\unsupported\doc\examples\..
>> >> > \..\..\unsupported
>> >> > -IC:\Users\Pei\eigen\unsupported\doc\examples\..\..\..\unsupp
>> >> > orted\test   -o
>> >> > CMakeFiles\example_PolynomialSolver1.dir\PolynomialSolver1.cpp.o
>> >> > bj -c
>> >> > C:\Users\Pei\eigen\unsupported\doc\examples\PolynomialSolver1.cpp
>> >> > mingw32-make[3]: ***
>> >> > [unsupported/doc/examples/CMakeFiles/example_PolynomialSolv
>> >> > er1.dir/PolynomialSolver1.cpp.obj] Error 1
>> >> > mingw32-make[3]: Leaving directory `C:/Users/Pei/eigen/build'
>> >> > mingw32-make[2]: ***
>> >> > [unsupported/doc/examples/CMakeFiles/example_PolynomialSolv
>> >> > er1.dir/all] Error 2
>> >> > mingw32-make[2]: Leaving directory `C:/Users/Pei/eigen/build'
>> >> > mingw32-make[1]: *** [doc/CMakeFiles/doc.dir/rule] Error 2
>> >> > mingw32-make[1]: Leaving directory `C:/Users/Pei/eigen/build'
>> >> > mingw32-make: *** [doc] Error 2
>> >> >
>> >> > 2) This is the full version of compilation output when I typed
>> >> > "mingw32-make
>> >> > check"
>> >> > [  1%] Building CXX object
>> >> > test/CMakeFiles/nomalloc_4.dir/nomalloc.cpp.obj
>> >> > cd C:\Users\Pei\eigen\build\test && C:\MinGW\bin\g++.exe
>> >> > -DEIGEN_PERMANENTLY_D
>> >> > ISABLE_STUPID_WARNINGS -DHAS_GSL -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB
>> >> > -DQT_NO_DEB
>> >> > UG -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align
>> >> > -Wchar-subscript
>> >> > s -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security
>> >> > -fexceptions
>> >> > -fno-c
>> >> > heck-new -fno-common -fstrict-aliasing -Wno-variadic-macros -Wextra
>> >> > -pedantic -g
>> >> > 0 -O2 -IC:\Users\Pei\eigen\build\test -IC:\Users\Pei\eigen\test
>> >> > -IC:\Users\Pei\e
>> >> > igen -IC:\Users\Pei\eigen\build -IC:\gsl\gsl -IC:\Qt\4.7.3\include
>> >> > -IC:\Qt\4.7.3
>> >> > \include\QtGui -IC:\Qt\4.7.3\include\QtCore
>> >> >  -DEIGEN_TEST_MAX_SIZE=320
>> >> > -DEIGEN
>> >> > _TEST_FUNC=nomalloc  -DEIGEN_TEST_PART_4=1 -o
>> >> > CMakeFiles\nomalloc_4.dir\nomalloc
>> >> > .cpp.obj -c C:\Users\Pei\eigen\test\nomalloc.cpp
>> >> > mingw32-make[3]: ***
>> >> > [test/CMakeFiles/nomalloc_4.dir/nomalloc.cpp.obj]
>> >> > Error
>> >> > 1
>> >> > mingw32-make[3]: Leaving directory `C:/Users/Pei/eigen/build'
>> >> > mingw32-make[2]: *** [test/CMakeFiles/nomalloc_4.dir/all] Error 2
>> >> > mingw32-make[2]: Leaving directory `C:/Users/Pei/eigen/build'
>> >> > mingw32-make[1]: *** [CMakeFiles/check.dir/rule] Error 2
>> >> > mingw32-make[1]: Leaving directory `C:/Users/Pei/eigen/build'
>> >> > mingw32-make: *** [check] Error 2
>> >> > Is that the thing you are expecting?
>> >> >
>> >> > Anyway, I never succeeded in doing "mingw32-make doc" or
>> >> > "mingw32-make
>> >> > check".
>> >> >
>> >> >
>> >> > Cheers
>> >> > Pei
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > On Sat, Aug 20, 2011 at 1:41 PM, Benoit Jacob
>> >> > <jacob.benoit.1@xxxxxxxxx>
>> >> > wrote:
>> >> >>
>> >> >> The output you pasted below is trimmed and doesn't contain the
>> >> >> actual
>> >> >> errors. Please paste the full compiler output.
>> >> >>
>> >> >> Many people are using Eigen with MinGW and it sure is supported.
>> >> >>
>> >> >> Benoit
>> >> >>
>> >> >> 2011/8/20 JIA Pei <jp4work@xxxxxxxxx>:
>> >> >> >
>> >> >> >
>> >> >> > Problem continues by using the newest hg clone version of eigen
>> >> >> > ....
>> >> >> > Errors now change to:
>> >> >> >   mingw32-make[3]: ***
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > [unsupported/test/CMakeFiles/matrix-exponengtial_1.dir/matrix_exponential.cpp.obj]
>> >> >> > Error 1
>> >> >> >   mingw32-make[3]: Leaving directory '.../eigen/build'
>> >> >> >   mingw32-make[2]: ***
>> >> >> > [unsupported/test/CMakeFiles/matrix-exponengtial_1.dir/all] Error
>> >> >> > 2
>> >> >> >   mingw32-make[2]: Leaving directory '.../eigen/build'
>> >> >> >   mingw32-make[1]: *** [/CMakeFiles/check.dir/rule] Error 2
>> >> >> >   mingw32-make[1]: Leaving directory '.../eigen/build'
>> >> >> >   mingw-32mak: *** [check] Error 2
>> >> >> >
>> >> >> > Why eigen is so tough to be built under Windows?
>> >> >> > Rgds
>> >> >> > Pei
>> >> >> >
>> >> >> >
>> >> >> > On Fri, Aug 19, 2011 at 5:29 AM, Gael Guennebaud
>> >> >> > <gael.guennebaud@xxxxxxxxx>
>> >> >> > wrote:
>> >> >> >>
>> >> >> >> Can you try the latest 3.0 branch:
>> >> >> >>
>> >> >> >> $ hg clone https://bitbucket.org/eigen/eigen/ eigen3.0
>> >> >> >> $ cd eigen3.0
>> >> >> >> $ hg up 3.0
>> >> >> >>
>> >> >> >> it contains a compilation fix for mingw.
>> >> >> >>
>> >> >> >> A release is planed for next week.
>> >> >> >>
>> >> >> >> cheers,
>> >> >> >> Gael.
>> >> >> >>
>> >> >> >> On Fri, Aug 19, 2011 at 10:00 AM, JIA Pei <jp4work@xxxxxxxxx>
>> >> >> >> wrote:
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Hi:
>> >> >> >> > I untick NEON and AltiVec tests now. Actually, I didn't select
>> >> >> >> > any
>> >> >> >> > test
>> >> >> >> > this
>> >> >> >> > time, problem continues when I do
>> >> >> >> > "gminw32-make check",
>> >> >> >> >
>> >> >> >> >> mingw32-make[3]: ***
>> >> >> >> >>
>> >> >> >> >> [test/CMakeFiles/mapstaticmethods.dir/mapstaticmethods.cpp.obj]
>> >> >> >> >> Error 1
>> >> >> >> >> mingw32-make[3]: *** Leaving directory
>> >> >> >> >> '......../eigen-eigen-3.0.1/build'
>> >> >> >> >> mingw32-make[2]: ***
>> >> >> >> >> [test/CMakeFiles/mapstaticmethods.dir/all]
>> >> >> >> >> Error 2
>> >> >> >> >> mingw32-make[2]: *** Leaving directory
>> >> >> >> >> '......../eigen-eigen-3.0.1/build'
>> >> >> >> >> mingw32-make[1]: *** [CMakeFiles/check.dir/rule] Error 2
>> >> >> >> >>
>> >> >> >> >> mingw32-make[1]: *** Leaving directory
>> >> >> >> >> '......../eigen-eigen-3.0.1/build'
>> >> >> >> >> mingw32-make: *** [check] Error 2
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > I never succeeded in "mingw32-make check" till now....
>> >> >> >> > Best Regards
>> >> >> >> > Pei
>> >> >> >> >
>> >> >> >> > On Thu, Aug 18, 2011 at 5:03 AM, Benoit Jacob
>> >> >> >> > <jacob.benoit.1@xxxxxxxxx>
>> >> >> >> > wrote:
>> >> >> >> >>
>> >> >> >> >> Everything that Christoph said, plus this:
>> >> >> >> >>
>> >> >> >> >> 2011/8/18 JIA Pei <jp4work@xxxxxxxxx>:
>> >> >> >> >> >>
>> >> >> >> >> >> 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"
>> >> >> >> >>
>> >> >> >> >> These errors mean that it tried to use both NEON and AltiVec
>> >> >> >> >> instruction sets... which really doesn't make sense: no CPU
>> >> >> >> >> supports
>> >> >> >> >> both, and neither apply to MinGW.
>> >> >> >> >>
>> >> >> >> >> Did you enable these options manually?
>> >> >> >> >>
>> >> >> >> >> Anyway, these error messages should go away if you turn them
>> >> >> >> >> off
>> >> >> >> >> (you
>> >> >> >> >> can use ccmake) or just start afresh in a new build-directory
>> >> >> >> >> and
>> >> >> >> >> don't enable them, just run "cmake /path/to/eigen".
>> >> >> >> >>
>> >> >> >> >> Benoit
>> >> >> >> >>
>> >> >> >> >> >> ........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
>> >> >> >> >> >
>> >> >> >> >> > How to make Eigen 3 successfully built using MinGW under
>> >> >> >> >> > Windows7?
>> >> >> >> >> > By the way, Are the above missing libraries musts for Eigen
>> >> >> >> >> > 3
>> >> >> >> >> > building???
>> >> >> >> >> >
>> >> >> >> >> > Best Regards
>> >> >> >> >> > Pei
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > --
>> >> >> >> >> >
>> >> >> >> >> > Pei JIA
>> >> >> >> >> > Email: jp4work@xxxxxxxxx
>> >> >> >> >> > cell:    +1 604-362-5816
>> >> >> >> >> > Welcome to Vision Open
>> >> >> >> >> > http://www.visionopen.com
>> >> >> >> >> >
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> >
>> >> >> >> > Pei JIA
>> >> >> >> > Email: jp4work@xxxxxxxxx
>> >> >> >> > cell:    +1 604-362-5816
>> >> >> >> > Welcome to Vision Open
>> >> >> >> > http://www.visionopen.com
>> >> >> >> >
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> >
>> >> >> > Pei JIA
>> >> >> > Email: jp4work@xxxxxxxxx
>> >> >> > cell:    +1 604-362-5816
>> >> >> > Welcome to Vision Open
>> >> >> > http://www.visionopen.com
>> >> >> >
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> >
>> >> > Pei JIA
>> >> > Email: jp4work@xxxxxxxxx
>> >> > cell:    +1 604-362-5816
>> >> > Welcome to Vision Open
>> >> > http://www.visionopen.com
>> >> >
>> >
>> >
>> >
>> > --
>> >
>> > Pei JIA
>> > Email: jp4work@xxxxxxxxx
>> > cell:    +1 604-362-5816
>> > Welcome to Vision Open
>> > http://www.visionopen.com
>> >
>>
>>
>
>
>
> --
>
> Pei JIA
> Email: jp4work@xxxxxxxxx
> cell:    +1 604-362-5816
> Welcome to Vision Open
> http://www.visionopen.com
>



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