More ffmpeg issues

OK…

Different machine, fresh install of Jaunty with X installed this time.

Got a bit over an hour into the compile when it threw a bunch of ffmpeg errors at me. I restarted and got them again. I captured as much as I could while the went past…


joe@BE-Server:/home/panda-source/panda3d# makepanda/makepanda.py --everything --installer

-------------------------------------------------------------------
Makepanda Initial Status Report
Makepanda: Compiler: LINUX
Makepanda: Optimize: 3
Makepanda: Keep Pkg: PYTHON ZLIB PNG JPEG TIFF VRPN FMODEX OPENAL NVIDIACG OPENSSL FREETYPE FFTW ARTOOLKIT SQUISH ODE OPENCV FFMPEG FCOLLADA PLUGIN PANDATOOL
Makepanda: Omit Pkg: MAYA6 MAYA65 MAYA7 MAYA8 MAYA85 MAYA2008 MAYA2009 MAX6 MAX7 MAX8 MAX9 MAX2009 MAX2010 DX8 DX9 TINYXML DIRECTCAM NPAPI
Makepanda: Verbose vs. Quiet Level: 1
Makepanda: Don't generate API reference manual
Makepanda: Version ID: 1.7.0
Makepanda: I cannot locate SDK for MAYA6
Makepanda: I have automatically added this command-line option: --no-maya6
Makepanda: I cannot locate SDK for MAYA65
Makepanda: I have automatically added this command-line option: --no-maya65
Makepanda: I cannot locate SDK for MAYA7
Makepanda: I have automatically added this command-line option: --no-maya7
Makepanda: I cannot locate SDK for MAYA8
Makepanda: I have automatically added this command-line option: --no-maya8
Makepanda: I cannot locate SDK for MAYA85
Makepanda: I have automatically added this command-line option: --no-maya85
Makepanda: I cannot locate SDK for MAYA2008
Makepanda: I have automatically added this command-line option: --no-maya2008
Makepanda: I cannot locate SDK for MAYA2009
Makepanda: I have automatically added this command-line option: --no-maya2009
Makepanda: I cannot locate SDK for TINYXML in thirdparty directory.
Makepanda: I have automatically added this command-line option: --no-tinyxml
Makepanda: I cannot locate SDK for NPAPI in thirdparty directory.
Makepanda: I have automatically added this command-line option: --no-npapi
-------------------------------------------------------------------

Generating dependencies...
g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/movies_composite1.o -I"/usr/include/python2.6" -I"thirdparty/linux-libs-a/ffmpeg/include" -I"built/tmp" -I"built/include" -Ipanda/src/movies -O2 -DBUILDING_PANDA "panda/src/movies/movies_composite1.cxx"
In file included from panda/src/movies/movies_composite1.cxx:11:
panda/src/movies/ffmpegAudioCursor.cxx:19:34: error: libavcodec/avcodec.h: No such file or directory
panda/src/movies/ffmpegAudioCursor.cxx:20:36: error: libavformat/avformat.h: No such file or directory
In file included from panda/src/movies/movies_composite1.cxx:14:
panda/src/movies/ffmpegVideoCursor.cxx:23:34: error: libswscale/swscale.h: No such file or directory
In file included from panda/src/movies/movies_composite1.cxx:16:
panda/src/movies/ffmpegVirtualFile.cxx:22:32: error: libavformat/avio.h: No such file or directory
In file included from panda/src/movies/movies_composite1.cxx:11:
panda/src/movies/ffmpegAudioCursor.cxx:19:34: error: libavcodec/avcodec.h: No such file or directory
panda/src/movies/ffmpegAudioCursor.cxx:20:36: error: libavformat/avformat.h: No such file or directory
In file included from panda/src/movies/movies_composite1.cxx:14:
panda/src/movies/ffmpegVideoCursor.cxx:23:34: error: libswscale/swscale.h: No such file or directory
In file included from panda/src/movies/movies_composite1.cxx:16:
panda/src/movies/ffmpegVirtualFile.cxx:22:32: error: libavformat/avio.h: No such file or directory
g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/movies_composite1.o -I"/usr/include/python2.6" -I"thirdparty/linux-libs-a/ffmpeg/include" -I"built/tmp" -I"built/include" -Ipanda/src/movies -O2 -DBUILDING_PANDA "panda/src/movies/movies_composite1.cxx"
In file included from panda/src/movies/movies_composite1.cxx:11:
panda/src/movies/ffmpegAudioCursor.cxx:19:34: error: libavcodec/avcodec.h: No such file or directory
panda/src/movies/ffmpegAudioCursor.cxx:20:36: error: libavformat/avformat.h: No such file or directory
In file included from panda/src/movies/movies_composite1.cxx:14:
panda/src/movies/ffmpegVideoCursor.cxx:23:34: error: libswscale/swscale.h: No such file or directory
In file included from panda/src/movies/movies_composite1.cxx:16:
panda/src/movies/ffmpegVirtualFile.cxx:22:32: error: libavformat/avio.h: No such file or directory
^CStoring dependency cache.
bash: Generating: command not found
joe@BE-Server:/home/panda-source/panda3d# g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/movies_composite1.o -I"/usr/include/python2.6" -I"thirdparty/linux-libs-a/ffmpeg/include" -I"built/tmp" -I"built/include" -Ipanda/src/movies -O2 -DBUILDING_PANDA "panda/src/movies/movies_composite1.cxx"
In file included from panda/src/movies/movies_composite1.cxx:11:
panda/src/movies/ffmpegAudioCursor.cxx:19:34: error: libavcodec/avcodec.h: No such file or directory
panda/src/movies/ffmpegAudioCursor.cxx:20:36: error: libavformat/avformat.h: No such file or directory
In file included from panda/src/movies/movies_composite1.cxx:14:
panda/src/movies/ffmpegVideoCursor.cxx:23:34: error: libswscale/swscale.h: No such file or directory
In file included from panda/src/movies/movies_composite1.cxx:16:
panda/src/movies/ffmpegVirtualFile.cxx:22:32: error: libavformat/avio.h: No such file or directory

