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

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


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
>



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