Package: opencv
Severity: serious

opencv_0.9.7-1 seems to miss #include <emmintrin.h> for AMD64 inside
opencv-0.9.7/cxcore/include/cxtypes.h.
In fact, it FTBFS while compiling the first file, as shown:

if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I. -I. -I../.. -I. -I../../cxcore/include -I../..    -Wall -fno-rtti
-pipe -DNDEBUG -fomit-frame-pointer  -O3 -MT cxalloc.lo -MD -MP -MF
".deps/cxalloc.Tpo" -c -o cxalloc.lo cxalloc.cpp; \
    then mv -f ".deps/cxalloc.Tpo" ".deps/cxalloc.Plo"; else rm -f
    ".deps/cxalloc.Tpo"; exit 1; fi
    mkdir .libs
     g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../../cxcore/include
     -I../.. -Wall -fno-rtti -pipe -DNDEBUG -fomit-frame-pointer -O3 -MT
     cxalloc.lo -MD -MP -MF .deps/cxalloc.Tpo -c cxalloc.cpp  -fPIC
     -DPIC -o .libs/cxalloc.o
     ../../cxcore/include/cxtypes.h: In function 'int cvRound(double)':
     ../../cxcore/include/cxtypes.h:192: error: '__m128d' was not
     declared in this scope
     ../../cxcore/include/cxtypes.h:192: error: expected `;' before 't'
     ../../cxcore/include/cxtypes.h:193: error: 't' was not declared in
     this scope

File /usr/lib/gcc/x86_64-linux-gnu/4.1.0/include/emmintrin.h holds
declaration of __m128d and other missing functions. File
opencv-0.9.7/cxcore/include/cxtypes.h has:

#if defined WIN64 && defined EM64T && defined _MSC_VER
    #include <emmintrin.h>
#endif

which does not include the file. I tried compiling myself ond AMD64 just using
#include <emmintrin.h> and it built fine.

Thanks,
Roberto

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.9
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8) (ignored: LC_ALL 
set to [EMAIL PROTECTED])


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to