Ask Your Question

How do I setup autogen to configure the build of libo-core to use Windows 10 SDK and VS 2017?

asked 2019-11-13 19:28:24 +0200

justdan23 gravatar image

updated 2020-07-08 19:48:32 +0200

Alex Kemp gravatar image

I am following the build documentation with the latest master build of v6.x and is displaying the following error:

configure: error: Windows SDK 10 is not known to work with VS 2017

Is there a way to get the tools to display more verbose info to help determine how to fix this?

Does anyone know what may be missing?

I've also tried it with VS 2019 and I get the same message.

Here's my autoreg.input file:


I'm running from a Cygwin64 Terminal from a build folder under:


And I launch it without parameters (see below) so it uses the above autogen.input file:


Here's the complete output from

$ /cygdrive/c/sources/libo-core/
Running ./configure with '--disable-odk --with-junit=/cygdrive/c/sources/junit-4.10.jar --with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5 --enable-pch --disable-ccache --with-windows-sdk=10 --with-visual-studio=2017 --enable-64-bit --enable-option-checking=debug --srcdir=/cygdrive/c/sources/libo-core --enable-option-checking=fatal'
*   Running LibreOffice build configuration.

checking build system type... x86_64-pc-cygwin
checking host system type... x86_64-pc-cygwin
checking for product name... LibreOfficeDev
checking for package version...
checking for product version... 6.4
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for grep... (cached) /usr/bin/grep
checking for GNU Make... C:/cygwin64/opt/lo/bin/make
configure: Using a native Win32 GNU Make version.
checking for explicit COMSPEC... found: C:\Windows\system32\cmd.exe
checking for sed... /usr/bin/sed
checking whether to use link-time optimization... no
checking for explicit AFLAGS... no
checking for explicit CFLAGS... no
checking for explicit CXXFLAGS... no
checking for explicit OBJCFLAGS... no
checking for explicit OBJCXXFLAGS... no
checking for explicit LDFLAGS... no
checking whether build target is Release Build... no
checking whether to sign windows build... no
checking for gawk... gawk
checking for gawk... /usr/bin/gawk
checking for bash... /bin/sh
checking for GNU or BSD tar... tar
checking for tar's option to strip components... --strip-components
checking how to build and package galleries... internal src images for desktop
checking whether to build with Java support... yes
checking whether to treat the installation as read-only... no
checking whether to build a 64-bit LibreOffice... yes
checking Visual C++... C:/PROGRA~2/MICROS~1/2017/COMMUN~1/VC
checking for short pathname of VC product directory... C:/PROGRA~2/MICROS~1/2017/COMMUN~1/VC
checking for UCRT location... found
checking for MSBuild.exe location for: 15.0... C:/PROGRA~2/MICROS~1/2017/COMMUN~1/VC/../MSBuild/15.0/Bin/amd64
checking cl.exe... found Visual C++ 2017 (C:/PROGRA~2/MICROS~1/2017/COMMUN~1/VC/Tools/MSVC/1416~1.270/bin/HostX64/x64/cl.exe)
configure: error: Windows SDK 10 is not known to work with VS 2017 ...
edit retag flag offensive close merge delete


Your question is irrelevant to base (database component of LibreOffice) you used as a tag.

Here's my autoreg.input file:


I'm running from a Cygwin64 Terminal from a build folder under:

It's autogen, not autoreg (details are important, especially when developing, including asking for help in development-related topics, so show others you pay attention to details when preparing questions).

Mike Kaganski gravatar imageMike Kaganski ( 2019-11-14 03:35:02 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2019-11-14 03:29:15 +0200

updated 2019-11-14 03:44:09 +0200

This is a bug in documentation. Running ./ --help indeed lists 10 as an acceptable value for --with-windows-sdk; but in fact, 10.0 should be used. Although it is redundant, since by default (when omitted), testing starts with detection of available SDKs in order: 10.0, 8.1(A), 8.0(A). That could be the reason no one had detected this by now :-)

Thanks for noting; will be fixed in; yet note that you should ask development-related questions in #libreoffice-dev @ FreeNode, or in dev mailing list.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-11-13 19:28:24 +0200

Seen: 138 times

Last updated: Nov 14 '19