You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Joshua Margulis <jm...@macromedia.com> on 2005/05/24 03:24:33 UTC

ICUMsgLoader.cpp and Visual C++

Hello,

I have been able to successfully build Xerces with Visual C++ 7 without
ICU enabled.  Now that I am trying to enable it, I'm getting the
following link error:

Compiling...
ICUMsgLoader.cpp
Linking...
ICUMsgLoader.obj : error LNK2001: unresolved external symbol
__imp__XercesMessages2_6_0_dat
..\..\..\..\..\Build\Win32\VC7\Debug\xerces-c_2_6D.dll : fatal error
LNK1120: 1 unresolved externals

I was wondering if anyone has suggestions for fixing this link error.
The string "XercesMessages2_6_0_dat" seems to only appear in
ICUMsgLoader.cpp.

Thanks for any help you can provide,
Josh Margulis
Macromedia Software Engineer

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Re: ICUMsgLoader.cpp and Visual C++

Posted by da...@us.ibm.com.
> I was wondering if anyone has suggestions for fixing this link error.
> The string "XercesMessages2_6_0_dat" seems to only appear in
> ICUMsgLoader.cpp.

That symbol will be built into the message library if you built it 
properly.  You can use the Perl script packageBinaries.pl in the scripts 
directory, which requires the Cygwin environment, by supplying the 
necessary option.  I don't know how you can build using the ICU as a 
messaging system unless you use this script.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org