You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by mps <mi...@spertus.com> on 2008/10/31 03:52:31 UTC
Problem building Xerces
When I use the Visual C++ 8 xerces-all Solution debug configuration, building
the xerces-lib configuation gives me the following error, repeated many
times:
c:\xerces-c-3.0.0\src\xercesc/util/Xerces_autoconf_config.hpp(83) : fatal
error C1083: Cannot open include file: 'inttypes.h': No such file or
directory
Interestingly, the "Static Debug" configuration builds just fine.
Any idea what's going on?
Thanks,
Mike
--
View this message in context: http://www.nabble.com/Problem-building-Xerces-tp20259383p20259383.html
Sent from the Xerces - C - Dev mailing list archive at Nabble.com.
Re: Problem building Xerces
Posted by Boris Kolpackov <bo...@codesynthesis.com>.
Hi Mike,
mps <mi...@spertus.com> writes:
> Should I create an issue about this so the build harness could do
> something like putting Xerces_autoconf_config.hpp in a platform-
> specific directory?
You can definitely do that though I personally feel that this problem
is not worth the effort that will be need to properly fix it. If you
think about it, we will also need to do the same for different
compilers (e.g., g++ and Sun CC on Solaris). As you can see this gets
hairy rather quickly. It is simpler and more reliable to require the
user to do proper cleanup (or use the original source tree) when
building for a different platform/compiler. For automake that would
be 'make distclean'.
Boris
--
Boris Kolpackov, Code Synthesis Tools http://codesynthesis.com/~boris/blog
Open source XML data binding for C++: http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
Re: Problem building Xerces
Posted by mps <mi...@spertus.com>.
Hi Boris,
Thanks very much! I had been building Cygwin, and that was exactly the
problem! Cleaning the project solved the problem. Should I create an issue
about this so the build harness could do something like putting
Xerces_autoconf_config.hpp in a platform-specific directory?
Thanks again,
Mike
Boris Kolpackov-2 wrote:
>
> Hi Mike,
>
> mps <mi...@spertus.com> writes:
>
>> When I use the Visual C++ 8 xerces-all Solution debug configuration,
>> building
>> the xerces-lib configuation gives me the following error, repeated many
>> times:
>>
>> c:\xerces-c-3.0.0\src\xercesc/util/Xerces_autoconf_config.hpp(83) : fatal
>> error C1083: Cannot open include file: 'inttypes.h': No such file or
>> directory
>>
>> Interestingly, the "Static Debug" configuration builds just fine.
>
> I think you had autoconf-generated Xerces_autoconf_config.hpp laying
> around. Maybe you built a Cygwin version of Xerces-C++ before that?
> Because this file if newer than Xerces_autoconf_config.msvc.hpp,
> VC++ didn't overwrite it. Before you tried to build Static Debug,
> you probably cleaned up the solution which also deleted the bad
> Xerces_autoconf_config.hpp file and on the next try VC++ copied
> the correct one over.
>
> Can you try to build Debug DLL using a freshly unpacked source
> code tree from xerces-c-3.0.0.zip?
>
> Boris
>
> --
> Boris Kolpackov, Code Synthesis Tools
> http://codesynthesis.com/~boris/blog
> Open source XML data binding for C++:
> http://codesynthesis.com/products/xsd
> Mobile/embedded validating XML parsing:
> http://codesynthesis.com/products/xsde
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
> For additional commands, e-mail: c-dev-help@xerces.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Problem-building-Xerces-tp20259383p20266636.html
Sent from the Xerces - C - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
Re: Problem building Xerces
Posted by Boris Kolpackov <bo...@codesynthesis.com>.
Hi Mike,
mps <mi...@spertus.com> writes:
> When I use the Visual C++ 8 xerces-all Solution debug configuration, building
> the xerces-lib configuation gives me the following error, repeated many
> times:
>
> c:\xerces-c-3.0.0\src\xercesc/util/Xerces_autoconf_config.hpp(83) : fatal
> error C1083: Cannot open include file: 'inttypes.h': No such file or
> directory
>
> Interestingly, the "Static Debug" configuration builds just fine.
I think you had autoconf-generated Xerces_autoconf_config.hpp laying
around. Maybe you built a Cygwin version of Xerces-C++ before that?
Because this file if newer than Xerces_autoconf_config.msvc.hpp,
VC++ didn't overwrite it. Before you tried to build Static Debug,
you probably cleaned up the solution which also deleted the bad
Xerces_autoconf_config.hpp file and on the next try VC++ copied
the correct one over.
Can you try to build Debug DLL using a freshly unpacked source
code tree from xerces-c-3.0.0.zip?
Boris
--
Boris Kolpackov, Code Synthesis Tools http://codesynthesis.com/~boris/blog
Open source XML data binding for C++: http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org