[CMake] can't build CMake CVS

David Cole david.cole at kitware.com
Fri Feb 15 12:02:18 EST 2008

No. It could be a "free VC8 without the Windows SDK" issue, though.

Have you built anything else that would require linking in the Windows SDK

According to MSDN documentation for the _bstr_t class:


     *Header:* comutil.h

     *Lib:* comsuppw.lib or comsuppwd.lib (see /Zc:wchar_t (wchar_t Is
Native Type)<http://msdn2.microsoft.com/en-us/library/dh8che7s%28VS.80%29.aspx>for
more information)

_bstr_t should get linked in if the Windows SDK libs are reference-able by
your free VC8 install.


On 2/15/08, Brandon Van Every <bvanevery at gmail.com> wrote:
> On Fri, Feb 15, 2008 at 11:04 AM, David Cole <david.cole at kitware.com>
> wrote:
> > If you comment out (or remove) the line:
> >
> > #define HAVE_COMDEF_H
> >
> > ...from the top of CMake/Source/cmCallVisualStudioMacro.cxx, does the
> > problem go away?
> Yes, that cured it.  Is this a Vista-specific issue?
> Cheers,
> Brandon Van Every
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080215/6f6d904f/attachment.html

More information about the CMake mailing list