Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make: Error 2 in Fedora 32 #2

Open
ghost opened this issue Aug 24, 2020 · 1 comment
Open

make: Error 2 in Fedora 32 #2

ghost opened this issue Aug 24, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 24, 2020

Here are tha outputs

$ make -j9
make  all-recursive
make[1]: Entering directory '/home/anonymous/Downloads/libvideogfx-1.0.9'
Making all in libvideogfx
make[2]: Entering directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx'
make  all-recursive
make[3]: Entering directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx'
Making all in arch
make[4]: Entering directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx/arch'
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../..    -g -O2 -std=c++0x -MT cpu.lo -MD -MP -MF .deps/cpu.Tpo -c -o cpu.lo cpu.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -std=c++0x -MT cpu.lo -MD -MP -MF .deps/cpu.Tpo -c cpu.cc  -fPIC -DPIC -o .libs/cpu.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -std=c++0x -MT cpu.lo -MD -MP -MF .deps/cpu.Tpo -c cpu.cc -o cpu.o >/dev/null 2>&1
mv -f .deps/cpu.Tpo .deps/cpu.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -g -O2 -std=c++0x   -o libvideogfx-arch.la  cpu.lo  -lswscale -lavutil 
libtool: link: ar cru .libs/libvideogfx-arch.a .libs/cpu.o 
libtool: link: ranlib .libs/libvideogfx-arch.a
libtool: link: ( cd ".libs" && rm -f "libvideogfx-arch.la" && ln -s "../libvideogfx-arch.la" "libvideogfx-arch.la" )
make[4]: Leaving directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx/arch'
Making all in audio
make[4]: Entering directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx/audio'
Making all in fileio
make[5]: Entering directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx/audio/fileio'
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT audiosink.lo -MD -MP -MF .deps/audiosink.Tpo -c -o audiosink.lo audiosink.cc
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT audiosink_linux.lo -MD -MP -MF .deps/audiosink_linux.Tpo -c -o audiosink_linux.lo audiosink_linux.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT audiosink.lo -MD -MP -MF .deps/audiosink.Tpo -c audiosink.cc  -fPIC -DPIC -o .libs/audiosink.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT audiosink_linux.lo -MD -MP -MF .deps/audiosink_linux.Tpo -c audiosink_linux.cc  -fPIC -DPIC -o .libs/audiosink_linux.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT audiosink.lo -MD -MP -MF .deps/audiosink.Tpo -c audiosink.cc -o audiosink.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT audiosink_linux.lo -MD -MP -MF .deps/audiosink_linux.Tpo -c audiosink_linux.cc -o audiosink_linux.o >/dev/null 2>&1
mv -f .deps/audiosink.Tpo .deps/audiosink.Plo
mv -f .deps/audiosink_linux.Tpo .deps/audiosink_linux.Plo
/bin/sh ../../../libtool  --tag=CXX   --mode=link g++  -g -O2 -std=c++0x   -o libvideogfx-audio-fileio.la  audiosink.lo audiosink_linux.lo  -lswscale -lavutil 
libtool: link: ar cru .libs/libvideogfx-audio-fileio.a .libs/audiosink.o .libs/audiosink_linux.o 
libtool: link: ranlib .libs/libvideogfx-audio-fileio.a
libtool: link: ( cd ".libs" && rm -f "libvideogfx-audio-fileio.la" && ln -s "../libvideogfx-audio-fileio.la" "libvideogfx-audio-fileio.la" )
make[5]: Leaving directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx/audio/fileio'
make[5]: Entering directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx/audio'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx/audio'
make[4]: Leaving directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx/audio'
Making all in utility
make[4]: Entering directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx/utility'
Making all in bitstream
make[5]: Entering directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx/utility/bitstream'
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT bitbuffer.lo -MD -MP -MF .deps/bitbuffer.Tpo -c -o bitbuffer.lo bitbuffer.cc
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT bitreader.lo -MD -MP -MF .deps/bitreader.Tpo -c -o bitreader.lo bitreader.cc
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT bytebuffer.lo -MD -MP -MF .deps/bytebuffer.Tpo -c -o bytebuffer.lo bytebuffer.cc
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT inputstream.lo -MD -MP -MF .deps/inputstream.Tpo -c -o inputstream.lo inputstream.cc
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT inputstream_istr.lo -MD -MP -MF .deps/inputstream_istr.Tpo -c -o inputstream_istr.lo inputstream_istr.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT bitbuffer.lo -MD -MP -MF .deps/bitbuffer.Tpo -c bitbuffer.cc  -fPIC -DPIC -o .libs/bitbuffer.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT inputstream.lo -MD -MP -MF .deps/inputstream.Tpo -c inputstream.cc  -fPIC -DPIC -o .libs/inputstream.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT bitreader.lo -MD -MP -MF .deps/bitreader.Tpo -c bitreader.cc  -fPIC -DPIC -o .libs/bitreader.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT bytebuffer.lo -MD -MP -MF .deps/bytebuffer.Tpo -c bytebuffer.cc  -fPIC -DPIC -o .libs/bytebuffer.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT inputstream_istr.lo -MD -MP -MF .deps/inputstream_istr.Tpo -c inputstream_istr.cc  -fPIC -DPIC -o .libs/inputstream_istr.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT bitreader.lo -MD -MP -MF .deps/bitreader.Tpo -c bitreader.cc -o bitreader.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT bitbuffer.lo -MD -MP -MF .deps/bitbuffer.Tpo -c bitbuffer.cc -o bitbuffer.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT inputstream.lo -MD -MP -MF .deps/inputstream.Tpo -c inputstream.cc -o inputstream.o >/dev/null 2>&1
mv -f .deps/bitreader.Tpo .deps/bitreader.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT bytebuffer.lo -MD -MP -MF .deps/bytebuffer.Tpo -c bytebuffer.cc -o bytebuffer.o >/dev/null 2>&1
mv -f .deps/bitbuffer.Tpo .deps/bitbuffer.Plo
mv -f .deps/bytebuffer.Tpo .deps/bytebuffer.Plo
mv -f .deps/inputstream.Tpo .deps/inputstream.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT inputstream_istr.lo -MD -MP -MF .deps/inputstream_istr.Tpo -c inputstream_istr.cc -o inputstream_istr.o >/dev/null 2>&1
mv -f .deps/inputstream_istr.Tpo .deps/inputstream_istr.Plo
/bin/sh ../../../libtool  --tag=CXX   --mode=link g++  -g -O2 -std=c++0x   -o libvideogfx-utility-bitstream.la  bitbuffer.lo bitreader.lo bytebuffer.lo inputstream.lo inputstream_istr.lo  -lswscale -lavutil 
libtool: link: ar cru .libs/libvideogfx-utility-bitstream.a .libs/bitbuffer.o .libs/bitreader.o .libs/bytebuffer.o .libs/inputstream.o .libs/inputstream_istr.o 
libtool: link: ranlib .libs/libvideogfx-utility-bitstream.a
libtool: link: ( cd ".libs" && rm -f "libvideogfx-utility-bitstream.la" && ln -s "../libvideogfx-utility-bitstream.la" "libvideogfx-utility-bitstream.la" )
make[5]: Leaving directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx/utility/bitstream'
make[5]: Entering directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx/utility'
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../..    -g -O2 -std=c++0x -MT math.lo -MD -MP -MF .deps/math.Tpo -c -o math.lo math.cc
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../..    -g -O2 -std=c++0x -MT bitmanip.lo -MD -MP -MF .deps/bitmanip.Tpo -c -o bitmanip.lo bitmanip.cc
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../..    -g -O2 -std=c++0x -MT fastalloc.lo -MD -MP -MF .deps/fastalloc.Tpo -c -o fastalloc.lo fastalloc.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -std=c++0x -MT bitmanip.lo -MD -MP -MF .deps/bitmanip.Tpo -c bitmanip.cc  -fPIC -DPIC -o .libs/bitmanip.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -std=c++0x -MT fastalloc.lo -MD -MP -MF .deps/fastalloc.Tpo -c fastalloc.cc  -fPIC -DPIC -o .libs/fastalloc.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -std=c++0x -MT math.lo -MD -MP -MF .deps/math.Tpo -c math.cc  -fPIC -DPIC -o .libs/math.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -std=c++0x -MT bitmanip.lo -MD -MP -MF .deps/bitmanip.Tpo -c bitmanip.cc -o bitmanip.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -std=c++0x -MT fastalloc.lo -MD -MP -MF .deps/fastalloc.Tpo -c fastalloc.cc -o fastalloc.o >/dev/null 2>&1
mv -f .deps/bitmanip.Tpo .deps/bitmanip.Plo
mv -f .deps/fastalloc.Tpo .deps/fastalloc.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -std=c++0x -MT math.lo -MD -MP -MF .deps/math.Tpo -c math.cc -o math.o >/dev/null 2>&1
mv -f .deps/math.Tpo .deps/math.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -g -O2 -std=c++0x   -o libvideogfx-utility.la  math.lo bitmanip.lo fastalloc.lo  -lswscale -lavutil 
libtool: link: ar cru .libs/libvideogfx-utility.a .libs/math.o .libs/bitmanip.o .libs/fastalloc.o 
libtool: link: ranlib .libs/libvideogfx-utility.a
libtool: link: ( cd ".libs" && rm -f "libvideogfx-utility.la" && ln -s "../libvideogfx-utility.la" "libvideogfx-utility.la" )
make[5]: Leaving directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx/utility'
make[4]: Leaving directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx/utility'
Making all in graphics
make[4]: Entering directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx/graphics'
Making all in fileio
make[5]: Entering directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx/graphics/fileio'
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT jpeg.lo -MD -MP -MF .deps/jpeg.Tpo -c -o jpeg.lo jpeg.cc
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT png.lo -MD -MP -MF .deps/png.Tpo -c -o png.lo png.cc
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT uyvy.lo -MD -MP -MF .deps/uyvy.Tpo -c -o uyvy.lo uyvy.cc
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT ppm.lo -MD -MP -MF .deps/ppm.Tpo -c -o ppm.lo ppm.cc
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT raw.lo -MD -MP -MF .deps/raw.Tpo -c -o raw.lo raw.cc
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT yuv.lo -MD -MP -MF .deps/yuv.Tpo -c -o yuv.lo yuv.cc
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT yuv4mpeg.lo -MD -MP -MF .deps/yuv4mpeg.Tpo -c -o yuv4mpeg.lo yuv4mpeg.cc
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT yuv_vqeg.lo -MD -MP -MF .deps/yuv_vqeg.Tpo -c -o yuv_vqeg.lo yuv_vqeg.cc
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT imagesink.lo -MD -MP -MF .deps/imagesink.Tpo -c -o imagesink.lo imagesink.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT uyvy.lo -MD -MP -MF .deps/uyvy.Tpo -c uyvy.cc  -fPIC -DPIC -o .libs/uyvy.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT raw.lo -MD -MP -MF .deps/raw.Tpo -c raw.cc  -fPIC -DPIC -o .libs/raw.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT yuv4mpeg.lo -MD -MP -MF .deps/yuv4mpeg.Tpo -c yuv4mpeg.cc  -fPIC -DPIC -o .libs/yuv4mpeg.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT png.lo -MD -MP -MF .deps/png.Tpo -c png.cc  -fPIC -DPIC -o .libs/png.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT yuv.lo -MD -MP -MF .deps/yuv.Tpo -c yuv.cc  -fPIC -DPIC -o .libs/yuv.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT yuv_vqeg.lo -MD -MP -MF .deps/yuv_vqeg.Tpo -c yuv_vqeg.cc  -fPIC -DPIC -o .libs/yuv_vqeg.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT jpeg.lo -MD -MP -MF .deps/jpeg.Tpo -c jpeg.cc  -fPIC -DPIC -o .libs/jpeg.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT ppm.lo -MD -MP -MF .deps/ppm.Tpo -c ppm.cc  -fPIC -DPIC -o .libs/ppm.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT imagesink.lo -MD -MP -MF .deps/imagesink.Tpo -c imagesink.cc  -fPIC -DPIC -o .libs/imagesink.o
imagesink.cc: In member function 'virtual void videogfx::ImageSink_Save::SendImage(const videogfx::Image<unsigned char>&)':
imagesink.cc:87:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   87 |  suffix = "jpg";
      |           ^~~~~
