[Expat-discuss] Newbie Building Expat on Win32

Karl Waclawek karl at waclawek.net
Fri Mar 21 09:24:54 EST 2003


> I have successfully used expat on a unix development, and now am trying to
> port my code to a Windows platform. However, I'm having major problems
> getting expat to build. On Unix I just included the source files with my own
> to build a static library. Attempting to do the same thing on Windows
> (having downloaded the win32 expat 1.95.6 source) doesn't work.
> 
> The actual Visual C++ expat project/workspace all builds fine, but when I
> pick up the source and add it to my own project, I'm getting problems where
> the code attempts to reference 'expat_config.h', which I can't find amongst
> the downloaded files. I can't find any reference to it in the documentation
> supplied either.
> 
> What am I doing wrong?! Please help!

Try to define COMPILED_FROM_DSP. If it still doesn't work, check
the sample projects (DSP files for MS VC++) for their settings.

Karl



More information about the Expat-discuss mailing list