[GRASS-dev] Windows compilation failed

Markus Neteler neteler at osgeo.org
Tue Dec 12 09:29:21 PST 2017


On Tue, Dec 12, 2017 at 5:38 PM, CM Reddy <chalamcharla at hotmail.com> wrote:
> Hi All,
>
> I tried to install Grass source on Windows 10 using the following link.
>
>
> https://trac.osgeo.org/grass/wiki/CompileOnWindows

[...]

>
> 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
>
>
> 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
>
>
> 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:   ^~~~~
>
>
> Status: Parsing c:/users/work/appdata/local/temp/tmpgupeez.h
>
> Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:176: Syntax
> error at 'va_list'
>
> Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:182: Syntax
> error at 'va_list'
>
> Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:188: Syntax
> error at 'va_list'
>
> Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:193: Syntax
> error at 'va_list

The problem is currently tracked at:

https://trac.osgeo.org/grass/ticket/3464

Hope a solution is found soon,
Markus


More information about the grass-dev mailing list