Saurabh, I did copy all the include header files under my application and set the various sub project properties correct (at least I believe so), and as I said in my previous messaage, I can actually compile most of my cpp files. Only for some of them, I got the errors. I suspect I did not use things like XERCES_CPP_NAMESPACE_USE,XERCES_CPP_NAMESPACE_QUALIFIER et cetera correctly in come cases.
Thanks for your reply though. Frank >Hi >Guess, >You need to copy the "include" folder under xerces to your application or >add it's \ >path to your project. This folder contains wuite a few generated headers >(*.hpp) etc. >warm regards >Saurabh > ----- Original Message ----- > From: Xiaofan Zhou > To: [email protected] > Sent: Monday, November 21, 2005 2:16 AM > Subject: compilation errors in my application using Xerces-c > > > Hi, All, > > I am having issues compile my application in which I use Xerces-c >package. Here is \ >what I do: > First, my environment is Microsoft Visual C++ version 7.1. > I first build the Xerces-c project (version 2.7) together with ICU >(version 2.8) \ >using the build script packageBinaries.pl in my windows command line, I >used the \ >command: > > perl packageBinaries.pl -s c:\xerces-c-src2_7_0 -o c:\temp\xerces->c2_7_0-win32 -t \ >icu -x VC7.1 > Everything seems fine and I got the dlls and library files created. > I then copied the dlls and libraries (xerces-c_2_7.dll, xerces->c_2_7D.dll, \ >xerces-c_2.lib, xerces-c_2D.lib, icuuc.lib, icuucd.lib) to my application >lib fold. > Now, in my Visual C++ solution (my application), I changed the >properties in the \ >various projects like Additional Include Directories to include the path >to the \ >Xerces include files if the project uses the Xerces-c functionalities. > Now I try to compile individul source files one by one. It seems that I >can compile \ >most of my c++ files fine, but I found that in order for these files to >be compiled, \ >I have to put XERCES_CPP_NAMESPACE_USE in some of the header files, and >sometimes I \ >have to use XERCES_CPP_NAMESPACE_QUALIFIER for some variables. > And even so, I still can not compile some of the files. Here are two of >compilation \ >errors: > (1) x:\inc\options\options.h(13): fatal error C1083: Cannot open include > > file: 'dom/DOM.hpp': No such file or directory > (2) c:\Program Files\Microsoft Visual Studio .NET > 2003\Vc7\PlatformSDK\Include\MsXml.h(9594): fatal error C1001: INTERNAL >COMPILER ERROR > (compiler file 'msc1.cpp', line 2701) > Please choose the Technical Support command on the Visual C++ > Help menu, or open the Technical Support help file for more information > ========== > Can anyone gives me some advices on this? > Thanks much in advance. __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
