Hallo,
ich habe versucht, den GDVI-Vertiefungskurs unter Windows XP einzurichten. Codeblocks 8.02 und wxWidgets 2.8.7 waren ohne große Probleme zum Laufen zu bekommen. Eine Beispielapplikation ist compilier- und ausführbar. Die Umgebung scheint also soweit zu funktionieren.
Allerdings weiß ich nicht genau, welche Bibliotheken alle für den GDV-Sourcecode nötig sind. Bis jetzt habe ich in Codeblocks folgende gelinkt:
-lglu32
-lglut32
-lopengl32
-mwindows
Jedoch bekomme ich noch die Fehlermeldungen:
||=== GDVCB, Release ===|
obj\Release\CanvasGL.o:CanvasGL.cpp.text+0xd9)||undefined reference to `__imp___ZN10wxGLCanvasC2EP8wxWindowiRK7wxPointRK6wxSizelRK8wxStringPiRK9wxPalette'|
obj\Release\CanvasGL.o:CanvasGL.cpp.text+0x239)||undefined reference to `__imp___ZN10wxGLCanvasC2EP8wxWindowiRK7wxPointRK6wxSizelRK8wxStringPiRK9wxPalette'|
obj\Release\CanvasGL.o:CanvasGL.cpp.text+0x2ef)||undefined reference to `__imp___ZN10wxGLCanvas10SetCurrentEv'|
obj\Release\CanvasGL.o:CanvasGL.cpp.text+0x3f0)||undefined reference to `__imp___ZN10wxGLCanvas10SetCurrentEv'|
obj\Release\CanvasGL.o:CanvasGL.cpp.text+0x4e9)||undefined reference to `__imp___ZN10wxGLCanvas11SwapBuffersEv'|
obj\Release\CanvasGL.o:CanvasGL.cpp.text+0x9e1)||undefined reference to `__imp___ZN10wxGLCanvas13sm_eventTableE'|
obj\Release\CanvasGL.o:CanvasGL.cpp.rdata$_ZTV8CanvasGL[vtable for CanvasGL]+0x||undefined reference to `wxGLCanvas::GetClassInfo() const'|
obj\Release\CanvasGL.o:CanvasGL.cpp.text$_ZN8CanvasGLD1Ev[CanvasGL::~CanvasGL()]+0x14)||undefined reference to `__imp___ZN10wxGLCanvasD2Ev'|
obj\Release\CanvasGL.o:CanvasGL.cpp.text$_ZN8CanvasGLD0Ev[CanvasGL::~CanvasGL()]+0x15)||undefined reference to `__imp___ZN10wxGLCanvasD2Ev'|
obj\Release\MyCanvasGL.o:MyCanvasGL.cpp.rdata$_ZTV10MyCanvasGL[vtable for MyCanvasGL]+0x|undefined reference to `wxGLCanvas::GetClassInfo() const'|
obj\Release\MyCanvasGL.o:MyCanvasGL.cpp.text$_ZN10MyCanvasGLD1Ev[MyCanvasGL::~MyCanvasGL()]+0x14)||undefined reference to `__imp___ZN10wxGLCanvasD2Ev'|
obj\Release\MyCanvasGL.o:MyCanvasGL.cpptext$_ZN10MyCanvasGLD0Ev[MyCanvasGL::~MyCanvasGL()]+0x15)||undefined reference to `__imp___ZN10wxGLCanvasD2Ev'|
||=== Build finished: 12 errors, 0 warnings ===|
Weiß jemand, welche Bibliotheken ich noch brauche?
Im Makefile wird wx-config benutzt. Allerdings scheint es nicht zu funktionieren, die Fehlermeldungen bleiben trotzdem. Ich habe es in Codeblocks in der Projektdatei eingebunden:
<Compiler>
<Add option="`wx-config --cppflags`" />
Die erforderlichen Umgebungsvariablen für wx-config (WXWIN=C:\wxwidgets2.8.7, WXCFG=gcc_dll\mswu) habe ich auch gesetzt.
Vielen Dank schon mal für eure Hilfe im Voraus.
Viele Grüße,
Tobias
This post has been edited 1 times, last edit by "Sir_Tobias" (Apr 23rd 2008, 3:55pm)