On 9/10/07, David Bertoni <[EMAIL PROTECTED]> wrote: > Matt Hortman wrote: > > Hello, > > > > I'm trying to get starting using Xalan under VC8.0. I checked out the > > latest SVN and tried to build the AllInOne project in the solution > > Xalan.sln. The build errors indicate a couple of missing header > > files: > > > > LocalMsgData.hpp not found building XalanMsgLib.cpp > > LocalMsgIndex.hpp not found building XalanMessageLoader.hpp > Those are generated by running MsgCreator with the message file to generate > the message data and message IDs. > > The usual reason this fails is because the Xerces-C DLL is needed to run > MsgCreator, and it's not in the path. Take a look at the configuration > instructions -- they are quite detailed: > > http://xml.apache.org/xalan-c/build_instruct.html#dotNet > > You can also just copy the appropriate Xerces-C DLL into the build directory.
Thanks. That did the trick. Sorry for such a rookie mistake. I'm just getting used to building open-source projects on windows (I've been developing on FreeBSD for years but writing Windows code is paying the bills now). Part of the problem is that VS didn't tell me that there was a failure running the XLF rule on XalanMsgLib. Looking in BuildLog.htm, it tells me that "A tool returned an error code" but it still didn't say anything about a missing DLL.... To avoid a manual step (and adding to the already polluted windows path), I added a Post-Build Event to the MsgCreator project that copies the Xerces DLLs: copy $(XERCESCROOT)\Build\Win32\VC8\$(ConfigurationName)\*.dll $(OutDir) Thanks again, -Matt --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]