At 11.48 24/12/2006 -0800, David Bertoni wrote:
Matthew wrote:
Hi all,
This is my first posting, so apologies if this topic has been posted before;
I did search but didn't find anything specific to my problem.
I'm trying to build Xerces 2.7.0 without the depracated DOM's on WinXP
32-bit, using borland 5.5 C++ compiler; I've followed the instructions but I
get the following error:
...
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Error Version.rc 10 11: Cannot open file: winres.h
** error 20018 ** deleting
..\..\..\..\..\Build\Win32\BCC.551\obj\Version.res
** error 1 ** deleting XercesLib
C:\xerces-c-src_2_7_0\Projects\Win32\BCC.551\Xerces-all>
I suspect Borland's free compiler ship without the necessary Windows
header files to compile the resources. You'll need to remove the
resource files from the build, or get a version of the compiler that
has the Windows header files with it. This can be tricky, because
the error messages on Windows are loaded through the resource file,
so you'll need to change the preprocessor macro
XML_USE_WIN32_MSGLOADER to XML_USE_INMEM_MESSAGELOADER in the
XercesLib project.
Actually, the Borland build doesn't use the resource message loader,
so you can safely remove the .res from the makefile.
Alberto