<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello, everyone! </div><div><br></div><div>I'm attempting to build LibreOffice on Windows for the first time. I have meticulously followed the instructions from <a href="https://wiki.documentfoundation.org/Development/BuildingOnWindows">https://wiki.documentfoundation.org/Development/BuildingOnWindows</a> and used the recommended settings and paths. I use Win7 x64 system, 64-bit  Cygwin and Visual Studio 2017 Professional.</div><div><br></div><div>I have Sybase drivers installed in my C:\Sybase directory as a requirement of another, independent project.<br></div><div><br></div><div>My autogen.sh command (notice that I added a switch to disable database connectivity):</div><div><div>/cygdrive/c/sources/libo-core/autogen.sh                --with-external-tar=/cygdrive/c/sources/lo-externalsrc                --with-junit=/cygdrive/c/sources/junit-4.10.jar                --with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5                --enable-pch --disable-ccache --disable-database-connectivity</div></div><div><br></div><div>When I call /opt/lo/bin/make gb_COLOR=1</div><div><br></div><div>The last few lines of my make output:</div><div><div>cl : Command line warning D9025 : overriding '/DNOMINMAX' with '/UNOMINMAX'</div><div>cl : Command line warning D9025 : overriding '/DNOMINMAX' with '/UNOMINMAX'</div><div>[IDL] CustomTarget/shell/source/win32/spsupp/idl/spsupp.tlb</div><div>Microsoft (R) 32b/64b MIDL Compiler Version 8.01.0622</div><div>Copyright (c) Microsoft Corporation. All rights reserved.</div><div>Processing C:SybaseOCS-15_0include</div><div>SybaseOCS-15_0include</div><div>c1: fatal error C1083: Cannot open source file: 'C:SybaseOCS-15_0include': No such file or directory</div><div>midl : command line error MIDL1003 : error returned by the C preprocessor (2)</div><div>/usr/bin/sh: D:Program: command not found</div><div>[DEP] LNK:StaticLibrary/shell_xmlparser_x64.lib</div><div>[LNK] StaticLibrary/shell_xmlparser_x64.lib</div><div>/usr/bin/sh: D:Program: command not found</div><div>make[1]: *** [C:/sources/libo-core/shell/CustomTarget_spsupp_idl.mk:21: C:/build/workdir/CustomTarget/shell/source/win32/spsupp/idl/spsupp.tlb] Error 127</div><div>make[1]: *** Waiting for unfinished jobs....</div><div>make: *** [Makefile:286: build] Error 2</div></div><div><br></div><div>Notice that, for some reason, the make command is attempting to find something in my D:\Programs directory. That directory contains many applications, not relevant to LibreOffice.</div><div><br></div><div>Could you please direct me in the right direction to solve this problem? I couldn't find anything in</div><div><br></div><div>thanks</div><div>Francois Botha<br></div></div></div></div></div></div></div>