[FFmpeg-devel] Qualification Task-PAF Playback System
Lily Zhang
lilyruo
Sat Mar 29 19:43:38 CET 2008
Dear All,
I would like to work on PAF Playback System for Qualification Task. I came
across the following errors when I compile the paf_coder provide on
http://cyxdown.free.fr/pafdec.
g++ -g -O -Wall -Wuninitialized -Wno-multichar -MMD -c bmp.cpp -o bmp.o
writer.h:7: warning: 'struct ImageWriter' has virtual functions but
non-virtual destructor
writer.h:13: warning: 'struct SoundWriter' has virtual functions but
non-virtual destructor
g++ -g -O -Wall -Wuninitialized -Wno-multichar -MMD -c paf_decoder.cpp -o
paf_decoder.o
writer.h:7: warning: 'struct ImageWriter' has virtual functions but
non-virtual destructor
writer.h:13: warning: 'struct SoundWriter' has virtual functions but
non-virtual destructor
g++ -g -O -Wall -Wuninitialized -Wno-multichar -MMD -c file.cpp -o file.o
file.cpp:5: warning: 'struct File_impl' has virtual functions but
non-virtual destructor
file.cpp:16: warning: 'struct stdFile' has virtual functions but non-virtual
destructor
g++ -g -O -Wall -Wuninitialized -Wno-multichar -MMD -c main.cpp -o main.o
g++ -g -O -Wall -Wuninitialized -Wno-multichar -MMD -c png.cpp -o png.o
png.cpp:3:17: warning: png.h: No such file or directory
writer.h:7: warning: 'struct ImageWriter' has virtual functions but
non-virtual destructor
writer.h:13: warning: 'struct SoundWriter' has virtual functions but
non-virtual destructor
png.cpp: In member function 'virtual void PngFileWriter::Write(const uint8*,
int, const uint8*)':
png.cpp:45: error: 'png_struct' was not declared in this scope
png.cpp:45: error: 'png' was not declared in this scope
png.cpp:45: error: 'PNG_LIBPNG_VER_STRING' was not declared in this scope
png.cpp:45: error: 'png_create_write_struct' was not declared in this scope
png.cpp:49: error: 'png_info' was not declared in this scope
png.cpp:49: error: 'png_create_info_struct' was not declared in this scope
png.cpp:53: error: 'png_init_io' was not declared in this scope
png.cpp:55: error: 'PNG_COLOR_TYPE_PALETTE' was not declared in this scope
png.cpp:55: error: 'PNG_INTERLACE_NONE' was not declared in this scope
png.cpp:55: error: 'PNG_COMPRESSION_TYPE_DEFAULT' was not declared in this
scope
png.cpp:55: error: 'PNG_FILTER_TYPE_DEFAULT' was not declared in this scope
png.cpp:55: error: 'png_set_IHDR' was not declared in this scope
png.cpp:57: error: 'png_color' was not declared in this scope
png.cpp:57: error: 'png_pal' was not declared in this scope
png.cpp:57: error: expected primary-expression before ')' token
png.cpp:57: error: expected `;' before 'png_malloc'
png.cpp:64: error: 'PNG_MAX_PALETTE_LENGTH' was not declared in this scope
png.cpp:64: error: 'png_set_PLTE' was not declared in this scope
png.cpp:66: error: 'png_write_info' was not declared in this scope
png.cpp:67: error: 'png_set_flush' was not declared in this scope
png.cpp:69: error: 'png_byte' was not declared in this scope
png.cpp:69: error: 'png_scanlines' was not declared in this scope
png.cpp:72: error: expected primary-expression before ')' token
png.cpp:72: error: expected `;' before 'src'
png.cpp:76: error: 'png_write_image' was not declared in this scope
png.cpp:78: error: 'png_write_end' was not declared in this scope
png.cpp:80: error: 'png_free' was not declared in this scope
png.cpp:82: error: 'png_destroy_write_struct' was not declared in this scope
make: *** [png.o] Error 1
The png.h can't be found, and I guess it's the problem why all the struct
and functions are not declared. Any one came across the same problem?
Platform: Ubuntu 7.10Ubuntu 7.10
Compiler: g++
Text Editor: Emacs
yours,
Lily
--
Ruoruo Zhang(Lily)
Ming Hsieh Department of Electrical Engineering
University of Southern California
Tel: 001-213-2715173(Mobile)
More information about the ffmpeg-devel
mailing list