Bonjour,
j'essaie de mettre en place un environement de developpement pour apprendre OPENGL ES en utilisant GLUT ES. Je suis sous Visual Studio 8. J'ai créé un projet win32 smart device project, empty, et j'y ai collé un tutorial hyper simple :
mon probleme est qu'il ne connaissait pas des fichiers tels que glutes.h ou libGLES_CM.lib alors j'ai mis tout cela dans un repertoire que j'ai spécifié dans les options du projet.
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
25
26
27
28 #pragma comment(lib, "libGLES_CM.lib") #include <GLES/glutes.h> void init() { } void display() { } int main(int argc, char *argv[]) { glutInit(&argc, argv); glutCreateWindow("03 - Create Window"); init(); glutDisplayFunc(display); glutMainLoop(); return 0; }
Mon probleme actuel est :
Error 1 error LNK2019: unresolved external symbol WinMain referenced in function WinMainCRTStartup corelibc.lib
alors que j'ai spécifié WinMainCRTStartup comme entry point dans les options du projet ...
merci pour votre aide
Partager