Author Topic: Installation, Windows, wxwidgets and codeblocks  (Read 6363 times)

Offline ggpr

  • Multiple posting newcomer
  • *
  • Posts: 13
Installation, Windows, wxwidgets and codeblocks
« on: March 11, 2008, 09:38:37 pm »
Ive created a simple program on ubuntu using the wizard (I only changed a couple lines to have a different message etc...)
then trying to make sure it runs across windows as well I have another machine on the side I plan on compiling while I compile the ubuntu version to make sure everything will function smoothly.

I got ubuntu installed ok but the windows is giving me a bit of an issue.
I installed: codeblocks-8.02mingw-setup.exe
and installed: wxMSW-2.8.7-Setup.exe

other notes: using the basic wizards in windows codeblocks give the same errors. I tried a few things suggested in the forums but no luck (the only thing I have tried that I read, is compiling wxwidgets myself but I don't think that should be needed)

I pointed codeblocks to the wxwidgets directory and this is what I get when I try compiling a simple program:


TRYING WITH SETING LINKS ETC (there is no setup.h where its looking, but the other files are there)
C:\wxWidgets-2.8.7\include\wx\platform.h|196|wx/setup.h: No such file or directory|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|103|#error "wxUSE_DYNLIB_CLASS must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|111|#error "wxUSE_EXCEPTIONS must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|119|#error "wxUSE_FILESYSTEM must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|127|#error "wxUSE_FS_ARCHIVE must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|140|#error "wxUSE_DYNAMIC_LOADER must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|148|#error "wxUSE_LOG must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|156|#error "wxUSE_LONGLONG must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|164|#error "wxUSE_MIMETYPE must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|180|#error "wxUSE_PRINTF_POS_PARAMS must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|188|#error "wxUSE_PROTOCOL must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|230|#error "wxUSE_REGEX must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|238|#error "wxUSE_STDPATHS must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|246|#error "wxUSE_XML must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|254|#error "wxUSE_SOCKETS must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|262|#error "wxUSE_STREAMS must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|270|#error "wxUSE_STOPWATCH must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|278|#error "wxUSE_TEXTBUFFER must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|286|#error "wxUSE_TEXTFILE must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|302|#error "wxUSE_URL must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|310|#error "wxUSE_VARIANT must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|330|#error "wxUSE_ABOUTDLG must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|338|#error "wxUSE_ACCEL must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|346|#error "wxUSE_ANIMATIONCTRL must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|354|#error "wxUSE_BITMAPCOMBOBOX must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|362|#error "wxUSE_BMPBUTTON must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|370|#error "wxUSE_BUTTON must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|378|#error "wxUSE_CALENDARCTRL must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|386|#error "wxUSE_CARET must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|394|#error "wxUSE_CHECKBOX must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|410|#error "wxUSE_CHOICE must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|418|#error "wxUSE_CHOICEBOOK must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|426|#error "wxUSE_CHOICEDLG must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|434|#error "wxUSE_CLIPBOARD must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|442|#error "wxUSE_COLLPANE must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|450|#error "wxUSE_COLOURDLG must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|458|#error "wxUSE_COLOURPICKERCTRL must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|466|#error "wxUSE_COMBOBOX must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|474|#error "wxUSE_COMBOCTRL must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|482|#error "wxUSE_DATAOBJ must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|490|#error "wxUSE_DATAVIEWCTRL must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|498|#error "wxUSE_DATEPICKCTRL must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|506|#error "wxUSE_DIRPICKERCTRL must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|514|#error "wxUSE_DISPLAY must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|522|#error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|530|#error "wxUSE_FILEDLG must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|538|#error "wxUSE_FILEPICKERCTRL must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|546|#error "wxUSE_FONTDLG must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|554|#error "wxUSE_FONTMAP must be defined."|
C:\wxWidgets-2.8.7\include\wx\chkconf.h|562|#error "wxUSE_FONTPICKERCTRL must be defined."|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 0 warnings ===|



WITH SETUP.h found in another directory in wxwidgets:

C:\wxWidgets-2.8.7\include\wx\cursor.h||In constructor `wxBusyCursorSuspender::wxBusyCursorSuspender()':|
C:\wxWidgets-2.8.7\include\wx\cursor.h|65|error: `wxIsBusy' was not declared in this scope|
C:\wxWidgets-2.8.7\include\wx\cursor.h|67|error: `wxBusyCursor' has not been declared|
C:\wxWidgets-2.8.7\include\wx\cursor.h|67|error: `GetStoredCursor' was not declared in this scope|
C:\wxWidgets-2.8.7\include\wx\cursor.h|67|warning: unused variable 'GetStoredCursor'|
C:\wxWidgets-2.8.7\include\wx\cursor.h|65|warning: unused variable 'wxIsBusy'|
C:\wxWidgets-2.8.7\include\wx\cursor.h||In destructor `wxBusyCursorSuspender::~wxBusyCursorSuspender()':|
C:\wxWidgets-2.8.7\include\wx\cursor.h|72|error: `wxIsBusy' was not declared in this scope|
C:\wxWidgets-2.8.7\include\wx\cursor.h|74|error: `wxBusyCursor' has not been declared|
C:\wxWidgets-2.8.7\include\wx\cursor.h|74|error: `GetBusyCursor' was not declared in this scope|
C:\wxWidgets-2.8.7\include\wx\cursor.h|74|warning: unused variable 'GetBusyCursor'|
C:\wxWidgets-2.8.7\include\wx\cursor.h|72|warning: unused variable 'wxIsBusy'|
C:\wxWidgets-2.8.7\include\wx\msw\region.h||In constructor `wxRegion::wxRegion(const wxBitmap&, const wxColour&, int)':|
C:\wxWidgets-2.8.7\include\wx\msw\region.h|31|error: no matching function for call to `wxRegion::Union(const wxBitmap&, const wxColour&, int&)'|
C:\wxWidgets-2.8.7\include\wx\region.h|128|note: candidates are: bool wxRegionBase::Union(wxCoord, wxCoord, wxCoord, wxCoord)|
C:\wxWidgets-2.8.7\include\wx\region.h|130|note:                 bool wxRegionBase::Union(const wxRect&)|
C:\wxWidgets-2.8.7\include\wx\region.h|132|note:                 bool wxRegionBase::Union(const wxRegion&)|
C:\wxWidgets-2.8.7\include\wx\window.h|907|error: `wxUpdateUIEvent' has not been declared|
C:\wxWidgets-2.8.7\include\wx\window.h|907|error: ISO C++ forbids declaration of `event' with no type|
C:\wxWidgets-2.8.7\include\wx\window.h|1088|error: `wxSysColourChangedEvent' has not been declared|
C:\wxWidgets-2.8.7\include\wx\window.h|1088|error: ISO C++ forbids declaration of `event' with no type|
C:\wxWidgets-2.8.7\include\wx\window.h|1089|error: `wxInitDialogEvent' has not been declared|
C:\wxWidgets-2.8.7\include\wx\window.h|1089|error: ISO C++ forbids declaration of `event' with no type|
C:\wxWidgets-2.8.7\include\wx\window.h|1090|error: `wxMouseEvent' has not been declared|
C:\wxWidgets-2.8.7\include\wx\window.h|1090|error: ISO C++ forbids declaration of `event' with no type|
C:\wxWidgets-2.8.7\include\wx\window.h|556|error: `wxNavigationKeyEvent' has not been declared|
C:\wxWidgets-2.8.7\include\wx\window.h|556|error: `IsForward' was not declared in this scope|
C:\wxWidgets-2.8.7\include\wx\msw\window.h|173|error: `wxPaintEvent' has not been declared|
C:\wxWidgets-2.8.7\include\wx\msw\window.h|173|error: ISO C++ forbids declaration of `event' with no type|
C:\wxWidgets-2.8.7\include\wx\msw\window.h|174|error: `wxEraseEvent' has not been declared|
C:\wxWidgets-2.8.7\include\wx\msw\window.h|174|error: ISO C++ forbids declaration of `event' with no type|
C:\wxWidgets-2.8.7\include\wx\msw\window.h|421|error: `wxSysColourChangedEvent' has not been declared|
C:\wxWidgets-2.8.7\include\wx\msw\window.h|421|error: ISO C++ forbids declaration of `event' with no type|
C:\wxWidgets-2.8.7\include\wx\msw\window.h|424|error: `wxMouseEvent' has not been declared|
C:\wxWidgets-2.8.7\include\wx\msw\window.h|424|error: ISO C++ forbids declaration of `event' with no type|
C:\wxWidgets-2.8.7\include\wx\msw\window.h|498|error: `wxKeyEvent' does not name a type|
C:\wxWidgets-2.8.7\include\wx\toplevel.h|238|error: `wxCloseEvent' has not been declared|
C:\wxWidgets-2.8.7\include\wx\toplevel.h|238|error: ISO C++ forbids declaration of `event' with no type|
C:\wxWidgets-2.8.7\include\wx\toplevel.h|239|error: `wxSizeEvent' has not been declared|
C:\wxWidgets-2.8.7\include\wx\toplevel.h|239|error: ISO C++ forbids declaration of `parameter' with no type|
C:\wxWidgets-2.8.7\include\wx\toplevel.h|246|error: `wxActivateEvent' has not been declared|
C:\wxWidgets-2.8.7\include\wx\toplevel.h|246|error: ISO C++ forbids declaration of `parameter' with no type|
C:\wxWidgets-2.8.7\include\wx\toplevel.h|249|error: `wxUpdateUIEvent' has not been declared|
C:\wxWidgets-2.8.7\include\wx\toplevel.h|249|error: ISO C++ forbids declaration of `event' with no type|
C:\wxWidgets-2.8.7\include\wx\msw\toplevel.h|84|error: `wxActivateEvent' has not been declared|
C:\wxWidgets-2.8.7\include\wx\msw\toplevel.h|84|error: ISO C++ forbids declaration of `event' with no type|
C:\wxWidgets-2.8.7\include\wx\msw\frame.h|51|error: `wxSysColourChangedEvent' has not been declared|
C:\wxWidgets-2.8.7\include\wx\msw\frame.h|51|error: ISO C++ forbids declaration of `event' with no type|
D:\tmp\e\eMain.h|29|error: `wxCommandEvent' has not been declared|
D:\tmp\e\eMain.h|29|error: ISO C++ forbids declaration of `event' with no type|
D:\tmp\e\eMain.h|30|error: `wxCommandEvent' has not been declared|
D:\tmp\e\eMain.h|30|error: ISO C++ forbids declaration of `event' with no type|
D:\tmp\e\eMain.cpp|45|error: `wxNewId' was not declared in this scope|
D:\tmp\e\eMain.cpp|46|error: `wxNewId' was not declared in this scope|
D:\tmp\e\eMain.cpp|47|error: `wxNewId' was not declared in this scope|
D:\tmp\e\eMain.cpp||In constructor `eFrame::eFrame(wxWindow*, wxWindowID)':|
D:\tmp\e\eMain.cpp|58|error: `wxMenuItem' was not declared in this scope|
D:\tmp\e\eMain.cpp|58|error: `MenuItem2' was not declared in this scope|
D:\tmp\e\eMain.cpp|59|error: `MenuItem1' was not declared in this scope|
D:\tmp\e\eMain.cpp|60|error: `wxMenu' was not declared in this scope|
D:\tmp\e\eMain.cpp|60|error: `Menu1' was not declared in this scope|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 4 warnings ===|

Offline Seronis

  • Almost regular
  • **
  • Posts: 197
Re: Installation, Windows, wxwidgets and codeblocks
« Reply #1 on: March 11, 2008, 11:02:49 pm »
Yes you need to compile wxMSW yourself.

Offline RJP Computing

  • Almost regular
  • **
  • Posts: 135
    • RJP Computing
Re: Installation, Windows, wxwidgets and codeblocks
« Reply #2 on: March 11, 2008, 11:22:46 pm »
You can use wxPack.
- Ryan

Ubuntu/WinXP, AMD Athlon 64 3000+, 1000MB RAM, AC 97 Audio, ATI Radeon 9600XT 256MB

Offline Seronis

  • Almost regular
  • **
  • Posts: 197
Re: Installation, Windows, wxwidgets and codeblocks
« Reply #3 on: March 11, 2008, 11:29:48 pm »
You can use wxPack.

I wasnt aware of that resource.  TY for the link.

Offline ggpr

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: Installation, Windows, wxwidgets and codeblocks
« Reply #4 on: March 12, 2008, 08:38:17 am »
I tried the wxpack and the response below is for a new project with frame. nothing else.
side note, the wxpack is using 3.85gb...isn't that alot for some header files etc...?

I get different errors now. I have no idea why its trying to goto my d drive.  there is no d:\devel directory.

C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib\libwxmsw28d_core.a(corelib_imagjpeg.o)||In function `_Z14wx_jpeg_io_srcP22jpeg_decompress_structR13wxInputStream':|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|205|undefined reference to `_jpeg_resync_to_restart'|
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib\libwxmsw28d_core.a(corelib_imagjpeg.o)||In function `_ZN13wxJPEGHandler8LoadFileEP7wxImageR13wxInputStreambi':|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|238|undefined reference to `_jpeg_std_error'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|252|undefined reference to `_jpeg_destroy_decompress'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|257|undefined reference to `_jpeg_CreateDecompress'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|259|undefined reference to `_jpeg_read_header'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|273|undefined reference to `_jpeg_start_decompress'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|277|undefined reference to `_jpeg_finish_decompress'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|278|undefined reference to `_jpeg_destroy_decompress'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|290|undefined reference to `_jpeg_read_scanlines'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|308|undefined reference to `_jpeg_finish_decompress'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|309|undefined reference to `_jpeg_destroy_decompress'|
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib\libwxmsw28d_core.a(corelib_imagjpeg.o)||In function `_ZN13wxJPEGHandler8SaveFileEP7wxImageR14wxOutputStreamb':|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|380|undefined reference to `_jpeg_std_error'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|394|undefined reference to `_jpeg_destroy_compress'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|398|undefined reference to `_jpeg_CreateCompress'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|405|undefined reference to `_jpeg_set_defaults'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|414|undefined reference to `_jpeg_set_quality'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|450|undefined reference to `_jpeg_start_compress'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|456|undefined reference to `_jpeg_write_scanlines'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|458|undefined reference to `_jpeg_finish_compress'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagjpeg.cpp|459|undefined reference to `_jpeg_destroy_compress'|
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib\libwxmsw28d_core.a(corelib_imagtiff.o)||In function `_Z10TIFFwxOpenR13wxInputStreamPKcS2_':|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|209|undefined reference to `_TIFFClientOpen'|
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib\libwxmsw28d_core.a(corelib_imagtiff.o)||In function `_Z10TIFFwxOpenR14wxOutputStreamPKcS2_':|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|221|undefined reference to `_TIFFClientOpen'|
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib\libwxmsw28d_core.a(corelib_imagtiff.o)||In function `_ZN13wxTIFFHandlerC2Ev':|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|232|undefined reference to `_TIFFSetWarningHandler'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|233|undefined reference to `_TIFFSetErrorHandler'|
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib\libwxmsw28d_core.a(corelib_imagtiff.o)||In function `_ZN13wxTIFFHandlerC1Ev':|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|232|undefined reference to `_TIFFSetWarningHandler'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|233|undefined reference to `_TIFFSetErrorHandler'|
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib\libwxmsw28d_core.a(corelib_imagtiff.o)||In function `_ZN13wxTIFFHandler8LoadFileEP7wxImageR13wxInputStreambi':|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|253|undefined reference to `_TIFFSetDirectory'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|258|undefined reference to `_TIFFClose'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|267|undefined reference to `_TIFFGetField'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|268|undefined reference to `_TIFFGetField'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|272|undefined reference to `_TIFFGetFieldDefaulted'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|280|undefined reference to `__TIFFmalloc'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|287|undefined reference to `_TIFFClose'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|298|undefined reference to `__TIFFfree'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|299|undefined reference to `_TIFFClose'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|307|undefined reference to `_TIFFReadRGBAImage'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|312|undefined reference to `__TIFFfree'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|314|undefined reference to `_TIFFClose'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|347|undefined reference to `__TIFFfree'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|349|undefined reference to `_TIFFClose'|
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib\libwxmsw28d_core.a(corelib_imagtiff.o)||In function `_ZN13wxTIFFHandler13GetImageCountER13wxInputStream':|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|364|undefined reference to `_TIFFReadDirectory'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|366|undefined reference to `_TIFFClose'|
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib\libwxmsw28d_core.a(corelib_imagtiff.o)||In function `_ZN13wxTIFFHandler8SaveFileEP7wxImageR14wxOutputStreamb':|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|383|undefined reference to `_TIFFSetField'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|384|undefined reference to `_TIFFSetField'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|385|undefined reference to `_TIFFSetField'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|386|undefined reference to `_TIFFSetField'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|387|undefined reference to `_TIFFSetField'|
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib\libwxmsw28d_core.a(corelib_imagtiff.o):D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|392|more undefined references to `_TIFFSetField' follow|
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib\libwxmsw28d_core.a(corelib_imagtiff.o)||In function `_ZN13wxTIFFHandler8SaveFileEP7wxImageR14wxOutputStreamb':|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|430|undefined reference to `_TIFFScanlineSize'|
D:\devel\libraries\wxWidgets2.8.7\build\msw\..\..\src\common\imagtiff.cpp|432|undefined reference to `_TIFFScanlineSize'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 0 warnings ===|

Offline ggpr

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: Installation, Windows, wxwidgets and codeblocks
« Reply #5 on: March 12, 2008, 09:09:52 am »
nm, I got it going.  Under windows you have to select the library's to use as the final step of the wizard (I thought they were extras)

Thank you all for your help

Peter Laman

  • Guest
Re: Installation, Windows, wxwidgets and codeblocks
« Reply #6 on: April 17, 2008, 01:48:03 pm »
nm, I got it going.  Under windows you have to select the library's to use as the final step of the wizard (I thought they were extras)

Thank you all for your help
I have the same problem and I am completely new to both wxWidgets and Codeblocks. Could you please indicate what library I have to specify and where?

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Installation, Windows, wxwidgets and codeblocks
« Reply #7 on: April 17, 2008, 10:04:45 pm »
I recommend you read the wxWindowsQuickRef.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)