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: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Fri, 19 Aug 2011 14:29:39 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=Q6nNWYPb+R2B1IiCmDfQXTGom5oB5Bi4luYuVMtrkM4=; b=Bm2XykJXFW7rkWOYKrvg1gR50i1Fq2jBms3p+RfcwuHY8mPR4FCIZ6R052oCoS/Ufk WYBF3xcbfs/Iz2nuj0sCW1+4wEO5azFjou4+Q25PaluLZRcIVWdiBqKaSL9w9hXgJBwr tnswPSdxtwjuESXxaVoN59QBcNl9obNdo+JiI=
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
>