[GRASS-dev] [GRASS GIS] #2017: osgf compilation error

GRASS GIS trac at osgeo.org
Tue Sep 3 14:49:30 PDT 2013


#2017: osgf compilation error
-----------------------+----------------------------------------------------
 Reporter:  martinl    |       Owner:  grass-dev@…              
     Type:  defect     |      Status:  new                      
 Priority:  blocker    |   Milestone:  7.0.0                    
Component:  Compiling  |     Version:  svn-trunk                
 Keywords:  libc       |    Platform:  Linux                    
      Cpu:  x86-64     |  
-----------------------+----------------------------------------------------

Comment(by martinl):

 OK, the reason is that `/usr/include/libavutil` already contains `time.h`
 header file (1). I am using

 {{{
 --with-ffmpeg-includes="/usr/include/libavcodec /usr/include/libavformat/
 /usr/include/libswscale /usr/include/libavutil"
 }}}

 without `/usr/include/libavutil` I get

 {{{
 gsd_img_mpeg.c:33:25: fatal error: mathematics.h: No such file or
 directory
  #include <mathematics.h>
 }}}

 (1) http://stackoverflow.com/questions/14947691/c-system-file-bits-stat-h
 -suddenly-breaks-with-error-field-st-atim-has-inc

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2017#comment:8>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list