OpenCV

Hi, I am new a bit in programming and I want to use OpenCV on Code Blocks, but many mistakes occur. Can any Code Blocks user try to use OpenCV in order to make sure this IDE can use it and that is does not reach its limites ?

I am not even able to use SDL. I did a coding, but the IDE does not find the file or directory. Here is the codding.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include <stdlib.h>
#include <stdio.h>
#include <SDL/SDL.h>

void pause();

int main(int argc, char *argv[])
{
SDL_Init(SDL_INIT_VIDEO); // Initialisation de la SDL
SDL_SetVideoMode(640, 480, 32, SDL_HWSURFACE); // Ouverture de la fenêtre
pause(); // Mise en pause du programme

SDL_Quit(); // Arrêt de la SDL
return EXIT_SUCCESS; // Fermeture du programme
}

void pause()
{
int continuer = 1;
SDL_Event event;
while (continuer)
{
SDL_WaitEvent(&event);
switch(event.type)
{
case SDL_QUIT:
continuer = 0;
}
}
}


Hope you could help me, it is certainly a setting issue.

You can reach me through:

- Skype: cedric1538
- Facebook: Cedric Carteron.
- hotmail: cedriccarteron@hotmail.fr

Btw, could you tell me if giving my details like this represent a danger to me of any nature ? Because I have no idea.

Please, let me know.

Kind regards,

Cédric Carteron.
Topic archived. No new replies allowed.