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

cc_branch 6594 build faild: no intl library found

<< < (2/5) > >>

MortenMacFly:

--- Quote from: ollydbg on September 15, 2010, 02:37:55 pm ---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

--- End quote ---
True. That one I had installed already a long time ago. You may use a tool called "dependency walker" to find out such things...

Notice that alternatively in SVN still, there is the exchndl DLL without these dependencies. However, if we want to build it ourselves (to match the compiler / framework we use) these dependencies will be an issue (but solvable, obviously).

ollydbg:

--- Quote from: MortenMacFly on September 15, 2010, 02:59:30 pm ---
--- Quote from: ollydbg on September 15, 2010, 02:37:55 pm ---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

--- End quote ---
True. That one I had installed already a long time ago. You may use a tool called "dependency walker" to find out such things...

--- End quote ---

Yes, I used "dependency walker" to find that the libintl-8.dll depend on "libiconv-2.dll".  :D

Pecan:

--- 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 ---

What can we use to extract these files?

Windows 7Zip 4.3 does not extract them, saying their unsupported.

UPDATE:

I finally found an 7za.exe ver 7.65 that would extract the tar file.
However, CodeBlocks is asking for -lintl while the file from the lzma is named libintl-8.dll

Could we get some correct instructins on how to solve this?

thanks
 

--- Code: ---mingw32-g++.exe -shared   -Wl,--dll -Lbase\tinyxml -LC:\Usr\Proj\wxWidgets2810\lib\gcc_dll -Lbase\exchndl\lib  .objs\base\exchndl\exchndl.o   -o devel\exchndl.dll -mthreads  -lwxmsw28u -lbfd -liberty -lintl
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../../mingw32/bin/ld.exe: cannot find -lintl
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings


--- End code ---

Loaden:

--- Quote from: Pecan on September 19, 2010, 02:59:55 pm ---What can we use to extract these files?
Windows 7Zip 4.3 does not extract them, saying their unsupported.

--- End quote ---
http://www.7-zip.org/

Pecan:
I believe I've follow the instructions provided by MortenMacFly, but I still get the -lintl not found error.

The mingw32 lib folder does *not* contain a libintil lib, but my c:\Usr\mingw431\bin\lib\ does.

Should I copy the gettext \bin\lib from the lzma file to the mingw32\lib instead?

thanks

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version