There was more, but this was the start of the trouble.

Any thoughts? I am not getting a lot of time tonite to work on it, but I will be trying it again tomorrow.

Thanks!

You probably used the ffmpeg thirdparty package from 1.6.2. Which is an ancient one - since then we’ve upgraded to a recent version, so the latest CVS version of Panda is no longer compatible with the 1.6.2 thirdparty package.

You’ll need to get a new version of FFMPEG, configure with “–disable-static --enable-shared --prefix path/to/thirdparty/linux-libs-a/ffmpeg” and “make && make install” it.

Not being pedantic, but for anyone else that may come along and follow these instructions, the configure command should be:

“–disable-static --enable-shared --prefix=path/to/thirdparty/linux-libs-a/ffmpeg”

That got it going again. Hit another problem, but I am going to work on it a bit before I come back…

OK, I am coming back for it after all.

xf86dga.h

It is not being found. Is this part of a package I need to install? Which package would it be? Google didn’t really narrow it down for me much, unfortunately, and the only thread I found here concerning it was from '04, where it was apparently included into the build.

Thanks!

$ apt-file search extensions/xf86dga.h
x11proto-xf86dga-dev: /usr/include/X11/extensions/xf86dga.h

So, the package “x11proto-xf86dga-dev”.

OK, Hopefully the last question. I finished the build, and got a .deb file. When I try to install it, I get some error messages.

Here is the screencap:


root@BE-Server:/home/panda-source/panda3d# dpkg -i ./panda3d_1.7.0_i386.deb
(Reading database ... 113673 files and directories currently installed.)
Preparing to replace panda3d 1.7.0 (using ./panda3d_1.7.0_i386.deb) ...
Unpacking replacement panda3d ...
running ldconfig
Setting up panda3d (1.7.0) ...
running ldconfig

Processing triggers for shared-mime-info ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
/sbin/ldconfig.real: /usr/lib/panda3d/libavutil.so.50 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/panda3d/libavdevice.so.52 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/panda3d/libswscale.so.0 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/panda3d/libavformat.so.52 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/panda3d/libavcodec.so.52 is not a symbolic link

Thanks for the help so far, Pro… I am learning the apt system while I am at this.

That’s just related to the way you’ve built ffmpeg. I think those are warning messages and you can ignore them anyways.

Actually, I should have grabbed a bit larger screenshot. The next line is a command prompt again. It stops the install at that point.

Eh, at the time the warnings are displayed, installation has already completed.