<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
code
{mso-style-priority:99;
font-family:"Courier New";}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-GB link=blue vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Greetings,<br><br></span>I am trying to build LibreOffice on Windows using LODE. I installed the prerequisites (MSVC & JDK) and then followed the instructions on the wiki. When it was time to build, I got this error:<br><br>checking the dependency generation prefix (clang.exe -showIncludes)... configure: error: cannot determine the -showIncludes prefix</p><div><pre style='background:white'><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:black'>Error running configure at ./autogen.sh line 322.<br><br>I couldn’t find the solution online, but I found this piece of code that I assume is generating the error:<br></span><span style='color:black'><br><code>AC_MSG_CHECKING([the dependency generation prefix (clang.exe -showIncludes)])<o:p></o:p></code></span></pre><pre style='background:white'><code><span style='color:black'> echo "#include <stdlib.h>" > conftest.c<o:p></o:p></span></code></pre><pre style='background:white'><code><span style='color:black'> LO_CLANG_SHOWINCLUDES_PREFIX=`$LO_CLANG_CC $CFLAGS -c -showIncludes conftest.c 2>/dev/null | \<o:p></o:p></span></code></pre><pre style='background:white'><code><span style='color:black'> grep 'stdlib\.h' | head -n1 | sed 's/ [[[:alpha:]]]:.*//'`<o:p></o:p></span></code></pre><pre style='background:white'><code><span style='color:black'> rm -f conftest.c conftest.obj<o:p></o:p></span></code></pre><pre style='background:white'><code><span style='color:black'> if test -z "$LO_CLANG_SHOWINCLUDES_PREFIX"; then<o:p></o:p></span></code></pre><pre style='background:white'><code><span style='color:black'> AC_MSG_ERROR([cannot determine the -showIncludes prefix])<o:p></o:p></span></code></pre><pre style='background:white'><code><span style='color:black'> else<o:p></o:p></span></code></pre><pre style='background:white'><code><span style='color:black'> AC_MSG_RESULT(["$LO_CLANG_SHOWINCLUDES_PREFIX"])<o:p></o:p></span></code></pre><pre style='background:white'><code><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:black'><br>But I still don’t know what to do.</span></code><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:black'><o:p></o:p></span></pre></div><p class=MsoNormal><br>Ahmed Abdelatty</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>