Rechercher : dans
Par :

[intégration de opencv avec vc++]

Dernière réponse le 30 déc 2008 à 16:05:32 seidali, le 1 mar 2006 à 17:42:54 
 Signaler ce message aux modérateurs

I need some information in relaiting about installation of OpenCV Beta 5:

*The first problem : what means this sentence “By default, highgui requires external
graphic libraries, so if you do not have them at <opencv_root>/otherlibs/_graphics/,
you will have to modify highgui project settings and/or
<opencv_root>/otherlibs/highgui/Makefile.*”

*The second problem is about Building OpenCV from Microsoft Visual C++ (6.0):
**In the prerequisities : How can I find and download MIL (Matrox Imaging
Library) to build it.

*The third problem also about Building OpenCV from Microsoft Visual C++ (6.0):
**In building the main part of OpenCV and the DirectShow-related part: When I
Build the two parts I get the following errors:
Opencv.dsw:
--------------------Configuration: cxcore - Win32 Release64--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
cxprecomp.cpp
..\include\cxtypes.h(52) : fatal error C1083: Cannot open include file: 'emmintrin.h': No such file or directory
Error executing cl.exe.

cv097_64.dll - 1 error(s), 1 warning(s)
--------------------Configuration: cxcore - Win32 Debug64--------------------
Compiling...
Command line error D2021 : invalid numeric argument '/Wp64'
Error executing cl.exe.

cv097d_64.dll - 1 error(s), 0 warning(s)
--------------------Configuration: cv - Win32 Release64--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
cvprecomp.cpp
..\..\cxcore\include\cxtypes.h(52) : fatal error C1083: Cannot open include file: 'emmintrin.h': No such file or directory
Error executing cl.exe.

cvaux097_64.dll - 1 error(s), 1 warning(s)
--------------------Configuration: cv - Win32 Debug64--------------------
Compiling...
Command line error D2021 : invalid numeric argument '/Wp64'
Error executing cl.exe.

cvaux097d_64.dll - 1 error(s), 0 warning(s)
--------------------Configuration: highgui - Win32 Release64--------------------
Compiling...
precomp.cpp
..\..\cxcore\include\cxtypes.h(52) : fatal error C1083: Cannot open include file: 'emmintrin.h': No such file or directory
Error executing cl.exe.

cvsample_64.exe - 1 error(s), 0 warning(s)
--------------------Configuration: highgui - Win32 Debug64--------------------
Compiling...
Command line error D2021 : invalid numeric argument '/Wp64'
Error executing cl.exe.

cvsampled_64.exe - 1 error(s), 0 warning(s)
--------------------Configuration: highgui - Win32 Release64 Itanium--------------------
Compiling...
window_w32.cpp
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(240) : error C2065: 'GetWindowLongPtr' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(240) : error C2065: 'GWLP_USERDATA' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(419) : error C2065: 'SetWindowLongPtr' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(419) : error C2065: 'LONG_PTR' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(807) : error C2065: 'GetClassLongPtr' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(807) : error C2065: 'GCLP_HBRBACKGROUND' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(947) : error C2065: 'GCLP_HCURSOR' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(1228) : error C2065: 'GWLP_WNDPROC' : undeclared identifier
Error executing cl.exe.

cvsample_i7.exe - 8 error(s), 0 warning(s)
--------------------Configuration: highgui - Win32 Debug64 Itanium--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/Qwd167'
window_w32.cpp
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(240) : error C2065: 'GetWindowLongPtr' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(240) : error C2065: 'GWLP_USERDATA' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(419) : error C2065: 'SetWindowLongPtr' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(419) : error C2065: 'LONG_PTR' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(807) : error C2065: 'GetClassLongPtr' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(807) : error C2065: 'GCLP_HBRBACKGROUND' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(947) : error C2065: 'GCLP_HCURSOR' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(1228) : error C2065: 'GWLP_WNDPROC' : undeclared identifier
Error executing cl.exe.

cvsampled_i7.exe - 8 error(s), 1 warning(s)
--------------------Configuration: cvaux - Win32 Release64--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
precomp.cpp
../../cxcore/include\cxtypes.h(52) : fatal error C1083: Cannot open include file: 'emmintrin.h': No such file or directory
Error executing cl.exe.

cvtest_64.exe - 1 error(s), 1 warning(s)
--------------------Configuration: cvaux - Win32 Debug64--------------------
Compiling...
Command line error D2021 : invalid numeric argument '/Wp64'
Error executing cl.exe.

cvtestd_64.exe - 1 error(s), 0 warning(s)
--------------------Configuration: cvtest - Win32 Release64 Itanium--------------------
Linking...
LINK : warning LNK4012: invalid value "IA64", must be ALPHA, ARM, IX86, MIPS, MIPS16, MIPSR41XX, PPC, SH3, or SH4; option ignored
LINK : fatal error LNK1181: cannot open input file "highgui_i7.lib"
Error executing link.exe.

cvtest_i7.exe - 1 error(s), 1 warning(s)
--------------------Configuration: cvtest - Win32 Debug64 Itanium--------------------
Linking...
LINK : warning LNK4012: invalid value "IA64", must be ALPHA, ARM, IX86, MIPS, MIPS16, MIPSR41XX, PPC, SH3, or SH4; option ignored
LINK : fatal error LNK1181: cannot open input file "highguid_i7.lib"
Error executing link.exe.

cvtestd_i7.exe - 1 error(s), 1 warning(s)
--------------------Configuration: cxts - Win32 Release64--------------------
Compiling...
precomp.cpp
..\..\cxcore\include\cxtypes.h(52) : fatal error C1083: Cannot open include file: 'emmintrin.h': No such file or directory
Error executing cl.exe.

