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

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


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
>



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