imagesink.cc:91:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   91 |  suffix = "ppm";
      |           ^~~~~
imagesink.cc:95:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   95 |  suffix = "pgm";
      |           ^~~~~
imagesink.cc:99:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   99 |  suffix = "png";
      |           ^~~~~
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT png.lo -MD -MP -MF .deps/png.Tpo -c png.cc -o png.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT jpeg.lo -MD -MP -MF .deps/jpeg.Tpo -c jpeg.cc -o jpeg.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT yuv_vqeg.lo -MD -MP -MF .deps/yuv_vqeg.Tpo -c yuv_vqeg.cc -o yuv_vqeg.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT uyvy.lo -MD -MP -MF .deps/uyvy.Tpo -c uyvy.cc -o uyvy.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT yuv.lo -MD -MP -MF .deps/yuv.Tpo -c yuv.cc -o yuv.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT imagesink.lo -MD -MP -MF .deps/imagesink.Tpo -c imagesink.cc -o imagesink.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT yuv4mpeg.lo -MD -MP -MF .deps/yuv4mpeg.Tpo -c yuv4mpeg.cc -o yuv4mpeg.o >/dev/null 2>&1
mv -f .deps/png.Tpo .deps/png.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT raw.lo -MD -MP -MF .deps/raw.Tpo -c raw.cc -o raw.o >/dev/null 2>&1
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT unified_reader.lo -MD -MP -MF .deps/unified_reader.Tpo -c -o unified_reader.lo unified_reader.cc
mv -f .deps/jpeg.Tpo .deps/jpeg.Plo
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT unified_writer.lo -MD -MP -MF .deps/unified_writer.Tpo -c -o unified_writer.lo unified_writer.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT unified_reader.lo -MD -MP -MF .deps/unified_reader.Tpo -c unified_reader.cc  -fPIC -DPIC -o .libs/unified_reader.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT unified_writer.lo -MD -MP -MF .deps/unified_writer.Tpo -c unified_writer.cc  -fPIC -DPIC -o .libs/unified_writer.o
mv -f .deps/yuv_vqeg.Tpo .deps/yuv_vqeg.Plo
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT v4l.lo -MD -MP -MF .deps/v4l.Tpo -c -o v4l.lo v4l.cc
mv -f .deps/uyvy.Tpo .deps/uyvy.Plo
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT mplayer.lo -MD -MP -MF .deps/mplayer.Tpo -c -o mplayer.lo mplayer.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT v4l.lo -MD -MP -MF .deps/v4l.Tpo -c v4l.cc  -fPIC -DPIC -o .libs/v4l.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT mplayer.lo -MD -MP -MF .deps/mplayer.Tpo -c mplayer.cc  -fPIC -DPIC -o .libs/mplayer.o
mv -f .deps/yuv.Tpo .deps/yuv.Plo
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT ffmpeg.lo -MD -MP -MF .deps/ffmpeg.Tpo -c -o ffmpeg.lo ffmpeg.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT ppm.lo -MD -MP -MF .deps/ppm.Tpo -c ppm.cc -o ppm.o >/dev/null 2>&1
unified_reader.cc: In member function 'virtual bool videogfx::ReaderStage_RGB::SkipToImage(int)':
unified_reader.cc:491:45: warning: no return statement in function returning non-void [-Wreturn-type]
  491 |     bool SkipToImage(int nr) { id = (nr%3); }
      |                                             ^
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT ffmpeg.lo -MD -MP -MF .deps/ffmpeg.Tpo -c ffmpeg.cc  -fPIC -DPIC -o .libs/ffmpeg.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT v4l.lo -MD -MP -MF .deps/v4l.Tpo -c v4l.cc -o v4l.o >/dev/null 2>&1
mv -f .deps/imagesink.Tpo .deps/imagesink.Plo
/bin/sh ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -g -O2 -std=c++0x -MT ffmpeg_writer.lo -MD -MP -MF .deps/ffmpeg_writer.Tpo -c -o ffmpeg_writer.lo ffmpeg_writer.cc
mv -f .deps/yuv4mpeg.Tpo .deps/yuv4mpeg.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT ffmpeg_writer.lo -MD -MP -MF .deps/ffmpeg_writer.Tpo -c ffmpeg_writer.cc  -fPIC -DPIC -o .libs/ffmpeg_writer.o
ffmpeg.cc: In constructor 'videogfx::FileReader_FFMPEG::FileReader_FFMPEG()':
ffmpeg.cc:74:21: warning: 'void av_register_all()' is deprecated [-Wdeprecated-declarations]
   74 |     av_register_all();
      |                     ^
In file included from ffmpeg.cc:46:
/usr/local/include/libavformat/avformat.h:2050:6: note: declared here
 2050 | void av_register_all(void);
      |      ^~~~~~~~~~~~~~~
ffmpeg.cc: In member function 'bool videogfx::FileReader_FFMPEG::Open(const char*)':
ffmpeg.cc:94:9: error: 'av_open_input_file' was not declared in this scope
   94 |     if (av_open_input_file(&formatCtx, filename, NULL, 0, NULL) != 0)
      |         ^~~~~~~~~~~~~~~~~~
ffmpeg.cc:106:34: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
  106 |       if (formatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO)
      |                                  ^~~~~
In file included from ffmpeg.cc:46:
/usr/local/include/libavformat/avformat.h:880:21: note: declared here
  880 |     AVCodecContext *codec;
      |                     ^~~~~
ffmpeg.cc:106:34: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
  106 |       if (formatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO)
      |                                  ^~~~~
In file included from ffmpeg.cc:46:
/usr/local/include/libavformat/avformat.h:880:21: note: declared here
  880 |     AVCodecContext *codec;
      |                     ^~~~~
ffmpeg.cc:106:34: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
  106 |       if (formatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO)
      |                                  ^~~~~
In file included from ffmpeg.cc:46:
/usr/local/include/libavformat/avformat.h:880:21: note: declared here
  880 |     AVCodecContext *codec;
      |                     ^~~~~
ffmpeg.cc:108:38: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
  108 |    codecCtx = formatCtx->streams[i]->codec;
      |                                      ^~~~~
In file included from ffmpeg.cc:46:
/usr/local/include/libavformat/avformat.h:880:21: note: declared here
  880 |     AVCodecContext *codec;
      |                     ^~~~~
ffmpeg.cc:108:38: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
  108 |    codecCtx = formatCtx->streams[i]->codec;
      |                                      ^~~~~
In file included from ffmpeg.cc:46:
/usr/local/include/libavformat/avformat.h:880:21: note: declared here
  880 |     AVCodecContext *codec;
      |                     ^~~~~
ffmpeg.cc:108:38: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
  108 |    codecCtx = formatCtx->streams[i]->codec;
      |                                      ^~~~~
In file included from ffmpeg.cc:46:
/usr/local/include/libavformat/avformat.h:880:21: note: declared here
  880 |     AVCodecContext *codec;
      |                     ^~~~~
ffmpeg.cc:138:13: error: 'avcodec_alloc_frame' was not declared in this scope; did you mean 'avcodec_send_frame'?
  138 |     frame = avcodec_alloc_frame();
      |             ^~~~~~~~~~~~~~~~~~~
      |             avcodec_send_frame
ffmpeg.cc:146:45: error: 'PIX_FMT_RGB24' was not declared in this scope; did you mean 'AV_PIX_FMT_RGB24'?
  146 |     int nBytesPerFrame = avpicture_get_size(PIX_FMT_RGB24, codecCtx->width, codecCtx->height);
      |                                             ^~~~~~~~~~~~~
      |                                             AV_PIX_FMT_RGB24
ffmpeg.cc: In member function 'void videogfx::FileReader_FFMPEG::Close()':
ffmpeg.cc:169:22: error: 'av_close_input_file' was not declared in this scope
  169 |     if (formatCtx) { av_close_input_file(formatCtx); formatCtx=NULL; }
      |                      ^~~~~~~~~~~~~~~~~~~
ffmpeg.cc: In member function 'void videogfx::FileReader_FFMPEG::preload(int)':
ffmpeg.cc:190:13: error: 'avcodec_decode_video' was not declared in this scope; did you mean 'avcodec_decode_video2'?
  190 |             avcodec_decode_video(codecCtx, frame, &frameFinished, packet.data, packet.size);
      |             ^~~~~~~~~~~~~~~~~~~~
      |             avcodec_decode_video2
ffmpeg.cc:197:31: warning: 'void av_free_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations]
  197 |         av_free_packet(&packet);
      |                               ^
In file included from /usr/local/include/libavcodec/bsf.h:30,
                 from /usr/local/include/libavcodec/avcodec.h:44,
                 from ffmpeg.cc:41:
/usr/local/include/libavcodec/packet.h:538:6: note: declared here
  538 | void av_free_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
mv -f .deps/v4l.Tpo .deps/v4l.Plo
ffmpeg.cc: In member function 'void videogfx::FileReader_FFMPEG::convertRGBBuffer(videogfx::Image<unsigned char>&)':
ffmpeg.cc:242:45: error: 'PIX_FMT_RGB24' was not declared in this scope; did you mean 'AV_PIX_FMT_RGB24'?
  242 |          codecCtx->width, codecCtx->height, PIX_FMT_RGB24, SWS_POINT, NULL, NULL, NULL);
      |                                             ^~~~~~~~~~~~~
      |                                             AV_PIX_FMT_RGB24
make[5]: *** [Makefile:530: ffmpeg.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
mv -f .deps/raw.Tpo .deps/raw.Plo
ffmpeg_writer.cc:68:35: error: use of enum 'PixelFormat' without previous declaration
   68 | static AVFrame *allocPicture(enum PixelFormat pix_fmt, int width, int height)
      |                                   ^~~~~~~~~~~
ffmpeg_writer.cc: In function 'AVFrame* videogfx::allocPicture(int, int, int)':
ffmpeg_writer.cc:74:15: error: 'avcodec_alloc_frame' was not declared in this scope; did you mean 'avcodec_send_frame'?
   74 |     picture = avcodec_alloc_frame();
      |               ^~~~~~~~~~~~~~~~~~~
      |               avcodec_send_frame
ffmpeg_writer.cc:77:31: error: invalid conversion from 'int' to 'AVPixelFormat' [-fpermissive]
   77 |     size = avpicture_get_size(pix_fmt, width, height);
      |                               ^~~~~~~
      |                               |
      |                               int
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:3739:43: note:   initializing argument 1 of 'int avpicture_get_size(AVPixelFormat, int, int)'
 3739 | int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
      |                        ~~~~~~~~~~~~~~~~~~~^~~~~~~
ffmpeg_writer.cc:77:53: warning: 'int avpicture_get_size(AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
   77 |     size = avpicture_get_size(pix_fmt, width, height);
      |                                                     ^
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:3739:5: note: declared here
 3739 | int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
      |     ^~~~~~~~~~~~~~~~~~
ffmpeg_writer.cc:84:20: error: invalid conversion from 'int' to 'AVPixelFormat' [-fpermissive]
   84 |                    pix_fmt, width, height);
      |                    ^~~~~~~
      |                    |
      |                    int
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:3725:39: note:   initializing argument 3 of 'int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)'
 3725 |                    enum AVPixelFormat pix_fmt, int width, int height);
      |                    ~~~~~~~~~~~~~~~~~~~^~~~~~~
ffmpeg_writer.cc:84:42: warning: 'int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
   84 |                    pix_fmt, width, height);
      |                                          ^
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:3724:5: note: declared here
 3724 | int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
      |     ^~~~~~~~~~~~~~
ffmpeg_writer.cc: In constructor 'videogfx::FFMPEG_Writer::FFMPEG_Writer()':
ffmpeg_writer.cc:106:19: warning: 'void av_register_all()' is deprecated [-Wdeprecated-declarations]
  106 |   av_register_all();
      |                   ^
In file included from ffmpeg_writer.cc:34:
/usr/local/include/libavformat/avformat.h:2050:6: note: declared here
 2050 | void av_register_all(void);
      |      ^~~~~~~~~~~~~~~
ffmpeg_writer.cc: In member function 'void videogfx::FFMPEG_Writer::Open(const char*, const char*)':
ffmpeg_writer.cc:59:25: error: 'guess_format' was not declared in this scope; did you mean 'av_guess_format'?
   59 | #define av_guess_format guess_format
      |                         ^~~~~~~~~~~~
ffmpeg_writer.cc:119:9: note: in expansion of macro 'av_guess_format'
  119 |   fmt = av_guess_format(format,NULL,NULL);
      |         ^~~~~~~~~~~~~~~
ffmpeg_writer.cc:123:8: error: 'av_alloc_format_context' was not declared in this scope; did you mean 'av_oformat_next'?
  123 |   oc = av_alloc_format_context();
      |        ^~~~~~~~~~~~~~~~~~~~~~~
      |        av_oformat_next
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT mplayer.lo -MD -MP -MF .deps/mplayer.Tpo -c mplayer.cc -o mplayer.o >/dev/null 2>&1
ffmpeg_writer.cc: In member function 'void videogfx::FFMPEG_Writer::Close()':
ffmpeg_writer.cc:56:25: error: 'url_fclose' was not declared in this scope; did you mean 'fclose'?
   56 | #  define avio_close(x) url_fclose(&(x))
      |                         ^~~~~~~~~~
ffmpeg_writer.cc:133:3: note: in expansion of macro 'avio_close'
  133 |   avio_close(oc->pb);
      |   ^~~~~~~~~~
ffmpeg_writer.cc: In member function 'int videogfx::FFMPEG_Writer::AddVideoStream(int, int, float, int)':
ffmpeg_writer.cc:168:11: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
  168 |   c = st->codec;
      |           ^~~~~
In file included from ffmpeg_writer.cc:34:
/usr/local/include/libavformat/avformat.h:880:21: note: declared here
  880 |     AVCodecContext *codec;
      |                     ^~~~~
ffmpeg_writer.cc:168:11: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
  168 |   c = st->codec;
      |           ^~~~~
In file included from ffmpeg_writer.cc:34:
/usr/local/include/libavformat/avformat.h:880:21: note: declared here
  880 |     AVCodecContext *codec;
      |                     ^~~~~
ffmpeg_writer.cc:168:11: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
  168 |   c = st->codec;
      |           ^~~~~
In file included from ffmpeg_writer.cc:34:
/usr/local/include/libavformat/avformat.h:880:21: note: declared here
  880 |     AVCodecContext *codec;
      |                     ^~~~~
ffmpeg_writer.cc:177:16: error: 'PIX_FMT_YUV420P' was not declared in this scope; did you mean 'AV_PIX_FMT_YUV420P'?
  177 |   c->pix_fmt = PIX_FMT_YUV420P;
      |                ^~~~~~~~~~~~~~~
      |                AV_PIX_FMT_YUV420P
ffmpeg_writer.cc:180:17: error: 'CODEC_FLAG_GLOBAL_HEADER' was not declared in this scope; did you mean 'AV_CODEC_FLAG_GLOBAL_HEADER'?
  180 |     c->flags |= CODEC_FLAG_GLOBAL_HEADER;
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
      |                 AV_CODEC_FLAG_GLOBAL_HEADER
ffmpeg_writer.cc:199:30: error: 'AVFMT_RAWPICTURE' was not declared in this scope
  199 |   if (!(oc->oformat->flags & AVFMT_RAWPICTURE)) {
      |                              ^~~~~~~~~~~~~~~~
ffmpeg_writer.cc: In member function 'int videogfx::FFMPEG_Writer::AddAudioStream(int, int, int)':
ffmpeg_writer.cc:235:11: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
  235 |   c = st->codec;
      |           ^~~~~
In file included from ffmpeg_writer.cc:34:
/usr/local/include/libavformat/avformat.h:880:21: note: declared here
  880 |     AVCodecContext *codec;
      |                     ^~~~~
ffmpeg_writer.cc:235:11: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
  235 |   c = st->codec;
      |           ^~~~~
In file included from ffmpeg_writer.cc:34:
/usr/local/include/libavformat/avformat.h:880:21: note: declared here
  880 |     AVCodecContext *codec;
      |                     ^~~~~
ffmpeg_writer.cc:235:11: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
  235 |   c = st->codec;
      |           ^~~~~
In file included from ffmpeg_writer.cc:34:
/usr/local/include/libavformat/avformat.h:880:21: note: declared here
  880 |     AVCodecContext *codec;
      |                     ^~~~~
ffmpeg_writer.cc:236:17: error: 'CODEC_ID_MP3' was not declared in this scope; did you mean 'AV_CODEC_ID_MP3'?
  236 |   c->codec_id = CODEC_ID_MP3; //fmt->audio_codec;
      |                 ^~~~~~~~~~~~
      |                 AV_CODEC_ID_MP3
ffmpeg_writer.cc:244:17: error: 'CODEC_FLAG_GLOBAL_HEADER' was not declared in this scope; did you mean 'AV_CODEC_FLAG_GLOBAL_HEADER'?
  244 |     c->flags |= CODEC_FLAG_GLOBAL_HEADER;
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
      |                 AV_CODEC_FLAG_GLOBAL_HEADER
ffmpeg_writer.cc:265:23: error: 'FF_MIN_BUFFER_SIZE' was not declared in this scope
  265 |   audio_outbuf_size = FF_MIN_BUFFER_SIZE;
      |                       ^~~~~~~~~~~~~~~~~~
ffmpeg_writer.cc: In member function 'bool videogfx::FFMPEG_Writer::Start()':
ffmpeg_writer.cc:58:24: error: 'dump_format' was not declared in this scope; did you mean 'av_dump_format'?
   58 | #define av_dump_format dump_format
      |                        ^~~~~~~~~~~
ffmpeg_writer.cc:281:3: note: in expansion of macro 'av_dump_format'
  281 |   av_dump_format(oc, 0, mFilename.c_str(), 1);
      |   ^~~~~~~~~~~~~~
ffmpeg_writer.cc:52:19: error: 'url_fopen' was not declared in this scope
   52 | #define avio_open url_fopen
      |                   ^~~~~~~~~
ffmpeg_writer.cc:283:7: note: in expansion of macro 'avio_open'
  283 |   if (avio_open(&oc->pb, mFilename.c_str(), AVIO_FLAG_WRITE) < 0) {
      |       ^~~~~~~~~
ffmpeg_writer.cc:291:3: error: 'av_write_header' was not declared in this scope; did you mean 'av_write_trailer'?
  291 |   av_write_header(oc);
      |   ^~~~~~~~~~~~~~~
      |   av_write_trailer
ffmpeg_writer.cc: In member function 'void videogfx::FFMPEG_Writer::PushImage(const videogfx::Image<unsigned char>&, int)':
ffmpeg_writer.cc:310:11: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
  310 |   c = st->codec;
      |           ^~~~~
In file included from ffmpeg_writer.cc:34:
/usr/local/include/libavformat/avformat.h:880:21: note: declared here
  880 |     AVCodecContext *codec;
      |                     ^~~~~
ffmpeg_writer.cc:310:11: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
  310 |   c = st->codec;
      |           ^~~~~
In file included from ffmpeg_writer.cc:34:
/usr/local/include/libavformat/avformat.h:880:21: note: declared here
  880 |     AVCodecContext *codec;
      |                     ^~~~~
ffmpeg_writer.cc:310:11: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
  310 |   c = st->codec;
      |           ^~~~~
In file included from ffmpeg_writer.cc:34:
/usr/local/include/libavformat/avformat.h:880:21: note: declared here
  880 |     AVCodecContext *codec;
      |                     ^~~~~
ffmpeg_writer.cc:312:21: error: 'PIX_FMT_YUV420P' was not declared in this scope; did you mean 'AV_PIX_FMT_YUV420P'?
  312 |   if (c->pix_fmt != PIX_FMT_YUV420P) {
      |                     ^~~~~~~~~~~~~~~
      |                     AV_PIX_FMT_YUV420P
ffmpeg_writer.cc:332:28: error: 'AVFMT_RAWPICTURE' was not declared in this scope
  332 |   if (oc->oformat->flags & AVFMT_RAWPICTURE) {
      |                            ^~~~~~~~~~~~~~~~
ffmpeg_writer.cc:343:16: error: 'avcodec_encode_video' was not declared in this scope; did you mean 'avcodec_encode_video2'?
  343 |     out_size = avcodec_encode_video(c, video_outbuf, video_outbuf_size, picture);
      |                ^~~~~~~~~~~~~~~~~~~~
      |                avcodec_encode_video2
ffmpeg_writer.cc:348:14: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
  348 |       if (c->coded_frame->pts != AV_NOPTS_VALUE)
      |              ^~~~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:1776:35: note: declared here
 1776 |     attribute_deprecated AVFrame *coded_frame;
      |                                   ^~~~~~~~~~~
ffmpeg_writer.cc:348:14: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
  348 |       if (c->coded_frame->pts != AV_NOPTS_VALUE)
      |              ^~~~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:1776:35: note: declared here
 1776 |     attribute_deprecated AVFrame *coded_frame;
      |                                   ^~~~~~~~~~~
ffmpeg_writer.cc:348:14: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
  348 |       if (c->coded_frame->pts != AV_NOPTS_VALUE)
      |              ^~~~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:1776:35: note: declared here
 1776 |     attribute_deprecated AVFrame *coded_frame;
      |                                   ^~~~~~~~~~~
ffmpeg_writer.cc:349:27: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
  349 |  pkt.pts= av_rescale_q(c->coded_frame->pts, c->time_base, st->time_base);
      |                           ^~~~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:1776:35: note: declared here
 1776 |     attribute_deprecated AVFrame *coded_frame;
      |                                   ^~~~~~~~~~~
ffmpeg_writer.cc:349:27: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
  349 |  pkt.pts= av_rescale_q(c->coded_frame->pts, c->time_base, st->time_base);
      |                           ^~~~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:1776:35: note: declared here
 1776 |     attribute_deprecated AVFrame *coded_frame;
      |                                   ^~~~~~~~~~~
ffmpeg_writer.cc:349:27: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
  349 |  pkt.pts= av_rescale_q(c->coded_frame->pts, c->time_base, st->time_base);
      |                           ^~~~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:1776:35: note: declared here
 1776 |     attribute_deprecated AVFrame *coded_frame;
      |                                   ^~~~~~~~~~~
ffmpeg_writer.cc:350:13: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
  350 |       if(c->coded_frame->key_frame)
      |             ^~~~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:1776:35: note: declared here
 1776 |     attribute_deprecated AVFrame *coded_frame;
      |                                   ^~~~~~~~~~~
ffmpeg_writer.cc:350:13: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
  350 |       if(c->coded_frame->key_frame)
      |             ^~~~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:1776:35: note: declared here
 1776 |     attribute_deprecated AVFrame *coded_frame;
      |                                   ^~~~~~~~~~~
ffmpeg_writer.cc:350:13: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
  350 |       if(c->coded_frame->key_frame)
      |             ^~~~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:1776:35: note: declared here
 1776 |     attribute_deprecated AVFrame *coded_frame;
      |                                   ^~~~~~~~~~~
ffmpeg_writer.cc: In member function 'void videogfx::FFMPEG_Writer::encodeAudioFrame(const int16*)':
ffmpeg_writer.cc:454:38: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
  454 |     AVCodecContext *c = audioStream->codec;
      |                                      ^~~~~
In file included from ffmpeg_writer.cc:34:
/usr/local/include/libavformat/avformat.h:880:21: note: declared here
  880 |     AVCodecContext *codec;
      |                     ^~~~~
ffmpeg_writer.cc:454:38: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
  454 |     AVCodecContext *c = audioStream->codec;
      |                                      ^~~~~
In file included from ffmpeg_writer.cc:34:
/usr/local/include/libavformat/avformat.h:880:21: note: declared here
  880 |     AVCodecContext *codec;
      |                     ^~~~~
ffmpeg_writer.cc:454:38: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
  454 |     AVCodecContext *c = audioStream->codec;
      |                                      ^~~~~
In file included from ffmpeg_writer.cc:34:
/usr/local/include/libavformat/avformat.h:880:21: note: declared here
  880 |     AVCodecContext *codec;
      |                     ^~~~~
ffmpeg_writer.cc:456:15: error: 'avcodec_encode_audio' was not declared in this scope; did you mean 'avcodec_encode_audio2'?
  456 |     pkt.size= avcodec_encode_audio(c, audio_outbuf, audio_outbuf_size, p);
      |               ^~~~~~~~~~~~~~~~~~~~
      |               avcodec_encode_audio2
ffmpeg_writer.cc:458:12: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
  458 |     if (c->coded_frame && c->coded_frame->pts != AV_NOPTS_VALUE)
      |            ^~~~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:1776:35: note: declared here
 1776 |     attribute_deprecated AVFrame *coded_frame;
      |                                   ^~~~~~~~~~~
ffmpeg_writer.cc:458:12: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
  458 |     if (c->coded_frame && c->coded_frame->pts != AV_NOPTS_VALUE)
      |            ^~~~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:1776:35: note: declared here
 1776 |     attribute_deprecated AVFrame *coded_frame;
      |                                   ^~~~~~~~~~~
ffmpeg_writer.cc:458:12: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
  458 |     if (c->coded_frame && c->coded_frame->pts != AV_NOPTS_VALUE)
      |            ^~~~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:1776:35: note: declared here
 1776 |     attribute_deprecated AVFrame *coded_frame;
      |                                   ^~~~~~~~~~~
ffmpeg_writer.cc:458:30: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
  458 |     if (c->coded_frame && c->coded_frame->pts != AV_NOPTS_VALUE)
      |                              ^~~~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:1776:35: note: declared here
 1776 |     attribute_deprecated AVFrame *coded_frame;
      |                                   ^~~~~~~~~~~
ffmpeg_writer.cc:458:30: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
  458 |     if (c->coded_frame && c->coded_frame->pts != AV_NOPTS_VALUE)
      |                              ^~~~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:1776:35: note: declared here
 1776 |     attribute_deprecated AVFrame *coded_frame;
      |                                   ^~~~~~~~~~~
ffmpeg_writer.cc:458:30: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
  458 |     if (c->coded_frame && c->coded_frame->pts != AV_NOPTS_VALUE)
      |                              ^~~~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:1776:35: note: declared here
 1776 |     attribute_deprecated AVFrame *coded_frame;
      |                                   ^~~~~~~~~~~
ffmpeg_writer.cc:459:32: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
  459 |       pkt.pts= av_rescale_q(c->coded_frame->pts, c->time_base, audioStream->time_base);
      |                                ^~~~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:1776:35: note: declared here
 1776 |     attribute_deprecated AVFrame *coded_frame;
      |                                   ^~~~~~~~~~~
ffmpeg_writer.cc:459:32: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
  459 |       pkt.pts= av_rescale_q(c->coded_frame->pts, c->time_base, audioStream->time_base);
      |                                ^~~~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:1776:35: note: declared here
 1776 |     attribute_deprecated AVFrame *coded_frame;
      |                                   ^~~~~~~~~~~
ffmpeg_writer.cc:459:32: warning: 'AVCodecContext::coded_frame' is deprecated [-Wdeprecated-declarations]
  459 |       pkt.pts= av_rescale_q(c->coded_frame->pts, c->time_base, audioStream->time_base);
      |                                ^~~~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:312,
                 from ffmpeg_writer.cc:34:
/usr/local/include/libavcodec/avcodec.h:1776:35: note: declared here
 1776 |     attribute_deprecated AVFrame *coded_frame;
      |                                   ^~~~~~~~~~~
make[5]: *** [Makefile:530: ffmpeg_writer.lo] Error 1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT unified_writer.lo -MD -MP -MF .deps/unified_writer.Tpo -c unified_writer.cc -o unified_writer.o >/dev/null 2>&1
mv -f .deps/mplayer.Tpo .deps/mplayer.Plo
mv -f .deps/ppm.Tpo .deps/ppm.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -std=c++0x -MT unified_reader.lo -MD -MP -MF .deps/unified_reader.Tpo -c unified_reader.cc -o unified_reader.o >/dev/null 2>&1
mv -f .deps/unified_writer.Tpo .deps/unified_writer.Plo
mv -f .deps/unified_reader.Tpo .deps/unified_reader.Plo
make[5]: Leaving directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx/graphics/fileio'
make[4]: *** [Makefile:368: all-recursive] Error 1
make[4]: Leaving directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx/graphics'
make[3]: *** [Makefile:635: all-recursive] Error 1
make[3]: Leaving directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx'
make[2]: *** [Makefile:476: all] Error 2
make[2]: Leaving directory '/home/anonymous/Downloads/libvideogfx-1.0.9/libvideogfx'
make[1]: *** [Makefile:546: all-recursive] Error 1
make[1]: Leaving directory '/home/anonymous/Downloads/libvideogfx-1.0.9'
make: *** [Makefile:394: all] Error 2

I already have ffmpeg 4.3.1 (latest) compiled and insalled. However, the compile of libvideogfx is still not successful

@farindk
Copy link
Owner

farindk commented Aug 24, 2020

Thanks. The problem is that ffmpeg changes its API all the time :-)
If you don't need the ffmpeg support in libvideogfx, the quick fix would be to simply disable it with ./configure --without-ffmpeg.
I'm not sure when I have time to rewrite the ffmpeg file io.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant