Re: [eigen] Build Eigen 3 in Windows 7 using MingW. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Build Eigen 3 in Windows 7 using MingW.
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Sun, 21 Aug 2011 21:54:20 -0400
- Cc: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=zIvo4T9F7ArBLGUge7UaIBRZjiyQwuKBRlFHgIUsTxY=; b=wlYcLLVNZC2hN6bxGAMtgrXzh748dSF3krC9Dgg1Yw1TFrdBpSKCGgUOY1XcBZuWnw rOVtWFJ+KhJAs6VNnI4balBlTODFfxZ/BKOCPhwayAQ3TibD7dPH/Urnvwzd1jbUIG9C CoG4yNixel62agrdTfXSZhQ+l0oM6Iy9LO6cI=
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
>