[GRASS-dev] [GRASS GIS] #3600: m.nviz.image doesn't produce any output

GRASS GIS trac at osgeo.org
Sat Jul 14 09:13:48 PDT 2018


#3600: m.nviz.image doesn't produce any output
--------------------------+-------------------------
  Reporter:  guano        |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:
 Component:  Default      |    Version:  7.0.4
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  MacOSX
--------------------------+-------------------------

Comment (by hcho):

 Replying to [comment:68 hellik]:
 > Replying to [comment:67 hcho]:
 > > Without r72986.
 > >
 > > or with {{{SwapBuffers}}} and {{{OGSFDEPS += -lgdi32}}}
 > >
 > > Replying to [comment:66 hellik]:
 > > > Replying to [comment:65 hcho]:
 > > > > In {{{include/Make/Grass.make}}}, add this line below line 251:
 > > > > {{{
 > > > > OGSFDEPS += -lgdi32
 > > > > }}}
 > > > >
 > > > > Going to try it in my VM.
 > > >
 > > > With or without:
 > > > Revision: 72986
 > > >
 > > > ?
 > > >
 >
 > reverting locally r72986 and adding
 >
 > {{{
 > OGSFDEPS += -lgdi32
 > }}}
 >
 > In include/Make/Grass.make, add this line below line 251.
 >
 > {{{
 > GRASS GIS 7.5.svn r72986M compilation log
 > --------------------------------------------------
 > Started compilation: Sat Jul 14 16:15:39 CEST 2018
 > --
 > Errors in:
 > No errors detected.
 > --
 > Finished compilation: Sat Jul 14 16:30:37 CEST 2018
 > }}}
 >
 > it compiles here without any error by
 >
 > {{{
 > GRASS is now configured for:  x86_64-w64-mingw32
 >
 >   Source directory:           /usr/src/grass_trunk
 >   Build directory:            /usr/src/grass_trunk
 >   Installation directory:     ${prefix}/grass-7.5.svn
 >   Startup script in directory:/c/OSGeo4W64/bin
 >   C compiler:                 gcc -g -O2
 >   C++ compiler:               c++ -g -O2
 >   Building shared libraries:  yes
 >   OpenGL platform:            Windows
 >
 >   MacOSX application:         no
 >   MacOSX architectures:
 >   MacOSX SDK:
 >
 >   BLAS support:               no
 >   BZIP2 support:              yes
 >   C++ support:                yes
 >   Cairo support:              yes
 >   DWG support:                no
 >   FFTW support:               yes
 >   FreeType support:           yes
 >   GDAL support:               yes
 >   GEOS support:               yes
 >   LAPACK support:             no
 >   Large File support (LFS):   yes
 >   libLAS support:             yes
 >   MySQL support:              no
 >   NetCDF support:             no
 >   NLS support:                yes
 >   ODBC support:               yes
 >   OGR support:                yes
 >   OpenCL support:             no
 >   OpenGL support:             yes
 >   OpenMP support:             no
 >   PDAL support:               no
 >   PNG support:                yes
 >   POSIX thread support:       no
 >   PostgreSQL support:         yes
 >   Readline support:           no
 >   Regex support:              yes
 >   SQLite support:             yes
 >   TIFF support:               yes
 >   X11 support:                no
 >   Zstandard support:          yes
 >
 >   using old PROJ 4 API
 > }}}
 >
 >

 Great! I wanted to try one more thing. Reverting r72980: Replacing
 {{{
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 #undef WIN32_LEAN_AND_MEAN
 }}}
 with
 {{{
 #include <wingdi.h>
 }}}
 because SwapBuffers is defined in wingdi.h.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3600#comment:70>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list