User forums > General (but related to Code::Blocks)

TDM-GCC 4.5 series (Latest: 4.5.2 - 2011-03-27)

<< < (21/23) > >>

MortenMacFly:
One annoyance I found...

If you install the packages selectively (skipping ADA and Object C) then when you try to compile something you get the error (freely translated from German):
---------------------------
as.exe - Component not found
---------------------------
Application could not be started as libintl-8.dll could not be found. A re-installation of the application may resolve this issue.
---------------------------
OK   
---------------------------

Which is the right pre-requisite you would recommend to install (unpack)? From MinGW.org?

ptDev:

--- Quote from: MortenMacFly on March 28, 2011, 12:11:19 pm ---One annoyance I found...

If you install the packages selectively (skipping ADA and Object C) then when you try to compile something you get the error (freely translated from German):
---------------------------
as.exe - Component not found
---------------------------
Application could not be started as libintl-8.dll could not be found. A re-installation of the application may resolve this issue.
---------------------------
OK   
---------------------------

Which is the right pre-requisite you would recommend to install (unpack)? From MinGW.org?

--- End quote ---

This happened to me before as well. I could fix it with this package from mingw.org.

TDragon:
Ugh... apparently since MinGW's binutils is now being compiled with NLS (native language support), it's introduced a libintl dependency on non-EN-US systems that I can't reproduce.

You want libintl-0.17-1-mingw32-dll-8.tar.lzma, from the gettext package. You'll get it automatically in the installer if you choose the mingw32-make package; I'll make it a prereq on the binutils package as well, shortly. Please also let me know if there is a dependency on the libiconv DLL (libiconv-1.13.1-1-mingw32-dll-2.tar.lzma).

byuu:
I seem to recall seeing some noise on a mailing list about a patch for GCC's gthreads code to let this work. Unfortunately that didn't make it into this release. My only alternative would be to support it with pthreads, but that would mean either forcing pthreads-w32 and the GPL license on every C++ user (definitely not going to happen), or creating yet another alternate distribution (probably not going to happen).

MortenMacFly:

--- Quote from: TDragon on March 28, 2011, 02:48:03 pm ---libintl-0.17-1-mingw32-dll-8.tar.lzma

--- End quote ---
That did it. I was guessing that's the one needed, now I am sure. Thanks! :D


--- Quote from: TDragon on March 28, 2011, 02:48:03 pm ---libiconv-1.13.1-1-mingw32-dll-2.tar.lzma

--- End quote ---
Nope, that seems not to be needed, compiling large project seems to work now.

BTW: These packages:

* gettext-0.17-1-mingw32-bin.tar.lzma
* gettext-0.17-1-mingw32-dev.tar.lzma
* libexpat-2.0.1-1-mingw32-dll-1.tar.gz
* libexpat-2.0.1-1-mingw32-dev.tar.gz
* libintl-0.17-1-mingw32-dll-8.tar.lzma...and probably even those:

* libcharset-1.13.1-1-mingw32-dll-1.tar.lzma
* libiconv-1.13.1-1-mingw32-bin.tar.lzma
* libiconv-1.13.1-1-mingw32-dev.tar.lzma
* libiconv-1.13.1-1-mingw32-dll-2.tar.lzma...are usually wise to install in addition to avoid common compilation errors with third party libraries (missing dependencies etc...). As you have links/dependencies on none-self-built libraries anyway, I could imagine adding these as an info/option for convenience on the webpage would help some people.

Xaviou:
Hi

--- Quote from: TDragon on March 28, 2011, 04:51:07 am ---TDM-GCC 4.5.2 is now available!

--- End quote ---
Thank you very much for this, TDragon.


Can you confirm that 32-bits libs build with the 32/64-bits edition are compatibles with the 32-bits only edition ?


--- Quote from: TDragon on March 28, 2011, 04:51:07 am ---As always, I've tested it on wxWidgets (2.8.11)
--- End quote ---
I've tried with the 2.8.12, and encountered problems :

* Installed the 32/64 bits edition
* Patched the wxWidgets's gcc makefiles (added $(RCFLAGS) to all windres commands)
* Launched the compilation with the following command-line :
mingw32-make.exe -f makefile.gcc LDFLAGS="-m32" CPPFLAGS="-m32" RCFLAGS="-F pe-i386" BUILD=xxxx UNICODE=x MONOLITHIC=x SHARED=x USE_OPENGL=1 USE_ODBC=1 USE_QA=1The compilation fails if UNICODE=0 (tried Debug/Release, Static/Shared, Multi-lib/Monolithic).
All the 8 configurations with UNICODE=0 give the same error :

--- Quote from: compiler ---../../src/common/filefn.cpp: In function 'bool wxMkdir(const wxString&, int)':
../../src/common/filefn.cpp:1253:30: error: '_mkdir' was not declared in this scope
../../src/common/filefn.cpp: In function 'bool wxRmdir(const wxString&, int)':
../../src/common/filefn.cpp:1278:37: error: '_rmdir' was not declared in this scope
../../src/common/filefn.cpp:1280:1: warning: control reaches end of non-void function
mingw32-make.exe: *** [gcc_mswddll\monodll_filefn.o] Error 1
--- End quote ---

If UNICODE=1, all works fine.

Is there something I missed, or is this confirmed ?

Thank-you in advance.

Regards

Xav'

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version