<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 14, 2015 at 9:02 PM, Hung Mark <span dir="ltr"><<a href="mailto:marklh9@gmail.com" target="_blank">marklh9@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I'd like to share my experience since I didn't see this on Developer's wiki.</div><div>When I was trying to build LibreOffice in Windows, autogen.sh was not able to finish its job, with message below:</div><div><br></div><div>checking cl.exe... found Visual C++ 2013 (E:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/cl.exe)<br>cygpath: cannot create short name of 12.0\VC\Include<br>realpath: '12.0/VC': No such file or directory<br>configure: WARNING: realpath failed for "12.0/VC", not necessarily a problem.<br>checking the dependency generation prefix (cl.exe -showIncludes)... configure: error: cannot determine the -showIncludes prefix<br>Error running configure at ./autogen.sh line 269.</div><div><br></div><div>Apparently path for Visual Studio broke into parts out of expectation. After investigation I found that cygpath -d doesn't convert it into 8.3 file name format as it's manual describe. It still generates long file name. </div><div><br></div><div>The solution is simple, the partition has to enable 8.3 format support *BEFORE* you install Visual Studio, with following command:</div><div><br></div><div>fsutil 8dot3name set e: 0</div><div><br></div><div>0.represents active. Change the drive letter e to whatever you use. <br clear="all"></div></div></blockquote><div><br></div><div>Just adding in case someone finds it helpful. I tried it today on Windows10. I had my MSVC installation in c:, so fsutil did not work until I rebooted it in safe-mode. I first enabled the 8.3 format as</div><div><br></div><div>fsutil 8dot3name set c: 0</div><div><br></div><div>followed by setting shortnames for directory names that LO require because on my Win10 installation there were no shortnames already set. In my case I did (after cd-ing into respective dirs) :</div><div><br></div><div>fsutil file setshortname "Program Files (x86)" PROG~1</div><div>fsutil file setshortname "Microsoft Visual Studio 14.0" msvc~140</div><div>fsutil file setshortname "Window Kits" W~Kits</div><div><br></div><div>and then rebooted into normal mode. This solved the problem for me.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div>I use Windows8 to build LibreOffice ( A surface3 tablet ). I had built successfully on Windows7 VM without tuning mentioned above. Both Visual Studio and LO source code are installed in a VHD disk image on a microSDHC. I guess that one of them makes the difference. </div><span><font color="#888888"><div><br></div><div><br>-- <br></div><div><div dir="ltr"><div>Mark Hung<br></div></div></div>
</font></span></div>
<br>_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank">LibreOffice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Regards,<br>Pranav Kant</div><div><a href="http://pranavk.me" target="_blank">http://pranavk.me</a><br></div></div></div></div></div></div></div></div></div>
</div></div>