[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

GNU GetText without iconv

From: Leon Zandman <lzandman_at_lode.nl>
Date: 2005-11-24 12:11:19 CET

Hi,

This is a slightly off-topic question, but I hope someone (Stefan?) can
help me.

I noticed TSVN uses GNU GetText for multi-language support. I want to
include GetText in my own applications, so I'm messing around with it a
little bit.

I noticed that the specific library file that is used by TSVN,
"intl3_svn.dll", included in the "ext/svn-win32-libintl" directory is a
custom built version of GetText's "intl.dll" that has been built without
a dependency on GNU's iconv library. Can anybody tell me why? Is it
because is doesn't need to convert anything, because all language files
are UTF-8?

If TSVN can use GetText without a dependency on iconv I'd like to remove
that dependency from my own applications too. But until now I haven't
been able to build a version of GetText without it. The file
"diff-0.14.1.txt" listst the changes that should be made to the GetText
sources and I have (manually) applied these changes to them (and I'm
sure I've done it right). But when I build it, I get "unresolved
external" linker errors:

   Creating library intl.lib and object intl.exp
loadmsgcat.obj : error LNK2001: unresolved external symbol
__imp__libiconv_open
loadmsgcat.obj : error LNK2001: unresolved external symbol
__imp__libiconv_close

dcigettext.obj : error LNK2001: unresolved external symbol
__imp__libiconv
intl.dll : fatal error LNK1120: 3 unresolved externals

Does anybody know how to fix it?

Groeten,

Leon Zandman

Lode B.V.
Zernikepark 16, 9747 AN Groningen
The Netherlands
Tel: +31 50 5712811
Fax: +31 50 5716746
Email: lzandman@lode.nl
Web: www.lode.nl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Nov 24 12:12:40 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.