[GRASS-dev] grass-dev Digest, Vol 149, Issue 11

Michael Barton Michael.Barton at asu.edu
Thu Jul 5 14:14:54 PDT 2018


To try and test the fix to m.nviz.image, I just now did for trunk:

Make distclean
Svn update
Configure (no problem)
Compile 

I got a compiler error in /lib/calc (error below) 
Is this due to the recent fix?

I also tried it with a completely new version of trunk downloaded and got the same errors.

Michael


========== error ==========
Errors in:
/Users/cmbarton/grass_source/trunk/lib/calc
--
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
--
Finished compilation: Thu Jul  5 13:47:36 MST 2018
make: *** [default] Error 1
cmb-imaccsdc:trunk cmbarton$ cd /Users/cmbarton/grass_source/trunk/lib/calc
cmb-imaccsdc:calc cmbarton$ make
/Applications/GRASS-7.5.app/Contents/Resources/bin/clang -I/Applications/GRASS-7.5.app/Contents/Resources/include -g -O2  -fno-common -I/Applications/GRASS-7.5.app/Contents/Resources/include -I/Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.6.0/include -I/Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.6.0/include    -DPACKAGE=\""grasslibs"\"   -I/Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.6.0/include -I/Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.6.0/include -DRELDIR=\"lib/calc\" -o OBJ.x86_64-apple-darwin17.6.0/function.o -c function.c
function.c:14:22: error: use of undeclared identifier 'f_ceil'
    {"ceil", c_unop, f_ceil},
                     ^
function.c:15:23: error: use of undeclared identifier 'f_floor'; did you mean 'f_float'?
    {"floor", c_unop, f_floor},
                      ^~~~~~~
                      f_float
/Applications/GRASS-7.5.app/Contents/Resources/include/grass/defs/calc.h:63:15: note: 'f_float' declared here
extern func_t f_float;
              ^
2 errors generated.
make: *** [OBJ.x86_64-apple-darwin17.6.0/function.o] Error 1



______________________________
C. Michael Barton 
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University
Tempe, AZ  85287-2402
USA
 
voice:    480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax:          480-965-7671(SHESC), 480-727-0709 (CSDC)
www:      http://csdc.asu.edu, http://shesc.asu.edu
                                http://www.public.asu.edu/~cmbarton

On 7/5/18, 12:00 PM, "grass-dev on behalf of grass-dev-request at lists.osgeo.org" <grass-dev-bounces at lists.osgeo.org on behalf of grass-dev-request at lists.osgeo.org> wrote:

    Date: Thu, 05 Jul 2018 03:23:44 -0000
    From: "GRASS GIS" <trac at osgeo.org>
    To: undisclosed-recipients: ;
    Cc: grass-dev at lists.osgeo.org
    Subject: Re: [GRASS-dev] [GRASS GIS] #2998: m.nviz.image fails with X
    	Error BadValue integer parameter out of range for operation
    Message-ID: <060.01ef0c91d1c90d09d0aa6600166f8b24 at osgeo.org>
    Content-Type: text/plain; charset="utf-8"
    
    #2998: m.nviz.image fails with X Error BadValue integer parameter out of range for
    operation
    -------------------------+-------------------------------------------------
      Reporter:  wenzeslaus  |      Owner:  grass-dev@…
          Type:  defect      |     Status:  closed
      Priority:  normal      |  Milestone:  7.2.4
    Component:  LibOpenGL   |    Version:  svn-trunk
    Resolution:  fixed       |   Keywords:  m.nviz.image, NVIZ, 3D, GLX,
                             |  X_GLXCreateContext, g.gui.animation
           CPU:  x86-64      |   Platform:  Linux
    -------------------------+-------------------------------------------------
    
    Comment (by hcho):
    
    Oh! I'm on Linux (Slackware 14.2). Is there a way to reproduce your issue?
    Any sample data set and command line? Maybe, it was related to my mistake
    in write_img.c, which is just fixed in r72951?
    
    -- 
    Ticket URL: <https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_grass_ticket_2998-23comment-3A19&d=DwIGaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=dAPexcceMdlawW6E7rSolX7s8mY6Jql0drLwOwoKKfc&s=5uNzqfWlMr40jdzC0Ny-QDAl8hVGhUxCxrhXgMOr2gQ&e=>
    GRASS GIS <https://urldefense.proofpoint.com/v2/url?u=https-3A__grass.osgeo.org&d=DwIGaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=dAPexcceMdlawW6E7rSolX7s8mY6Jql0drLwOwoKKfc&s=RZLKiXtG8s2xqATPclFfuTwSQ6hpancGROIW78AqtI4&e=>
    
    
    



More information about the grass-dev mailing list