#1519 Compiler error Scintilla 3.3.4 with gcc 4.7.2: missing

Bug
closed-fixed
Neil Hodgson
2
2013-08-31
2013-08-27
peterme
No

Trying to compile the SciLexer from Scintilla 3.3.4 using the recent MinGW
as just (26.08.) downloaded from mingw.org = gcc 4.7.2: compiling errors out.
OS is WinXP or Win7.

Problem is the missing d2d1.h included from ScintillaWin.cxx and Platwin.cxx: sample:
include -I ../src -I../lexlib -fno-rtti -c ScintillaWin.cxx
ScintillaWin.cxx:35:18: fatal error: d2d1.h: No such file or directory

Discussion

  • Neil Hodgson
    Neil Hodgson
    2013-08-27

    • labels: --> scintilla, mingw
    • status: open --> open-fixed
    • assigned_to: Neil Hodgson
     
  • Neil Hodgson
    Neil Hodgson
    2013-08-27

    This will be fixed in the next release by disabling Direct2D when compiling with MinGW. You can apply the same patch [996c0c] to 3.3.4 to make it build.

     

    Related

    Commit: [996c0c]

  • peterme
    peterme
    2013-08-27

    Wow -what a quick response :-)
    Verified and ok :-)

     
  • Neil Hodgson
    Neil Hodgson
    2013-08-31

    • status: open-fixed --> closed-fixed