cxcoretest_64.exe - 1 error(s), 0 warning(s)
--------------------Configuration: cxts - Win32 Debug64--------------------
Compiling...
Command line error D2021 : invalid numeric argument '/Wp64'
Error executing cl.exe.

cxcoretestd_64.exe - 1 error(s), 0 warning(s)
--------------------Configuration: trs - Win32 Debug64--------------------
Compiling...
Command line error D2021 : invalid numeric argument '/Wp64'
Error executing cl.exe.

trsd_64.dll - 1 error(s), 0 warning(s)

DirectShow.dsw:
--------------------Configuration: cxcore - Win32 Release64--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
cxprecomp.cpp
..\include\cxtypes.h(52) : fatal error C1083: Cannot open include file: 'emmintrin.h': No such file or directory
Error executing cl.exe.

cv097_64.dll - 1 error(s), 1 warning(s)
--------------------Configuration: cxcore - Win32 Debug64--------------------
Compiling...
Command line error D2021 : invalid numeric argument '/Wp64'
Error executing cl.exe.

cv097d_64.dll - 1 error(s), 0 warning(s)
--------------------Configuration: highgui - Win32 Release64--------------------
Compiling...
precomp.cpp
..\..\cxcore\include\cxtypes.h(52) : fatal error C1083: Cannot open include file: 'emmintrin.h': No such file or directory
Error executing cl.exe.

highgui097_64.dll - 1 error(s), 0 warning(s)
--------------------Configuration: highgui - Win32 Debug64--------------------
Compiling...
Command line error D2021 : invalid numeric argument '/Wp64'
Error executing cl.exe.

highgui097d_64.dll - 1 error(s), 0 warning(s)
--------------------Configuration: highgui - Win32 Release64 Itanium--------------------
Compiling...
window_w32.cpp
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(240) : error C2065: 'GetWindowLongPtr' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(240) : error C2065: 'GWLP_USERDATA' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(419) : error C2065: 'SetWindowLongPtr' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(419) : error C2065: 'LONG_PTR' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(807) : error C2065: 'GetClassLongPtr' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(807) : error C2065: 'GCLP_HBRBACKGROUND' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(947) : error C2065: 'GCLP_HCURSOR' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(1228) : error C2065: 'GWLP_WNDPROC' : undeclared identifier
Error executing cl.exe.

highgui097_i7.dll - 8 error(s), 0 warning(s)
--------------------Configuration: highgui - Win32 Debug64 Itanium--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/Qwd167'
window_w32.cpp
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(240) : error C2065: 'GetWindowLongPtr' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(240) : error C2065: 'GWLP_USERDATA' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(419) : error C2065: 'SetWindowLongPtr' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(419) : error C2065: 'LONG_PTR' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(807) : error C2065: 'GetClassLongPtr' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(807) : error C2065: 'GCLP_HBRBACKGROUND' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(947) : error C2065: 'GCLP_HCURSOR' : undeclared identifier
C:\Program Files\OpenCV\otherlibs\highgui\window_w32.cpp(1228) : error C2065: 'GWLP_WNDPROC' : undeclared identifier
Error executing cl.exe.

highgui097d_i7.dll - 8 error(s), 1 warning(s)
How can I remove them?.

Meilleures réponses pour « [intégration de opencv avec vc++] » dans :
Changer intégralement sa date de naissance sur Facebook VoirVous souhaitez changer intégralement votre date de naissance, alors rendez-vous ici. - Indiquez l'adresse mail associée à votre compte, puis indiquez votre date de naissance. Ce lien permet de changer l'année de la date de naissance, chose...
Télécharger Pilote SoundMAX Integrated Digital Audio Driver VoirLe pilote SoundMAX Integrated Digital Audio Driver ( ADI ) est un driver conçu pour les cartes mères ayant une carte son à base de puce audio SoundMax. Le driver est entièrement gratuit. Le site officiel ne fournit plus le driver en question...
UDDI (Universal Description, Discovery, and Integration) VoirUDDI Le standard UDDI (Universal Description Discovery and Integration) défini par l'OASIS vise à décrire une manière standard de publier et d'interroger les services web proposés par un réseau, généralement au sein d'un service d'annuaire...
Enterprise Application Integration (EAI) VoirIntroduction à la notion d'EAI L'objet de l'EAI (Enterprise Application Integration, traduisez intégration des applications de l'entreprise) est l'intéropérabilité et l'organisation de la circulation de l'information entre des applications...
CMMI (Capacity Maturity Model Integrated) VoirIntroduction à CMMI CMMI (Capacity Maturity Model Integrated, traduisez modèle intégré du niveau de matûrité) est un modèle d'évaluation du niveau de maturité d'une entreprise en matière de développements informatiques. Basé sur le CMM, dont il...

1

someone, le 9 jun 2008 à 09:23:23

Même problème

avec vc++ 2005

quand je fait build batch -> release -> build


que faire?

Répondre à someone

2

 jean-roger-coin-coin-du-pont-d'avignon-on-y-danse-on-y-danse, le 30 déc 2008 à 16:05:32

Donc bon, j'ai trouvé la solution, il faut que tu fasses echap, tu fais démarrer windows, tu fais executer, tu tapes : cmd , et tu tapes ensuite : shutdown -f


voilà, bye

Répondre à jean-roger-coin-coin-du-pont-d'avignon-on-y-danse-on-y-danse
Collection CommentÇaMarche.net