LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-13-2009, 04:13 AM   #1
cp_almora09
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Rep: Reputation: 0
CentOS-4 i386 (2.6.9-34.0.2.EL) (Red Hat 3.4.5-2)


I m trying to install opencv face detection 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
 
Old 02-13-2009, 12:26 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

Assume opencv-1.1.0/
For some reasons the opencv-1.1.0/cv/src/ code
doesn't like g++-3.4 . ( 4.1 works, but is only
available for EL5 )

Try the command 'g++ -v | grep g++' to know version.

'gcc4-c++-4.0.0-0.14.EL4' should be available on the
install DVD and may be it is already installed.

'rpm -qa | grep gcc' will show installed versions.
'ls /usr/bin | grep g++' : the file name ( g++-4 ? )

Then to opencv-1.1.0/ : './configure CXX=g++-4'
> > CXX : upper case letters.
.......... replace g++-4 with actual filename.
.... and run make, to see if it works.

Good luck !

Last edited by knudfl; 02-13-2009 at 12:29 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vim on CentOS Red Hat 5.2 BillKat Linux - Software 6 01-15-2009 10:25 AM
Red Hat Enterprise showing as CENTOS simonm Linux - Newbie 3 09-24-2008 10:26 AM
Red Hat i386 32 bit upgrade to Red Hat IA64 bit louisb Linux - Enterprise 4 10-08-2005 01:28 AM
glibc-2.2.4.i386.rpm (Red Hat 7.1) genoa Linux - Newbie 2 07-09-2003 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration