Can't compile on Slackware 14.1.

Forum for questions and support relating to the 1.27.x releases only.
Locked
orsty3001
Posts: 49
Joined: Tue Jan 26, 2010 5:55 pm

Can't compile on Slackware 14.1.

Post by orsty3001 »

When I try to compile ZM I get this error:

Code: Select all

/ZoneMinder/src/zm_ffmpeg_camera.cpp:196:37: warning: 'AVFrame* avcodec_alloc_frame()' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3513) [-Wdeprecated-declarations]
     mRawFrame = avcodec_alloc_frame();
                                     ^
/ZoneMinder/src/zm_ffmpeg_camera.cpp:199:14: warning: 'AVFrame* avcodec_alloc_frame()' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3513) [-Wdeprecated-declarations]
     mFrame = avcodec_alloc_frame();
              ^
/ZoneMinder/src/zm_ffmpeg_camera.cpp:199:34: warning: 'AVFrame* avcodec_alloc_frame()' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3513) [-Wdeprecated-declarations]
     mFrame = avcodec_alloc_frame();
I'm assuming it's an incompatability problem with ffmepg. Not sure what version I'm supposed to be using of ffmpeg. this is the version I'm using.

Code: Select all

ffmpeg version 2.3.1 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jul 29 2014 11:54:12 with gcc 4.8.3 (GCC)
  configuration: --prefix=/usr
  libavutil      52. 92.100 / 52. 92.100
  libavcodec     55. 69.100 / 55. 69.100
  libavformat    55. 48.100 / 55. 48.100
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.100 /  4. 11.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
Hyper fast Audio and Video encoder
Locked