Wx widgets einbinde fehler

Schnelle objektorientierte, kompilierende Programmiersprache.
UnterBrucke
Beiträge: 7
Registriert: Fr Sep 23, 2011 8:41 pm

Wx widgets einbinde fehler

Beitrag von UnterBrucke » Sa Okt 01, 2011 7:12 pm

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

Benutzeravatar
oenone
Beiträge: 223
Registriert: Do Sep 01, 2011 2:42 pm
Wohnort: Bremen
Kontaktdaten:

Re: Wx widgets einbinde fehler

Beitrag von oenone » Sa Okt 01, 2011 7:24 pm

lies mal den Kommentar oben in der chkconf.h...

Benutzeravatar
Xin
nur zu Besuch hier
Beiträge: 8862
Registriert: Fr Jul 04, 2008 11:10 pm
Wohnort: /home/xin
Kontaktdaten:

Re: Wx widgets einbinde fehler

Beitrag von Xin » Sa Okt 01, 2011 7:25 pm

Was steht denn im Kommentar, nahe des Anfangs von chkconf.h?
Merke: Wer Ordnung hellt ist nicht zwangsläufig eine Leuchte.

Ich beantworte keine generellen Programmierfragen per PN oder Mail. Dafür ist das Forum da.

UnterBrucke
Beiträge: 7
Registriert: Fr Sep 23, 2011 8:41 pm

Re: Wx widgets einbinde fehler

Beitrag von UnterBrucke » So Okt 02, 2011 11:42 am

Hmm Soll ich die Datei umtauschen ?

Benutzeravatar
Xin
nur zu Besuch hier
Beiträge: 8862
Registriert: Fr Jul 04, 2008 11:10 pm
Wohnort: /home/xin
Kontaktdaten:

Re: Wx widgets einbinde fehler

Beitrag von Xin » So Okt 02, 2011 11:47 am

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. ^^
Merke: Wer Ordnung hellt ist nicht zwangsläufig eine Leuchte.

Ich beantworte keine generellen Programmierfragen per PN oder Mail. Dafür ist das Forum da.

UnterBrucke
Beiträge: 7
Registriert: Fr Sep 23, 2011 8:41 pm

Re: Wx widgets einbinde fehler

Beitrag von UnterBrucke » So Okt 02, 2011 11:52 am

HMmm ich hab nicht die richtige Version von setup.h meint das Programm !

Benutzeravatar
Xin
nur zu Besuch hier
Beiträge: 8862
Registriert: Fr Jul 04, 2008 11:10 pm
Wohnort: /home/xin
Kontaktdaten:

Re: Wx widgets einbinde fehler

Beitrag von Xin » So Okt 02, 2011 11:54 am

Und ich habe nichtmals eine Ahnung, auf welchem OS Du eine falsche Version hast.

FAQ: Frage Formulieren
Merke: Wer Ordnung hellt ist nicht zwangsläufig eine Leuchte.

Ich beantworte keine generellen Programmierfragen per PN oder Mail. Dafür ist das Forum da.

UnterBrucke
Beiträge: 7
Registriert: Fr Sep 23, 2011 8:41 pm

Re: Wx widgets einbinde fehler

Beitrag von UnterBrucke » So Okt 02, 2011 11:57 am

Auf Windows! Auf Linux Funktionierts !

Benutzeravatar
Xin
nur zu Besuch hier
Beiträge: 8862
Registriert: Fr Jul 04, 2008 11:10 pm
Wohnort: /home/xin
Kontaktdaten:

Re: Wx widgets einbinde fehler

Beitrag von Xin » So Okt 02, 2011 12:17 pm

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?
Merke: Wer Ordnung hellt ist nicht zwangsläufig eine Leuchte.

Ich beantworte keine generellen Programmierfragen per PN oder Mail. Dafür ist das Forum da.

UnterBrucke
Beiträge: 7
Registriert: Fr Sep 23, 2011 8:41 pm

Re: Wx widgets einbinde fehler

Beitrag von UnterBrucke » So Okt 02, 2011 12:25 pm

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.

Antworten