[Rock-dev] Enable SSE2 typedefs (emmintrin.h)

Leif Christensen leif.christensen at dfki.de
Fri May 4 15:04:20 CEST 2012


On 03.05.2012 10:09, Sylvain Joyeux wrote:
> On 05/02/2012 07:09 PM, Leif Christensen wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi,
>>
>> on my 32 bit ubuntu, the compilation of components, that include
>> libelas/elas.h fails, because the type __m128i is not declared.
>>
>> elas.h includes the mmx extension header emmintrin.h, which checks for
>> the define __SSE2__ and only then declares __m128i and others.
> 
> If the issue is that using libelas requires -msse2, then the libelas
> pkg-config file should add -msse2 to its Cflags:. Other packages would
> then pick it up automatically.

Tested it, works for me, shouldn't (!) break anything, pushed to master.

Leif

-- 
 Leif Christensen

 DFKI Bremen
 Robotics Innovation Center
 Robert-Hooke-Straße 5
 28359 Bremen, Germany

 Phone: +49 (0)421 17845-4149
 Fax:   +49 (0)421 17845-4150
 E-Mail: leif.christensen at dfki.de

 Weitere Informationen: http://www.dfki.de/robotik
 -----------------------------------------------------------------------
 Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
 Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
 Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
 (Vorsitzender) Dr. Walter Olthoff
 Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
 Amtsgericht Kaiserslautern, HRB 2313
 Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
 USt-Id.Nr.:    DE 148646973
 Steuernummer:  19/673/0060/3
 -----------------------------------------------------------------------



More information about the Rock-dev mailing list