fatal error C1083: Cannot open include file: 'd2d1.h'

326 views
Skip to first unread message

zetah

unread,
May 7, 2012, 10:20:24 AM5/7/12
to scite-i...@googlegroups.com
I'm trying to compile current hg version of Scintilla on a XP SP3 PC with VS 2008 Pro and Windows SDK for VS 2008

I used suggested command:
  nmake -f scintilla.mak

which after a while prompted this error:
  fatal error C1083: Cannot open include file: 'd2d1.h'

What rerequirement am I missing?

zetah

unread,
May 7, 2012, 10:24:32 AM5/7/12
to scite-i...@googlegroups.com
I know it's D2D header: http://msdn.microsoft.com/en-us/library/windows/desktop/dd317121 but I hope I don't need to download additional xxx MB SDK, or?

Neil Hodgson

unread,
May 7, 2012, 7:10:18 PM5/7/12
to scite-i...@googlegroups.com
zetah:

> I know it's D2D header: http://msdn.microsoft.com/en-us/library/windows/desktop/dd317121 but I hope I don't need to download additional xxx MB SDK, or?

Direct2D and DirectWrite are recent so require a recent version of the Windows SDK or a recent version of Visual Studio which includes the SDK.

Neil

Reply all
Reply to author
Forward
0 new messages