Matteo Vega wrote:
Hi,
I am building the Xerces-C++ 2.8 library using the
VS2005 project files. My first question is where the
include files go. How can I create an include
directory with the built options that I've chosen?
There is no way with the IDE to build the include directories on
Windows. Instead, you need to put the base Xerces-C src directory in
the preprocessor options for the compiler in your project file. Take a
look at how the options are set in one of the sample projects.
My second question is, when I try to build my
application with the static (debug) library, I am
getting:
XmlParser.lib(Win32TransService.obj) : error LNK2019:
unresolved external symbol
[EMAIL PROTECTED] referenced in function "public:
__thiscall xercesc_2_8::Wi
n32TransService::Win32TransService(void)"
([EMAIL PROTECTED]@@QAE
@XZ)
link error. I've looked at the preprocessor options
and XML_USE_WIN32_TRANSCODER was defined there. Am I
missing anything?
You will need to link your application with the same set of Window
import libraries that the Xerces-C DLL does. Take a look at the link
options for the XercesLib target for more information.
Dave