Zum Inhalt springen

Empfohlene Beiträge

Geschrieben

Hoi Leute,

ich habe mich gerade daran versucht wxWidgets in Dev-CPP zu integrieren. Nur mir ist das nach 1:30 Std nicht gelungen. Ich hoffe mir kann jemand helfen.

Installiert habe ich das "aktuellste" Packet von DEV-CPP. Die 5 Beta (4.9.9.2 glaube ich).

Dann habe ich mir die imagelib-2.DevPak und die wxWidgets-2.8.0-msw-static.devpak installiert, wie im Tutorial auf wxwidgets.org beschrieben.

Dann habe ich unter Projekt--> Projekt Optionen --> Bibliothek / Include Dateien hinzugefügt.

Dann habe ich versucht das Ding zu kompilieren und es kam das hier:

//Edit: Folgebeitrag!!!

Danke im voraus.

Mfg Chris

Geschrieben

Compiler: Default compiler

Building Makefile: "C:\Dokumente und Einstellungen\Chimaira\Eigene Dateien\Dev-CPP Projekte\Makefile.win"

Führt  make... aus

make.exe -f "C:\Dokumente und Einstellungen\Chimaira\Eigene Dateien\Dev-CPP Projekte\Makefile.win" all

g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include"  -I"C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include"  -I"C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/lib/wx/include/msw-ansi-release-static-2.8"  mingw32-make  


In file included from C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/defs.h:21,

                 from C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/wxprec.h:13,

                 from main.cpp:52:

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/platform.h:196:22: wx/setup.h: No such file or directory

In file included from C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/platform.h:279,

                 from C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/defs.h:21,

                 from C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/wxprec.h:13,

                 from main.cpp:52:

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:98:9: #error "wxUSE_DYNLIB_CLASS must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:106:9: #error "wxUSE_EXCEPTIONS must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:114:9: #error "wxUSE_FILESYSTEM must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:122:9: #error "wxUSE_FS_ARCHIVE must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:135:9: #error "wxUSE_DYNAMIC_LOADER must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:143:9: #error "wxUSE_LOG must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:151:9: #error "wxUSE_LONGLONG must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:159:9: #error "wxUSE_MIMETYPE must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:175:9: #error "wxUSE_PRINTF_POS_PARAMS must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:183:9: #error "wxUSE_PROTOCOL must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:225:9: #error "wxUSE_REGEX must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:233:9: #error "wxUSE_STDPATHS must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:241:9: #error "wxUSE_XML must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:249:9: #error "wxUSE_SOCKETS must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:257:9: #error "wxUSE_STREAMS must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:265:9: #error "wxUSE_STOPWATCH must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:273:9: #error "wxUSE_TEXTBUFFER must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:281:9: #error "wxUSE_TEXTFILE must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:297:9: #error "wxUSE_URL must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:305:9: #error "wxUSE_VARIANT must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:325:9: #error "wxUSE_ABOUTDLG must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:333:9: #error "wxUSE_ACCEL must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:341:9: #error "wxUSE_ANIMATIONCTRL must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:349:9: #error "wxUSE_BITMAPCOMBOBOX must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:357:9: #error "wxUSE_BMPBUTTON must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:365:9: #error "wxUSE_BUTTON must be defined."


C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:373:9: #error "wxUSE_CALENDARCTRL must be defined."


C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:381:9: #error "wxUSE_CARET must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:389:9: #error "wxUSE_CHECKBOX must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:405:9: #error "wxUSE_CHOICE must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:413:9: #error "wxUSE_CHOICEBOOK must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:421:9: #error "wxUSE_CHOICEDLG must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:429:9: #error "wxUSE_CLIPBOARD must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:437:9: #error "wxUSE_COLLPANE must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:445:9: #error "wxUSE_COLOURDLG must be defined."


C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:453:9: #error "wxUSE_COLOURPICKERCTRL must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:461:9: #error "wxUSE_COMBOBOX must be defined."


C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:469:9: #error "wxUSE_COMBOCTRL must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:477:9: #error "wxUSE_DATAOBJ must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:485:9: #error "wxUSE_DATAVIEWCTRL must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:493:9: #error "wxUSE_DATEPICKCTRL must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:501:9: #error "wxUSE_DIRPICKERCTRL must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:509:9: #error "wxUSE_DISPLAY must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:517:9: #error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:525:9: #error "wxUSE_FILEDLG must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:533:9: #error "wxUSE_FILEPICKERCTRL must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:541:9: #error "wxUSE_FONTDLG must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:549:9: #error "wxUSE_FONTMAP must be defined."

Geschrieben

und hier der Rest:



C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:557:9: #error "wxUSE_FONTPICKERCTRL must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:565:9: #error "wxUSE_GAUGE must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:573:9: #error "wxUSE_GRAPHICS_CONTEXT must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:582:9: #error "wxUSE_GRID must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:590:9: #error "wxUSE_HELP must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:598:9: #error "wxUSE_HYPERLINKCTRL must be defined."


