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

GRASS GIS trac at osgeo.org
Tue Sep 3 16:07:42 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, osgf, libavutil  |    Platform:  Linux                    
      Cpu:  x86-64                 |  
-----------------------------------+----------------------------------------
Changes (by hamish):

  * keywords:  libc => libc, osgf, libavutil


Comment:

 martinl wrote:
 > gsd_img_mpeg.c:33:25: fatal error: mathematics.h: No such file or
 directory

 lib/ogsf/gsd_img_mpeg.c
 {{{
 /* FFMPEG stuff */
 #ifdef HAVE_FFMPEG
 #include <avformat.h>
 #include <avio.h>
 #if LIBAVUTIL_VERSION_MAJOR < 51
 #include <avutil.h>
 #else
 /* libavutil 51.22.1's avutil.h doesn't include libavutil/mathematics.h */
 #include <mathematics.h>
 #endif
 }}}


 > Package: libavutil-dev
 > Source: libav
 > Version: 6:0.8.7-1

 what version of libavutil does that provide?
 (look in /usr/include/libavutil/avutil.h for
 LIBAVUTIL_VERSION_MAJOR,MINOR,MICRO)

 supposedly newer versions of Debian have switched to more stable versions
 of these libraries which could put an end to this game of cat and mouse,
 but I'm tempted to drop the in-program MPEG creation in favour of creating
 a series of frames and outsourcing the encoding entirely to 3rd party
 software.

 anyway IIRC that code isn't used by anything in trunk right now, so no
 benefit of using --with-ffmpeg when building GRASS 7 (currently).


 Hamish

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



More information about the grass-dev mailing list