wxWidgets Bibliothek bauen klappt nicht



  • Hallo Leute, 😕

    ich steige gerade von Borland C++ auf wxWidgets und habe da Probleme mit Bibliothekbau für wxWidgets. Ich arbeite übrigens unter Windows. WxPAck möchte ich nicht benutzen, da ich später auf Linux umsteigen will.
    Ich habe zuerst Code::Blocks (codeblocks-1.0rc2), dann MinGW (MinGW-3.1.0-1) und schließlich MSYS (MSYS-1.0.10) installiert.
    Dann habe ich wie unter FAQ versucht die Bibliothek zu bauen. Leider sagt mir MSYS, dass ich keinen Compiler installiert habe, obwohl er drauf ist!

    Path zu Compiler ist angeblich nicht richtig? Wie stelle ich den richtig ein. Nach der Installation von MSYS wurde ich nach einigen Sachen abgefragt! Es schein alles zu stimmen!
    😕
    Was habe ich falsch gemacht?

    swunder@W-1CE381348DD74 ~
    $ cd c:\
    > dir
    sh: cd: c:dir: No such file or directory
    
    swunder@W-1CE381348DD74 ~
    $ cd 
    
    swunder@W-1CE381348DD74 ~
    $ cd c:\wxWidgets-2.8.7
    
    swunder@W-1CE381348DD74 /c/wxWidgets-2.8.7
    $ mkdir build-debug
    
    swunder@W-1CE381348DD74 /c/wxWidgets-2.8.7
    $ cd build-debug
    
    swunder@W-1CE381348DD74 /c/wxWidgets-2.8.7/build-debug
    $ ../configure --with-msw --enable-debug --enable-debug_gdb --disable-shared
    checking build system type... i686-pc-mingw32
    checking host system type... i686-pc-mingw32
    checking target system type... i686-pc-mingw32
    loading argument cache configarg.cache
    checking for --enable-gui... yes
    checking for --enable-monolithic... no
    checking for --enable-plugins... no
    checking for --without-subdirs... no
    checking for --enable-universal... no
    checking for --enable-nanox... no
    checking for --enable-gpe... no
    checking for --with-libpng... yes
    checking for --with-libjpeg... yes
    checking for --with-libtiff... yes
    checking for --with-libxpm... yes
    checking for --with-libmspack... yes
    checking for --with-sdl... no
    checking for --with-gnomeprint... yes
    checking for --with-gnomevfs... no
    checking for --with-hildon... no
    checking for --with-opengl... no
    checking for --with-dmalloc... no
    checking for --with-regex... yes
    checking for --with-zlib... yes
    checking for --with-odbc... no
    checking for --with-expat... yes
    checking for --with-macosx-sdk... 
    checking for --with-macosx-version-min... yes
    checking for --enable-shared... no
    checking for --enable-optimise... yes
    checking for --enable-debug... yes
    checking for --enable-stl... no
    checking for --enable-debug_flag... yes
    checking for --enable-debug_info... yes
    checking for --enable-debug_gdb... yes
    checking for --enable-debug_cntxt... no
    checking for --enable-mem_tracing... no
    checking for --enable-profile... no
    checking for --enable-no_rtti... no
    checking for --enable-no_exceptions... no
    checking for --enable-permissive... no
    checking for --enable-no_deps... no
    checking for --enable-vararg_macros... yes
    checking for --enable-universal_binary... no
    checking for --enable-compat24... no
    checking for --disable-compat26... no
    checking for --enable-rpath... yes
    checking for --enable-objc_uniquifying... no
    checking for --enable-abi-incompatible-features... yes
    checking for --enable-intl... yes
    checking for --enable-config... yes
    checking for --enable-protocols... yes
    checking for --enable-ftp... yes
    checking for --enable-http... yes
    checking for --enable-fileproto... yes
    checking for --enable-sockets... yes
    checking for --enable-ole... yes
    checking for --enable-dataobj... yes
    checking for --enable-ipc... yes
    checking for --enable-apple_ieee... yes
    checking for --enable-arcstream... yes
    checking for --enable-backtrace... yes
    checking for --enable-catch_segvs... yes
    checking for --enable-cmdline... yes
    checking for --enable-datetime... yes
    checking for --enable-debugreport... yes
    checking for --enable-dialupman... yes
    checking for --enable-dynlib... yes
    checking for --enable-dynamicloader... yes
    checking for --enable-exceptions... yes
    checking for --enable-ffile... yes
    checking for --enable-file... yes
    checking for --enable-filesystem... yes
    checking for --enable-fontmap... yes
    checking for --enable-fs_archive... yes
    checking for --enable-fs_inet... yes
    checking for --enable-fs_zip... yes
    checking for --enable-geometry... yes
    checking for --enable-log... yes
    checking for --enable-longlong... yes
    checking for --enable-mimetype... yes
    checking for --enable-mslu... yes
    checking for --enable-snglinst... yes
    checking for --enable-std_iostreams... yes
    checking for --enable-std_string... yes
    checking for --enable-stdpaths... yes
    checking for --enable-stopwatch... yes
    checking for --enable-streams... yes
    checking for --enable-system_options... yes
    checking for --enable-tarstream... yes
    checking for --enable-textbuf... yes
    checking for --enable-textfile... yes
    checking for --enable-timer... yes
    checking for --enable-unicode... no
    checking for --enable-sound... yes
    checking for --enable-mediactrl... no
    checking for --enable-gstreamer8... no
    checking for --enable-printfposparam... yes
    checking for --enable-zipstream... yes
    checking for --enable-url... yes
    checking for --enable-variant... yes
    checking for --enable-protocol... yes
    checking for --enable-protocol_http... yes
    checking for --enable-protocol_ftp... yes
    checking for --enable-protocol_file... yes
    checking for --enable-threads... yes
    checking for --enable-docview... yes
    checking for --enable-help... yes
    checking for --enable-mshtmlhelp... yes
    checking for --enable-html... yes
    checking for --enable-htmlhelp... yes
    checking for --enable-xrc... yes
    checking for --enable-aui... yes
    checking for --enable-constraints... yes
    checking for --enable-printarch... yes
    checking for --enable-mdi... yes
    checking for --enable-mdidoc... yes
    checking for --enable-loggui... yes
    checking for --enable-logwin... yes
    checking for --enable-logdialog... yes
    checking for --enable-webkit... yes
    checking for --enable-richtext... yes
    checking for --enable-graphics_ctx... no
    checking for --enable-postscript... yes
    checking for --enable-prologio... no
    checking for --enable-resources... no
    checking for --enable-clipboard... yes
    checking for --enable-dnd... yes
    checking for --enable-metafile... yes
    checking for --enable-controls... no
    checking for --enable-accel... yes
    checking for --enable-animatectrl... yes
    checking for --enable-button... yes
    checking for --enable-bmpbutton... yes
    checking for --enable-bmpcombobox... yes
    checking for --enable-calendar... yes
    checking for --enable-caret... yes
    checking for --enable-checkbox... yes
    checking for --enable-checklst... yes
    checking for --enable-choice... yes
    checking for --enable-choicebook... yes
    checking for --enable-collpane... yes
    checking for --enable-colourpicker... yes
    checking for --enable-combobox... yes
    checking for --enable-comboctrl... yes
    checking for --enable-datepick... yes
    checking for --enable-dirpicker... yes
    checking for --enable-display... yes
    checking for --enable-detect_sm... yes
    checking for --enable-filepicker... yes
    checking for --enable-fontpicker... yes
    checking for --enable-gauge... yes
    checking for --enable-grid... yes
    checking for --enable-dataviewctrl... no
    checking for --enable-hyperlink... yes
    checking for --enable-imaglist... yes
    checking for --enable-listbook... yes
    checking for --enable-listbox... yes
    checking for --enable-listctrl... yes
    checking for --enable-notebook... yes
    checking for --enable-odcombobox... yes
    checking for --enable-radiobox... yes
    checking for --enable-radiobtn... yes
    checking for --enable-sash... yes
    checking for --enable-scrollbar... yes
    checking for --enable-searchctrl... yes
    checking for --enable-slider... yes
    checking for --enable-spinbtn... yes
    checking for --enable-spinctrl... yes
    checking for --enable-splitter... yes
    checking for --enable-statbmp... yes
    checking for --enable-statbox... yes
    checking for --enable-statline... yes
    checking for --enable-stattext... yes
    checking for --enable-statusbar... yes
    checking for --enable-tabdialog... no
    checking for --enable-textctrl... yes
    checking for --enable-togglebtn... yes
    checking for --enable-toolbar... yes
    checking for --enable-tbarnative... yes
    checking for --enable-treebook... yes
    checking for --enable-toolbook... yes
    checking for --enable-treectrl... yes
    checking for --enable-tipwindow... yes
    checking for --enable-popupwin... yes
    checking for --enable-commondlg... yes
    checking for --enable-aboutdlg... yes
    checking for --enable-choicedlg... yes
    checking for --enable-coldlg... yes
    checking for --enable-filedlg... yes
    checking for --enable-finddlg... yes
    checking for --enable-fontdlg... yes
    checking for --enable-dirdlg... yes
    checking for --enable-msgdlg... yes
    checking for --enable-numberdlg... yes
    checking for --enable-splash... yes
    checking for --enable-textdlg... yes
    checking for --enable-tipdlg... yes
    checking for --enable-progressdlg... yes
    checking for --enable-wizarddlg... yes
    checking for --enable-menus... yes
    checking for --enable-miniframe... yes
    checking for --enable-tooltips... yes
    checking for --enable-splines... yes
    checking for --enable-mousewheel... yes
    checking for --enable-validators... yes
    checking for --enable-busyinfo... yes
    checking for --enable-joystick... yes
    checking for --enable-metafile... yes
    checking for --enable-dragimage... yes
    checking for --enable-accessibility... no
    checking for --enable-palette... yes
    checking for --enable-image... yes
    checking for --enable-gif... yes
    checking for --enable-pcx... yes
    checking for --enable-tga... yes
    checking for --enable-iff... no
    checking for --enable-pnm... yes
    checking for --enable-xpm... yes
    checking for --enable-ico_cur... yes
    checking for --enable-official_build... no
    saving argument cache configarg.cache
    checking for toolkit... msw
    checking for gcc... no
    checking for cc... no
    checking for cc... no
    checking for cl... no
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.
    

  • Mod

    Evtl. musst du noch den Pfad zum bin Verzeichnis des MinGW in der Systemvariablen PATH angeben.

    Ansonsten kannst du auch von der Windowskommandozeile aus bauen (im Verzeichnis %wxDir%/build/msw/), mit mingw32-make.exe -f makefile.gcc



  • Evtl. musst du noch den Pfad zum bin Verzeichnis des MinGW in der Systemvariablen PATH angeben.
    

    und wie mache ich das??


  • Mod

    swunder schrieb:

    Evtl. musst du noch den Pfad zum bin Verzeichnis des MinGW in der Systemvariablen PATH angeben.
    

    und wie mache ich das??

    Systemsteuerung oder mit set in der konsole. Müsstest du mal selber googlen...



  • und wie macht Ihr das? 😕


  • Mod

    swunder schrieb:

    und wie macht Ihr das? 😕

    In dem wir die Systemvariable unter Windows PATH um den Pfad des Kompilers ergänzen.
    Wie du Systemvariablen unter Windows setzt, müsstest du entweder wissen, oder kurz google fragen!!!



  • Systemvariable!

    das wollte ich wissen! Was auch funktioniert hat bloß jetzt habe ich ein anderes Problem!
    http://www.c-plusplus.net/forum/viewtopic-var-t-is-206342.html


  • Mod

    phlox81 schrieb:

    Evtl. musst du noch den Pfad zum bin Verzeichnis des MinGW in der Systemvariablen PATH angeben.

    Ansonsten kannst du auch von der Windowskommandozeile aus bauen (im Verzeichnis %wxDir%/build/msw/), mit mingw32-make.exe -f makefile.gcc

    swunder schrieb:

    Systemvariable!

    das wollte ich wissen! Was auch funktioniert hat bloß jetzt habe ich ein anderes Problem!
    http://www.c-plusplus.net/forum/viewtopic-var-t-is-206342.html

    Dann lies doch bitte die Antworten...



  • 😕

    welche Antwort? Und wo?
    Da ist doch bloß ein Hinweis dass es verschoben wurde und welche Fargen in welchen Forum gestellt werden sollen!

    Ausserdem habe ich aufeinmal folgenden Fehler!

    Project   : wxWidgets application
    Compiler  : GNU GCC Compiler (called directly)
    Directory : C:\wxProjekts\hallo\
    --------------------------------------------------------------------------------
    Switching to target: default
    Precompiling header: wx_pch.h
    In file included from C:/wxWidgets-2.8.7/include/wx/defs.h:21,
                     from C:/wxWidgets-2.8.7/include/wx/wxprec.h:13,
                     from ./wx_pch.h:9,
                     from <command line>:5:
    C:/wxWidgets-2.8.7/include/wx/platform.h:196:22: wx/setup.h: No such file or directory
    In file included from C:/wxWidgets-2.8.7/include/wx/platform.h:279,
                     from C:/wxWidgets-2.8.7/include/wx/defs.h:21,
                     from C:/wxWidgets-2.8.7/include/wx/wxprec.h:13,
                     from ./wx_pch.h:9,
                     from <command line>:5:
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:103:9: #error "wxUSE_DYNLIB_CLASS must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:111:9: #error "wxUSE_EXCEPTIONS must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:119:9: #error "wxUSE_FILESYSTEM must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:127:9: #error "wxUSE_FS_ARCHIVE must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:140:9: #error "wxUSE_DYNAMIC_LOADER must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:148:9: #error "wxUSE_LOG must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:156:9: #error "wxUSE_LONGLONG must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:164:9: #error "wxUSE_MIMETYPE must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:180:9: #error "wxUSE_PRINTF_POS_PARAMS must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:188:9: #error "wxUSE_PROTOCOL must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:230:9: #error "wxUSE_REGEX must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:238:9: #error "wxUSE_STDPATHS must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:246:9: #error "wxUSE_XML must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:254:9: #error "wxUSE_SOCKETS must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:262:9: #error "wxUSE_STREAMS must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:270:9: #error "wxUSE_STOPWATCH must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:278:9: #error "wxUSE_TEXTBUFFER must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:286:9: #error "wxUSE_TEXTFILE must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:302:9: #error "wxUSE_URL must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:310:9: #error "wxUSE_VARIANT must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:330:9: #error "wxUSE_ABOUTDLG must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:338:9: #error "wxUSE_ACCEL must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:346:9: #error "wxUSE_ANIMATIONCTRL must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:354:9: #error "wxUSE_BITMAPCOMBOBOX must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:362:9: #error "wxUSE_BMPBUTTON must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:370:9: #error "wxUSE_BUTTON must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:378:9: #error "wxUSE_CALENDARCTRL must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:386:9: #error "wxUSE_CARET must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:394:9: #error "wxUSE_CHECKBOX must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:410:9: #error "wxUSE_CHOICE must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:418:9: #error "wxUSE_CHOICEBOOK must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:426:9: #error "wxUSE_CHOICEDLG must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:434:9: #error "wxUSE_CLIPBOARD must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:442:9: #error "wxUSE_COLLPANE must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:450:9: #error "wxUSE_COLOURDLG must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:458:9: #error "wxUSE_COLOURPICKERCTRL must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:466:9: #error "wxUSE_COMBOBOX must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:474:9: #error "wxUSE_COMBOCTRL must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:482:9: #error "wxUSE_DATAOBJ must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:490:9: #error "wxUSE_DATAVIEWCTRL must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:498:9: #error "wxUSE_DATEPICKCTRL must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:506:9: #error "wxUSE_DIRPICKERCTRL must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:514:9: #error "wxUSE_DISPLAY must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:522:9: #error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:530:9: #error "wxUSE_FILEDLG must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:538:9: #error "wxUSE_FILEPICKERCTRL must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:546:9: #error "wxUSE_FONTDLG must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:554:9: #error "wxUSE_FONTMAP must be defined."
    C:/wxWidgets-2.8.7/include/wx/chkconf.h:562:9: #error "wxUSE_FONTPICKERCTRL must be defined."
    Process terminated with status 1 (0 minutes, 14 seconds)
    52 errors, 0 warnings
    

    was mache ich falsch!? 😡


  • Mod

    wxWidgets findet offensichtlich die setup.h nicht.

    Dort wo der Buildprozess die Libraries abgelegt hat /%builddir%/lib/, müsstest du unter /%builddir%/* auch irgendwo eine setup.h finden.
    Dieses Verzeichnis musst du noch den Includeverzeichnissen deines Projektes hinzufügen.



  • mal noch eine Frage?

    Wo kann man deiese Datei für COde:Bloks neigtly runterladen??
    wxmsw28u_gcc_cb_wx286.7z

    das ist der einzige Link welchen ich gefunden habe und der funktioniert nicht!
    http://prdownload.berlios.de/codeblocks/wxmsw28u_gcc_cb_wx286.7z


  • Mod

    Schau unter www.codeblocks.org ins NIghtly Forum. Wenn Berlios down ist, wirst du warten müssen bis Berlios wieder da ist.
    Es gibt keine anderen Mirrors.


Anmelden zum Antworten