Windows build failure - C2131: expression did not evaluate to a constant

Noel Grandin noelgrandin at gmail.com
Tue Dec 4 06:30:10 UTC 2018



> I'm seeing the following build failure on Windows 32-bit release build:
> D:/core/vcl/source/bitmap/BitmapTools.cxx(1078): error C2131: expression did not evaluate to a constant
> D:/core/vcl/source/bitmap/BitmapTools.cxx(1097): error C2131: expression did not evaluate to a constant
> make[1]: *** [D:/core/solenv/gbuild/LinkTarget.mk:293: D:/core/workdir/CxxObject/vcl/source/bitmap/BitmapTools.o] Error 2

You need the latest Visual Studio 2017 release.

Doing an update from inside Visual Studio (help->check for update) should suffice.


More information about the LibreOffice mailing list