Find the answer to your Linux question:
Results 1 to 2 of 2
I m trying to install opencv face detction application on my CentOS-4 i386 (2.6.9-34.0.2.EL) OS. For it i download the application from SourceForge.net: Open Computer Vision Library: Files then i ...
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    2

    CentOS-4 i386 (2.6.9-34.0.2.EL) (Red Hat 3.4.5-2)

    I m trying to install opencv face detction application on my CentOS-4 i386 (2.6.9-34.0.2.EL) OS. For it i download the application from SourceForge.net: Open Computer Vision Library: Files
    then i do the necessary steps to extract the package.
    But when i enter the command

    [root@asterisk1 opencv-1.1.0]# make


    it shows the following error

    cvsmooth.cpp: In function `void histogram_add(const ushort*, ushort*)':
    cvsmooth.cpp:577: error: `__m128i' was not declared in this scope
    cvsmooth.cpp:577: error: expected primary-expression before ')' token
    cvsmooth.cpp:578: error: expected primary-expression before ')' token
    cvsmooth.cpp:578: error: `_mm_load_si128' was not declared in this scope
    cvsmooth.cpp:578: error: expected primary-expression before ')' token
    cvsmooth.cpp:578: error: `_mm_add_epi16' was not declared in this scope
    cvsmooth.cpp:578: error: `_mm_store_si128' was not declared in this scope
    cvsmooth.cpp:579: error: expected primary-expression before ')' token
    cvsmooth.cpp:580: error: expected primary-expression before ')' token
    cvsmooth.cpp:580: error: expected primary-expression before ')' token
    cvsmooth.cpp: In function `void histogram_sub(const ushort*, ushort*)':
    cvsmooth.cpp:612: error: `__m128i' was not declared in this scope
    cvsmooth.cpp:612: error: expected primary-expression before ')' token
    cvsmooth.cpp:613: error: expected primary-expression before ')' token
    cvsmooth.cpp:613: error: `_mm_load_si128' was not declared in this scope
    cvsmooth.cpp:613: error: expected primary-expression before ')' token
    cvsmooth.cpp:613: error: `_mm_sub_epi16' was not declared in this scope
    cvsmooth.cpp:613: error: `_mm_store_si128' was not declared in this scope
    cvsmooth.cpp:614: error: expected primary-expression before ')' token
    cvsmooth.cpp:615: error: expected primary-expression before ')' token
    cvsmooth.cpp:615: error: expected primary-expression before ')' token
    cvsmooth.cpp: In function `CvStatus icvMedianBlur_8u_CnR_O1(uchar*, int, uchar*, int, CvSize, int, int, int, int)':
    cvsmooth.cpp:779: error: `_mm_empty' was not declared in this scope
    cvsmooth.cpp:779: warning: unused variable '_mm_empty'
    make[3]: *** [cvsmooth.lo] Error 1
    make[3]: Leaving directory `/usr/src/opencv-1.1.0/cv/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/usr/src/opencv-1.1.0/cv'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/src/opencv-1.1.0'
    make: *** [all] Error 2


    so can you help me as soon as possible to rectify what is the error.

    urgent help is required ...
    thanks in advance

  2. #2
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,392
    At a guess I'd say you were missing a development library package. Take a good look down the dependency list for the application you're trying to install and ensure you've installed everything you require with yum. You'd need to find which library module it needs, and install the development version, with a command like 'yum install <package>-devel' as root.
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...