Seite 1 von 2

Wx widgets einbinde fehler

Verfasst: Sa Okt 01, 2011 7:12 pm
von UnterBrucke
Hallo,
Ich habe ein Problem beim einbinden von wxwidgets 2.82 bei Code Blocks 10.05.

Code: Alles auswählen


||=== Hallo, Release ===|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\chkconf.h|94|error: #error "wxUSE_ANY must be defined, please read comment near the top of this file."|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\chkconf.h|102|error: #error "wxUSE_CONSOLE_EVENTLOOP must be defined, please read comment near the top of this file."|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\chkconf.h|126|error: #error "wxUSE_FILE_HISTORY must be defined, please read comment near the top of this file."|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\chkconf.h|158|error: #error "wxUSE_FSWATCHER must be defined, please read comment near the top of this file."|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\chkconf.h|182|error: #error "wxUSE_IPV6 must be defined, please read comment near the top of this file."|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\chkconf.h|360|error: #error "wxUSE_XLOCALE must be defined, please read comment near the top of this file."|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\chkconf.h|412|error: #error "wxUSE_AUTOID_MANAGEMENT must be defined, please read comment near the top of this file."|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\chkconf.h|608|error: #error "wxUSE_FILECTRL must be defined, please read comment near the top of this file."|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\chkconf.h|681|error: #error "wxUSE_HEADERCTRL must be defined, please read comment near the top of this file."|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\chkconf.h|750|error: #error "wxUSE_INFOBAR must be defined, please read comment near the top of this file."|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\chkconf.h|854|error: #error "wxUSE_NOTIFICATION_MESSAGE must be defined, please read comment near the top of this file."|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\chkconf.h|910|error: #error "wxUSE_REARRANGECTRL must be defined, please read comment near the top of this file."|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\chkconf.h|918|error: #error "wxUSE_RIBBON must be defined, please read comment near the top of this file."|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\chkconf.h|1030|error: #error "wxUSE_TASKBARICON must be defined, please read comment near the top of this file."|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\chkconf.h|1078|error: #error "wxUSE_UIACTIONSIMULATOR must be defined, please read comment near the top of this file."|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\msw\chkconf.h|60|error: #error "wxUSE_INICONF must be defined."|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\msw\chkconf.h|84|error: #error "wxUSE_TASKBARICON_BALLOONS must be defined."|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\chkconf.h|1160|error: #error "2.6.X compatibility requires 2.8.X compatibility"|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\chkconf.h|1504|error: #error "wxDataViewCtrl and wxGrid require wxHeaderCtrl"|
C:\CodeBlocks\wxWidgets-2.8.12\include\wx\chkconf.h|1818|error: #error "DocView requires wxUSE_FILE_HISTORY"|
||=== Build finished: 20 errors, 0 warnings ===|

mfg Airtrake

Re: Wx widgets einbinde fehler

Verfasst: Sa Okt 01, 2011 7:24 pm
von oenone
lies mal den Kommentar oben in der chkconf.h...

Re: Wx widgets einbinde fehler

Verfasst: Sa Okt 01, 2011 7:25 pm
von Xin
Was steht denn im Kommentar, nahe des Anfangs von chkconf.h?

Re: Wx widgets einbinde fehler

Verfasst: So Okt 02, 2011 11:42 am
von UnterBrucke
Hmm Soll ich die Datei umtauschen ?

Re: Wx widgets einbinde fehler

Verfasst: So Okt 02, 2011 11:47 am
von Xin
UnterBrucke hat geschrieben:Hmm Soll ich die Datei umtauschen ?
?

Keine Ahnung... Du könntest den Kommentar lesen, dann tun, was da vermutlich steht oder wenigstens den Kommentar hier posten. In jedem Fall könntest Du uns mit Informationen versorgen, wie wir Dir helfen können.

Ich verstehe nichtmals, was mit "Soll ich die Datei umtauschen?" gemeint ist. ^^

Re: Wx widgets einbinde fehler

Verfasst: So Okt 02, 2011 11:52 am
von UnterBrucke
HMmm ich hab nicht die richtige Version von setup.h meint das Programm !

Re: Wx widgets einbinde fehler

Verfasst: So Okt 02, 2011 11:54 am
von Xin
Und ich habe nichtmals eine Ahnung, auf welchem OS Du eine falsche Version hast.

FAQ: Frage Formulieren

Re: Wx widgets einbinde fehler

Verfasst: So Okt 02, 2011 11:57 am
von UnterBrucke
Auf Windows! Auf Linux Funktionierts !

Re: Wx widgets einbinde fehler

Verfasst: So Okt 02, 2011 12:17 pm
von Xin
UnterBrucke hat geschrieben:Auf Windows! Auf Linux Funktionierts !
Und Deine Includes sind in der korrekten Version?

Ich habe zu wenig Erfahrung mit wxWidgets, als dass ich einfach in die Glaskugel gucken könnte.

Du musst schon beschreiben, was genau Du getan hast, um da hin zu kommen, damit ich eventuell erkennen könnte, was für mich fraglich ist.

Was ist installiert, was machst Du da?

Re: Wx widgets einbinde fehler

Verfasst: So Okt 02, 2011 12:25 pm
von UnterBrucke
Also hab alles gemacht was hier steht http://www.pronix.de/pronix-1138.html

Dannah hab ich aber spaeter code blocks mit wx widgets innen drin von C:/program files/code blocks zu
c:/Code blocks.

Hab aber bei Path bei windows umgebungsvariablen den neuen path angegeben.