C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:606:9: #error "wxUSE_HTML must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:627:9: #error "wxUSE_ICO_CUR must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:635:9: #error "wxUSE_IFF must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:643:9: #error "wxUSE_IMAGLIST must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:651:9: #error "wxUSE_JOYSTICK must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:659:9: #error "wxUSE_LISTBOOK must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:667:9: #error "wxUSE_LISTBOX must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:675:9: #error "wxUSE_LISTCTRL must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:683:9: #error "wxUSE_LOGGUI must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:691:9: #error "wxUSE_LOGWINDOW must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:699:9: #error "wxUSE_LOG_DIALOG must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:707:9: #error "wxUSE_MDI must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:715:9: #error "wxUSE_MDI_ARCHITECTURE must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:723:9: #error "wxUSE_MENUS must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:731:9: #error "wxUSE_MSGDLG must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:739:9: #error "wxUSE_NOTEBOOK must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:747:9: #error "wxUSE_ODCOMBOBOX must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:755:9: #error "wxUSE_PALETTE must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:763:9: #error "wxUSE_POPUPWIN must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:771:9: #error "wxUSE_PRINTING_ARCHITECTURE must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:779:9: #error "wxUSE_RADIOBOX must be defined."


C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:787:9: #error "wxUSE_RADIOBTN must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:795:9: #error "wxUSE_SASH must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:803:9: #error "wxUSE_SCROLLBAR must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:811:9: #error "wxUSE_SLIDER must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:819:9: #error "wxUSE_SOUND must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:827:9: #error "wxUSE_SPINBTN must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:835:9: #error "wxUSE_SPINCTRL must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:843:9: #error "wxUSE_SPLASH must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:851:9: #error "wxUSE_SPLITTER must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:859:9: #error "wxUSE_STATBMP must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:867:9: #error "wxUSE_STATBOX must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:875:9: #error "wxUSE_STATLINE must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:883:9: #error "wxUSE_STATTEXT must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:891:9: #error "wxUSE_STATUSBAR must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:899:9: #error "wxUSE_TAB_DIALOG must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:907:9: #error "wxUSE_TEXTCTRL must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:915:9: #error "wxUSE_TIPWINDOW must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:923:9: #error "wxUSE_TOOLBAR must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:931:9: #error "wxUSE_TOOLTIPS must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:939:9: #error "wxUSE_TREECTRL must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:947:9: #error "wxUSE_VALIDATORS must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:955:9: #error "wxUSE_WXHTML_HELP must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:963:9: #error "wxUSE_XRC must be defined."

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/chkconf.h:1725:9: #error "wxMessageBox is always needed"

In file included from C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/region.h:222,

                 from C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/window.h:26,


                 from C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/wx.h:36,

                 from main.cpp:61:

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/msw/region.h: In constructor `wxRegion::wxRegion(const wxBitmap&, const wxColour&, int)':

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/msw/region.h:31: error: no matching function for call to `wxRegion::Union(const wxBitmap&, const wxColour&, int&)'

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/region.h:128: note: candidates are: bool wxRegionBase::Union(wxCoord, wxCoord, wxCoord, wxCoord)

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/region.h:130: note:                 bool wxRegionBase::Union(const wxRect&)

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/region.h:132: note:                 bool wxRegionBase::Union(const wxRegion&)


main.cpp: In member function `void MyFrame::OnAbout(wxCommandEvent&)':

main.cpp:219: error: `wxMessageBox' undeclared (first use this function)

main.cpp:219: error: (Each undeclared identifier is reported only once for each function it appears in.)


g++.exe: mingw32-make: No such file or directory


make.exe: *** [main.o] Error 1


Ausführung beendet

Geschrieben
Installiert habe ich das "aktuellste" Packet von DEV-CPP. Die 5 Beta (4.9.9.2 glaube ich).
"Aktuell" bedeutet bei Dev-C++ fast 2 Jahre alt. Ich würde von Dev-C++ abraten. Wie wäre es mit Code::Blocks oder MSVC2005 Express? Die verdienen zumindest die Beschreibung "aktuell" ;).

Dann habe ich versucht das Ding zu kompilieren und es kam das hier:
Die entscheidende Fehlermeldung ist die hier:

C:/Dev-Cpp/wxWidgets-2.8.0-msw-static/include/wx/platform.h:196:22: wx/setup.h: No such file or directory

Die restlichen sind vermutlich Folgefehler.

Dein Kommentar

Du kannst jetzt schreiben und Dich später registrieren. Wenn Du ein Konto hast, melde Dich jetzt an, um unter Deinem Benutzernamen zu schreiben.

Gast
Auf dieses Thema antworten...

×   Du hast formatierten Text eingefügt.   Formatierung wiederherstellen

  Nur 75 Emojis sind erlaubt.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Editor leeren

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

Fachinformatiker.de, 2024 by SE Internet Services

fidelogo_small.png

Schicke uns eine Nachricht!

Fachinformatiker.de ist die größte IT-Community
rund um Ausbildung, Job, Weiterbildung für IT-Fachkräfte.

Fachinformatiker.de App

Download on the App Store
Get it on Google Play

Kontakt

Hier werben?
Oder sende eine E-Mail an

Social media u. feeds

Jobboard für Fachinformatiker und IT-Fachkräfte

×
×
  • Neu erstellen...