Bonjour, je suis un nouvel utilisateur de wx et je voudrais seulement compiler un du code qui m'affiche un wxGLcanvas avec rendu opengl (le code est bon , sous linux ca passe).
le compilo me crache ces erreurs :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
obj\Release\EditorCanvas.o:EditorCanvas.cpp:(.text+0x87)||undefined reference to `_imp___ZN10wxGLCanvasC2EP8wxWindowiRK7wxPointRK6wxSizelRK8wxStringPiRK9wxPalette'|
obj\Release\EditorCanvas.o:EditorCanvas.cpp:(.text+0x107)||undefined reference to `_imp___ZN10wxGLCanvasD2Ev'|
obj\Release\EditorCanvas.o:EditorCanvas.cpp:(.text+0x1a2)||undefined reference to `_imp___ZN10wxGLCanvasC2EP8wxWindowiRK7wxPointRK6wxSizelRK8wxStringPiRK9wxPalette'|
obj\Release\EditorCanvas.o:EditorCanvas.cpp:(.text+0x227)||undefined reference to `_imp___ZN10wxGLCanvasD2Ev'|
obj\Release\EditorCanvas.o:EditorCanvas.cpp:(.text+0x254)||undefined reference to `_imp___ZN10wxGLCanvasD2Ev'|
obj\Release\EditorCanvas.o:EditorCanvas.cpp:(.text+0x274)||undefined reference to `_imp___ZN10wxGLCanvasD2Ev'|
obj\Release\EditorCanvas.o:EditorCanvas.cpp:(.text+0x295)||undefined reference to `_imp___ZN10wxGLCanvasD2Ev'|
obj\Release\EditorCanvas.o:EditorCanvas.cpp:(.text+0x2d3)||undefined reference to `_imp___ZN10wxGLCanvas10SetCurrentEv'|
obj\Release\EditorCanvas.o:EditorCanvas.cpp:(.text+0x3f2)||undefined reference to `_imp___ZN10wxGLCanvas11SwapBuffersEv'|
obj\Release\EditorCanvas.o:EditorCanvas.cpp:(.rdata$_ZTV12EditorCanvas[vtable for EditorCanvas]+0x8)||undefined reference to `wxGLCanvas::GetClassInfo() const'|
obj\Release\EditorCanvas.o:EditorCanvas.cpp:(.rdata$_ZTV12EditorCanvas[vtable for EditorCanvas]+0x2c)||undefined reference to `wxGLCanvas::GetEventTable() const'|
obj\Release\EditorCanvas.o:EditorCanvas.cpp:(.rdata$_ZTV12EditorCanvas[vtable for EditorCanvas]+0x30)||undefined reference to `wxGLCanvas::GetEventHashTable() const'|
||=== Build finished: 12 errors, 0 warnings ===|




J'ai normalement compilé wx pour qu'il puisse utiliser opengl et inclus la lib libwxmsw28u_gl.a. Je suis sous Code Blocks.
J'espère que vous pourrez m'aider.

Edit : wxWidgets était en fait mal compilé, pb résolu.