Bonjour,

j'ai un problème lorsque j'essaye d'executer un programme contenant du code openCV. j'ai fait un programme très simple pour tester :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <iostream>
 
using namespace std;
 
#include "cv.h"
#include "highgui.h"
 
int main()
{
    IplImage *img=0;
    img = cvLoadImage("deathnote21im.jpg");
 
    cvNamedWindow("WebCam", 1);
    cvMoveWindow("WebCam", 600, 00);
 
    cvShowImage( "WebCam", img );
 
    cvWaitKey(0);
 
    cvDestroyWindow("WebCam");
    cvReleaseImage(&img);
 
    return 0;
}
au cas ou voici comment j'ai incorporé openCV a mon projet http://opencv.willowgarage.com/wiki/CodeBlocks


Et voici ce que me met l'execution du programme: