<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" text="#000000" bgcolor="#FFFFFF">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi All,</p>
<p style="margin-top:0;margin-bottom:0">I tried to install Grass source on Windows 10 using the following link.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><a href="https://trac.osgeo.org/grass/wiki/CompileOnWindows" class="OWAAutoLink" id="LPlnk480325" previewremoved="true">https://trac.osgeo.org/grass/wiki/CompileOnWindows</a></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Downloaded the GRASS source from development trunk using the following commands. </p>
<pre class="wiki" style="background: rgb(247, 247, 247); border: 1px solid rgb(215, 215, 215); box-shadow: rgb(238, 238, 238) 0px 0px 1em; border-radius: 0.3em; margin: 1em 1.75em; padding: 0.25em; overflow: auto; font-size: 13px;">cd /usr/src
svn checkout <a class="moz-txt-link-freetext" href="https://svn.osgeo.org/grass/grass/trunk">https://svn.osgeo.org/grass/grass/trunk</a> grass_trunk</pre>
<br>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><span style="font-size:
          12pt;">On Compilation , it failed with following errors.</span><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><span style="color: rgb(0,
          111, 201);"><FINAL ERROR></span></p>
<blockquote style="margin: 0 0 0 40px; border: none; padding:
        0px;">
<div>Started compilation: Tue Dec 12 12:47:54 IST 2017</div>
<div>--</div>
<div>Errors in:</div>
<div>/usr/src/grass_trunk/raster/r.in.lidar</div>
<div>/usr/src/grass_trunk/raster3d/r3.in.lidar</div>
<div>/usr/src/grass_trunk/vector/v.out.lidar</div>
<div>/usr/src/grass_trunk/vector/v.in.lidar</div>
<div>--</div>
<div>In case of errors please change into the directory with error and run 'make'.</div>
<div>If you get multiple errors, you need to deal with them in the order they</div>
<div>appear in the error log. If you get an error building a library, you will</div>
<div>also get errors from anything which uses the library.</div>
</blockquote>
<div><br>
</div>
<div><span style="color: rgb(0, 111, 201);"></FINAL ERROR></span></div>
<div><br>
</div>
<div>On running the make in r.in.lidar directory. it failed with following error.</div>
<div><br>
</div>
<div><span style="color: rgb(0, 111, 201);"> <RASTER ERROR></span> </div>
<blockquote style="margin: 0 0 0 40px; border: none; padding:
        0px;">
<div>
<div><br>
</div>
</div>
<div>
<div>C:/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/bin/r.in.lidar.exe: error while loading shared libraries: libgrass_raster.7.5.svn.dll: cannot open shared object file: No such file or directory</div>
</div>
<div>
<div>make: *** [../../include/Make/Html.make:14: r.in.lidar.tmp.html] Error 1</div>
</div>
</blockquote>
<div>
<div><br>
</div>
<div><span style="color: rgb(0, 111, 201);"></RASTOR ERROR></span></div>
<br>
</div>
<div>I have also noticed many related to header files in package.log file. Please find the some of the errors for your reference.</div>
<div><br>
</div>
<div><span style="color: rgb(0, 111, 201);"> <HEADER_ERRORS></span></div>
<blockquote style="margin: 0 0 0 40px; border: none; padding:
        0px;">
<div>
<div>Status: Preprocessing c:/users/work/appdata/local/temp/tmpgupeez.h</div>
</div>
<div>
<div>Status: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64     -I/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include -I/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include -D__GLIBC_HAVE_LONG_LONG -U __GNUC__ -dD "-Dinline=" "-D__inline__=" "-D__extension__="
 "-D_Bool=uint8_t" "-D__const=const" "-D__asm__(x)=" "-D__asm(x)=" "-DCTYPESGEN=1" c:/users/work/appdata/local/temp/tmpgupeez.h</div>
</div>
<div>
<div>Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64     -I/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include -I/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include -D__GLIBC_HAVE_LONG_LONG: In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/_mingw.h:275:0,</div>
</div>
<div>
<div><br>
</div>
</div>
<div>
<div>Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64     -I/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include -I/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include -D__GLIBC_HAVE_LONG_LONG:                  from C:/msys64/mingw64/x86_64-w64-mingw32/include/crtdefs.h:10,</div>
</div>
<div>
<div><br>
</div>
</div>
<div>
<div>Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64     -I/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include -I/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include -D__GLIBC_HAVE_LONG_LONG:                  from C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:9,</div>
</div>
<div>
<div><br>
</div>
</div>
<div>
<div>Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64     -I/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include -I/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include -D__GLIBC_HAVE_LONG_LONG:                  from C:/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include/grass/gis.h:24,</div>
</div>
<div>
<div><br>
</div>
</div>
<div>
<div>Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64     -I/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include -I/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include -D__GLIBC_HAVE_LONG_LONG:                  from c:/users/work/appdata/local/temp/tmpgupeez.h:1:</div>
</div>
<div>
<div><br>
</div>
</div>
<div>
<div>Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64     -I/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include -I/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include -D__GLIBC_HAVE_LONG_LONG: C:/msys64/mingw64/x86_64-w64-mingw32/include/vadefs.h:35:2:
 error: #error VARARGS not implemented for this compiler</div>
</div>
<div>
<div><br>
</div>
</div>
<div>
<div>Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64     -I/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include -I/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include -D__GLIBC_HAVE_LONG_LONG:  #error VARARGS not implemented for this compiler</div>
</div>
<div>
<div><br>
</div>
</div>
<div>
<div>Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64     -I/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include -I/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include -D__GLIBC_HAVE_LONG_LONG:   ^~~~~</div>
</div>
<div>
<div><br>
</div>
</div>
<div>
<div>Status: Parsing c:/users/work/appdata/local/temp/tmpgupeez.h</div>
</div>
<div>
<div>Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:176: Syntax error at 'va_list'</div>
</div>
<div>
<div>Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:182: Syntax error at 'va_list'</div>
</div>
<div>
<div>Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:188: Syntax error at 'va_list'</div>
</div>
<div>
<div>Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:193: Syntax error at 'va_list</div>
</div>
<div><br>
</div>
<div>....</div>
</blockquote>
<div></div>
<div><span style="color: rgb(0, 111, 201);"></HEADER_ERRORS></span></div>
<div><br>
</div>
<div>Please help us in resolving the above errors.</div>
<div><br>
</div>
<div>- Thanks</div>
<div>CM Reddy</div>
<div><br>
</div>
<br>
<br>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
</div>
</body>
</html>