Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

cc_branch 6594 build faild: no intl library found

(1/5) > >>

ollydbg:
Hi, Morten and all.

I have just update the cc_branch to 6594 and build it under TDM 4.5.1-dw2
I found that when building exchndl, there is a build error: intl library is not found.

So, I have to download this library from:
http://gnuwin32.sourceforge.net/packages/libintl.htm

and copy the libintl.dll.a to TDM's lib folder, and copy libintl3.dll to some PATH folder.

Is it the suggested manner I should do?

thanks.

MortenMacFly:
It is as simple as follows (in fact I forgot to mention):

Download the following packages from the official MinGW site:
libintl-0.17-1-mingw32-dll-8.tar.lzma:
http://sourceforge.net/projects/mingw/files/MinGW/gettext/gettext-0.17-1/libintl-0.17-1-mingw32-dll-8.tar.lzma/download

gettext-0.17-1-mingw32-bin.tar.lzma:
http://sourceforge.net/projects/mingw/files/MinGW/gettext/gettext-0.17-1/gettext-0.17-1-mingw32-dev.tar.lzma/download

gettext-0.17-1-mingw32-dev.tar.lzma:
http://sourceforge.net/projects/mingw/files/MinGW/gettext/gettext-0.17-1/gettext-0.17-1-mingw32-bin.tar.lzma/download

...and put it into you regular GCC directory (TDM or alike). This will do it.

There is no need for another (self-compiled) dependency.

Alternatively you can also just deactivate the "exchndl" target (remove it from the virtual target named "All").

Loaden:
http://forums.codeblocks.org/index.php/topic,13310.msg89506/topicseen.html#msg89506
Static build!

ollydbg:
Thanks Loaden and Morten.

exchndl is used to report the crash dump and call stack information, so I think it is necessary.

Now, I prefer Loaden's method because it can avoid the other dependency dll files when distribute C::B.

ollydbg:

--- Quote from: MortenMacFly on September 15, 2010, 06:53:43 am ---It is as simple as follows (in fact I forgot to mention):

Download the following packages from the official MinGW site:
libintl-0.17-1-mingw32-dll-8.tar.lzma:
http://sourceforge.net/projects/mingw/files/MinGW/gettext/gettext-0.17-1/libintl-0.17-1-mingw32-dll-8.tar.lzma/download

gettext-0.17-1-mingw32-bin.tar.lzma:
http://sourceforge.net/projects/mingw/files/MinGW/gettext/gettext-0.17-1/gettext-0.17-1-mingw32-dev.tar.lzma/download

gettext-0.17-1-mingw32-dev.tar.lzma:
http://sourceforge.net/projects/mingw/files/MinGW/gettext/gettext-0.17-1/gettext-0.17-1-mingw32-bin.tar.lzma/download

...and put it into you regular GCC directory (TDM or alike). This will do it.

There is no need for another (self-compiled) dependency.

Alternatively you can also just deactivate the "exchndl" target (remove it from the virtual target named "All").

--- End quote ---

Hi, Morten, I guess you have forget some dll's.
I have just build the exchndl.dll.

I think in the package:  gettext-0.17-1-mingw32-dev.tar.lzma , there are the libs "libintl.a" and "libintl.dll.a", I guess by default, the linker will link to the "libintl.dll.a", so exchndl.dll is depend on the file "libintl-8.dll" from libintl-0.17-1-mingw32-dll-8.tar.lzma

I don't think we need "gettext-0.17-1-mingw32-bin.tar.lzma"

But, the "libintl-8.dll" is depend on the libiconv-2.dll which is from:
http://sourceforge.net/projects/mingw/files/MinGW/libiconv/libiconv-1.13.1-1/libiconv-1.13.1-1-mingw32-dll-2.tar.lzma/download

Am I right???

libiconv-1.13.1-1-mingw32-dll-2.tar

Navigation

[0] Message Index

[#] Next page

Go to full version