cant install on arch linux :/

Hello, im trying to build panda with makepanda but I keep getting errors which prevent me from continuing. Firstly, it tells me about a load of third party packages that i dont have, well i installed about half of them , the others arent in my repos. Here is my output, appreciate the help :smiley: python2 makepanda/makepanda.py --everything
Generating library cache…
WARNING: Could not locate thirdparty package artoolkit, excluding from build
WARNING: Could not locate thirdparty package fcollada, excluding from build
WARNING: Could not locate thirdparty package fftw, excluding from build
WARNING: Could not locate thirdparty package gles, excluding from build
WARNING: Could not locate thirdparty package gles2, excluding from build
WARNING: Could not locate thirdparty package egl, excluding from build
WARNING: Could not locate thirdparty package osmesa, excluding from build
WARNING: Could not locate thirdparty package opencv, excluding from build
WARNING: Could not locate thirdparty package squish, excluding from build
WARNING: Could not locate thirdparty package vrpn, excluding from build
Generating dependencies…
[ 0%] Building C++ object built/tmp/dtoolbase_composite1.o
[ 0%] Building C++ object built/tmp/dtoolbase_composite2.o
[ 0%] Building C object built/tmp/dtoolbase_lookup3.o
[ 0%] Building C++ object built/tmp/dtoolbase_indent.o
[ 0%] Building C object built/tmp/dtoolutil_gnu_getopt.o
[ 1%] Building C object built/tmp/dtoolutil_gnu_getopt1.o
[ 1%] Building C++ object built/tmp/dtoolutil_composite.o
[ 1%] Building C++ object built/tmp/dtool_dtool.o
[ 1%] Linking dynamic library built/lib/libp3dtool.so
[ 1%] Building Bison object built/tmp/cppParser_cppBison.o
[ 2%] Building C++ object built/tmp/cppParser_composite.o
In file included from dtool/src/cppparser/cppParser_composite2.cxx:4:0,
from dtool/src/cppparser/cppParser_composite.cxx:2:
dtool/src/cppparser/cppExpression.cxx: In member function ‘void* CPPExpression::Result::as_pointer() const’:
dtool/src/cppparser/cppExpression.cxx:135:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
dtool/src/cppparser/cppExpression.cxx:138:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
[ 2%] Linking static library built/tmp/libcppParser.a
[ 2%] Building C++ object built/tmp/prc_composite.o
[ 3%] Building C++ object built/tmp/dconfig_composite.o
[ 3%] Building C++ object built/tmp/interrogatedb_composite.o
[ 3%] Building C++ object built/tmp/dtoolconfig_pydtool.o
[ 3%] Building C++ object built/tmp/dtoolconfig_dtoolconfig.o
[ 3%] Linking dynamic library built/lib/libp3dtoolconfig.so
[ 4%] Building C++ object built/tmp/pystub_pystub.o
[ 4%] Linking dynamic library built/lib/libp3pystub.so
[ 4%] Building C++ object built/tmp/interrogate_composite.o
[ 4%] Linking executable built/bin/interrogate
[ 5%] Building C++ object built/tmp/interrogate_module_interrogate_module.o
[ 5%] Linking executable built/bin/interrogate_module
[ 5%] Building C++ object built/tmp/parse_file_parse_file.o
[ 5%] Linking executable built/bin/parse_file
[ 5%] Building C++ object built/tmp/make-prc-key_makePrcKey.o
[ 6%] Linking executable built/bin/make-prc-key
[ 6%] Building C++ object built/tmp/test_interrogate_test_interrogate.o
[ 6%] Linking executable built/bin/test_interrogate
[ 6%] Building C++ object built/tmp/pandabase_pandabase.o
[ 7%] Building C++ object built/tmp/express_composite1.o
[ 7%] Building C++ object built/tmp/express_composite2.o
[ 7%] Building Interrogate database built/pandac/input/libexpress.in
[ 7%] Building C++ object built/tmp/downloader_composite.o
[ 8%] Building Interrogate database built/pandac/input/libdownloader.in
[ 8%] Building C++ object built/tmp/pandaexpress_pandaexpress.o
[ 8%] Building Interrogate object built/tmp/libpandaexpress_module.o
Referencing Library libdownloader
Referencing Library libexpress
[ 9%] Linking dynamic library built/lib/libpandaexpress.so
[ 9%] Building C++ object built/tmp/pipeline_composite.o
[ 9%] Building C object built/tmp/pipeline_contextSwitch.o
[ 9%] Building Interrogate database built/pandac/input/libpipeline.in
[ 10%] Building C++ object built/tmp/putil_composite1.o
[ 10%] Building C++ object built/tmp/putil_composite2.o
[ 10%] Building Interrogate database built/pandac/input/libputil.in
[ 11%] Building C++ object built/tmp/audio_composite.o
[ 11%] Building Interrogate database built/pandac/input/libaudio.in
[ 11%] Building C++ object built/tmp/event_composite.o
[ 11%] Building Interrogate database built/pandac/input/libevent.in
[ 12%] Building C++ object built/tmp/linmath_composite.o
In file included from panda/src/linmath/lvecBase3.cxx:18:0,
from panda/src/linmath/linmath_composite1.cxx:5,
from panda/src/linmath/linmath_composite.cxx:1:
panda/src/linmath/lvecBase3_src.cxx: In member function ‘int LVecBase3f::setattr(PyObject*, const string&, PyObject*)’:
panda/src/linmath/lvecBase3_src.cxx:107:14: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
In file included from panda/src/linmath/lvecBase3.cxx:21:0,
from panda/src/linmath/linmath_composite1.cxx:5,
from panda/src/linmath/linmath_composite.cxx:1:
panda/src/linmath/lvecBase3_src.cxx: In member function ‘int LVecBase3d::setattr(PyObject*, const string&, PyObject*)’:
panda/src/linmath/lvecBase3_src.cxx:107:14: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
In file included from panda/src/linmath/lvecBase4.cxx:18:0,
from panda/src/linmath/linmath_composite1.cxx:6,
from panda/src/linmath/linmath_composite.cxx:1:
panda/src/linmath/lvecBase4_src.cxx: In member function ‘int LVecBase4f::setattr(PyObject*, const string&, PyObject*)’:
panda/src/linmath/lvecBase4_src.cxx:121:14: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
In file included from panda/src/linmath/lvecBase4.cxx:21:0,
from panda/src/linmath/linmath_composite1.cxx:6,
from panda/src/linmath/linmath_composite.cxx:1:
panda/src/linmath/lvecBase4_src.cxx: In member function ‘int LVecBase4d::setattr(PyObject*, const string&, PyObject*)’:
panda/src/linmath/lvecBase4_src.cxx:121:14: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
[ 12%] Building Interrogate database built/pandac/input/liblinmath.in
[ 13%] Building C++ object built/tmp/mathutil_composite.o
[ 13%] Building Interrogate database built/pandac/input/libmathutil.in
[ 13%] Building C++ object built/tmp/gsgbase_composite.o
[ 13%] Building Interrogate database built/pandac/input/libgsgbase.in
[ 14%] Building C++ object built/tmp/pnmimage_composite.o
[ 14%] Building Interrogate database built/pandac/input/libpnmimage.in
[ 15%] Building C++ object built/tmp/nativenet_composite.o
[ 15%] Building Interrogate database built/pandac/input/libnativenet.in
[ 15%] Building C++ object built/tmp/net_composite.o
[ 15%] Building Interrogate database built/pandac/input/libnet.in
[ 16%] Building C++ object built/tmp/pstatclient_composite.o
[ 16%] Building Interrogate database built/pandac/input/libpstatclient.in
[ 17%] Building C++ object built/tmp/gobj_composite1.o
[ 17%] Building C++ object built/tmp/gobj_composite2.o
[ 17%] Building Interrogate database built/pandac/input/libgobj.in
[ 17%] Building C++ object built/tmp/lerp_composite.o
[ 18%] Building Interrogate database built/pandac/input/liblerp.in
[ 18%] Building C++ object built/tmp/pgraphnodes_composite1.o
[ 18%] Building C++ object built/tmp/pgraphnodes_composite2.o
[ 19%] Building Interrogate database built/pandac/input/libpgraphnodes.in
[ 19%] Building C++ object built/tmp/pgraph_nodePath.o
panda/src/pgraph/nodePath.cxx: In member function ‘const int NodePath::get_instance_count() const’:
panda/src/pgraph/nodePath.cxx:3798:3: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
[ 19%] Building C++ object built/tmp/pgraph_composite1.o
[ 19%] Building C++ object built/tmp/pgraph_composite2.o
[ 20%] Building C++ object built/tmp/pgraph_composite3.o
[ 20%] Building C++ object built/tmp/pgraph_composite4.o
[ 20%] Building Interrogate database built/pandac/input/libpgraph.in
[ 21%] Building C++ object built/tmp/cull_composite.o
[ 21%] Building Interrogate database built/pandac/input/libcull.in
[ 21%] Building C++ object built/tmp/chan_composite.o
[ 21%] Building Interrogate database built/pandac/input/libchan.in
[ 22%] Building C++ object built/tmp/char_composite.o
[ 22%] Building Interrogate database built/pandac/input/libchar.in
[ 23%] Building C++ object built/tmp/dgraph_composite.o
[ 23%] Building Interrogate database built/pandac/input/libdgraph.in
[ 23%] Building C++ object built/tmp/display_composite.o
[ 23%] Building Interrogate database built/pandac/input/libdisplay.in
[ 24%] Building C++ object built/tmp/device_composite.o
[ 24%] Building Interrogate database built/pandac/input/libdevice.in
[ 25%] Building C++ object built/tmp/pnmtext_composite.o
[ 25%] Building Interrogate database built/pandac/input/libpnmtext.in
[ 25%] Building C++ object built/tmp/text_composite.o
[ 25%] Building Interrogate database built/pandac/input/libtext.in
[ 26%] Building C++ object built/tmp/movies_composite1.o
In file included from panda/src/movies/movies_composite1.cxx:11:0:
panda/src/movies/ffmpegAudioCursor.cxx: In constructor ‘FfmpegAudioCursor::FfmpegAudioCursor(FfmpegAudio*)’:
panda/src/movies/ffmpegAudioCursor.cxx:43:7: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1473) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx:43:66: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1473) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx:48:7: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1519) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx:48:38: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1519) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx:55:52: error: ‘CODEC_TYPE_AUDIO’ was not declared in this scope
panda/src/movies/ffmpegAudioCursor.cxx:74:6: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4130) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx:74:42: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4130) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx: In member function ‘void FfmpegAudioCursor::cleanup()’:
panda/src/movies/ffmpegAudioCursor.cxx:141:5: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1699) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx:141:36: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1699) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx: In member function ‘bool FfmpegAudioCursor::reload_buffer()’:
panda/src/movies/ffmpegAudioCursor.cxx:208:17: warning: ‘int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4216) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx:208:74: warning: ‘int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4216) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx: In member function ‘virtual void FfmpegAudioCursor::seek(double)’:
panda/src/movies/ffmpegAudioCursor.cxx:256:6: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4130) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx:256:42: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4130) [-Wdeprecated-declarations]
In file included from panda/src/movies/movies_composite1.cxx:14:0:
panda/src/movies/ffmpegVideoCursor.cxx: In constructor ‘FfmpegVideoCursor::FfmpegVideoCursor(FfmpegVideo*)’:
panda/src/movies/ffmpegVideoCursor.cxx:50:7: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1473) [-Wdeprecated-declarations]
panda/src/movies/ffmpegVideoCursor.cxx:50:66: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1473) [-Wdeprecated-declarations]
panda/src/movies/ffmpegVideoCursor.cxx:55:7: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1519) [-Wdeprecated-declarations]
panda/src/movies/ffmpegVideoCursor.cxx:55:38: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1519) [-Wdeprecated-declarations]
panda/src/movies/ffmpegVideoCursor.cxx:62:52: error: ‘CODEC_TYPE_VIDEO’ was not declared in this scope
panda/src/movies/ffmpegVideoCursor.cxx:79:6: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4130) [-Wdeprecated-declarations]
panda/src/movies/ffmpegVideoCursor.cxx:79:42: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4130) [-Wdeprecated-declarations]
panda/src/movies/ffmpegVideoCursor.cxx: In member function ‘void FfmpegVideoCursor::cleanup()’:
panda/src/movies/ffmpegVideoCursor.cxx:145:5: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1699) [-Wdeprecated-declarations]
panda/src/movies/ffmpegVideoCursor.cxx:145:36: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1699) [-Wdeprecated-declarations]
panda/src/movies/ffmpegVideoCursor.cxx: In member function ‘void FfmpegVideoCursor::seek(double)’:
panda/src/movies/ffmpegVideoCursor.cxx:273:6: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4130) [-Wdeprecated-declarations]
panda/src/movies/ffmpegVideoCursor.cxx:273:42: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4130) [-Wdeprecated-declarations]
In file included from panda/src/movies/movies_composite1.cxx:16:0:
panda/src/movies/ffmpegVirtualFile.cxx: In static member function ‘static void FfmpegVirtualFile::register_protocol()’:
panda/src/movies/ffmpegVirtualFile.cxx:181:33: error: ‘av_register_protocol’ was not declared in this scope
Storing dependency cache.
Elapsed Time: 10 min 27 sec

Build terminated.

Welcome to the forums!

I believe Panda3D is in the AUR:
aur.archlinux.org/packages.php?ID=34151&detail=1
It probably includes patches that are necessary to compile Panda3D on ArchLinux.

1 Like

Ah, thanks alot, it didnt even occur to me to look there, even though i usually go to the aur for anything that isnt in the repos. Cheers, installing it now

[EDIT]
Strange, i ran makepkg -s, it downloaded and now it is running makepanda, but i still get WARNING: Could not locate thirdparty package artoolkit, excluding from build
WARNING: Could not locate thirdparty package fcollada, excluding from build
WARNING: Could not locate thirdparty package fftw, excluding from build
WARNING: Could not locate thirdparty package osmesa, excluding from build
WARNING: Could not locate thirdparty package opencv, excluding from build
WARNING: Could not locate thirdparty package squish, excluding from build
WARNING: Could not locate thirdparty package vrpn, excluding from build

And i still get

[ 25%] Building C++ object built/tmp/movies_composite1.o
In file included from panda/src/movies/movies_composite1.cxx:11:0:
panda/src/movies/ffmpegAudioCursor.cxx: In constructor ‘FfmpegAudioCursor::FfmpegAudioCursor(FfmpegAudio*)’:
panda/src/movies/ffmpegAudioCursor.cxx:43:7: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1473) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx:43:66: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1473) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx:48:7: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1519) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx:48:38: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1519) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx:55:52: error: ‘CODEC_TYPE_AUDIO’ was not declared in this scope
panda/src/movies/ffmpegAudioCursor.cxx:74:6: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4130) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx:74:42: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4130) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx: In member function ‘void FfmpegAudioCursor::cleanup()’:
panda/src/movies/ffmpegAudioCursor.cxx:141:5: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1699) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx:141:36: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1699) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx: In member function ‘bool FfmpegAudioCursor::reload_buffer()’:
panda/src/movies/ffmpegAudioCursor.cxx:208:17: warning: ‘int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4216) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx:208:74: warning: ‘int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4216) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx: In member function ‘virtual void FfmpegAudioCursor::seek(double)’:
panda/src/movies/ffmpegAudioCursor.cxx:256:6: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4130) [-Wdeprecated-declarations]
panda/src/movies/ffmpegAudioCursor.cxx:256:42: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4130) [-Wdeprecated-declarations]
In file included from panda/src/movies/movies_composite1.cxx:14:0:
panda/src/movies/ffmpegVideoCursor.cxx: In constructor ‘FfmpegVideoCursor::FfmpegVideoCursor(FfmpegVideo*)’:
panda/src/movies/ffmpegVideoCursor.cxx:50:7: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1473) [-Wdeprecated-declarations]
panda/src/movies/ffmpegVideoCursor.cxx:50:66: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1473) [-Wdeprecated-declarations]
panda/src/movies/ffmpegVideoCursor.cxx:55:7: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1519) [-Wdeprecated-declarations]
panda/src/movies/ffmpegVideoCursor.cxx:55:38: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1519) [-Wdeprecated-declarations]
panda/src/movies/ffmpegVideoCursor.cxx:62:52: error: ‘CODEC_TYPE_VIDEO’ was not declared in this scope
panda/src/movies/ffmpegVideoCursor.cxx:79:6: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4130) [-Wdeprecated-declarations]
panda/src/movies/ffmpegVideoCursor.cxx:79:42: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4130) [-Wdeprecated-declarations]
panda/src/movies/ffmpegVideoCursor.cxx: In member function ‘void FfmpegVideoCursor::cleanup()’:
panda/src/movies/ffmpegVideoCursor.cxx:145:5: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1699) [-Wdeprecated-declarations]
panda/src/movies/ffmpegVideoCursor.cxx:145:36: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1699) [-Wdeprecated-declarations]
panda/src/movies/ffmpegVideoCursor.cxx: In member function ‘void FfmpegVideoCursor::seek(double)’:
panda/src/movies/ffmpegVideoCursor.cxx:273:6: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4130) [-Wdeprecated-declarations]
panda/src/movies/ffmpegVideoCursor.cxx:273:42: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4130) [-Wdeprecated-declarations]
In file included from panda/src/movies/movies_composite1.cxx:16:0:
panda/src/movies/ffmpegVirtualFile.cxx: In static member function ‘static void FfmpegVirtualFile::register_protocol()’:
panda/src/movies/ffmpegVirtualFile.cxx:181:33: error: ‘av_register_protocol’ was not declared in this scope
Storing dependency cache.
Elapsed Time: 10 min 15 sec

Build terminated.
==> ERROR: A failure occurred in build().
Aborting…

Hmm, bah. Anyhow, the issue in particular has been resolved in the latest CVS version of Panda3D, so the easiest way to go would be just to install “panda3d-cvs” (if I recall correctly) from the AUR.

right, thanks for the reply im trying that now. What are the differences in the cvs version?

[EDIT]

[ 37%] Building C++ object built/tmp/fmod_audio_fmod_audio_composite1.o
In file included from panda/src/audiotraits/fmod_audio_composite1.cxx:3:0:
panda/src/audiotraits/fmodAudioManager.cxx: In member function ‘FMOD::DSP* FmodAudioManager::make_dsp(const FilterProperties::FilterConfig&)’:
panda/src/audiotraits/fmodAudioManager.cxx:242:51: error: ‘FMOD_DSP_TYPE_REVERB’ was not declared in this scope
panda/src/audiotraits/fmodAudioManager.cxx:311:28: error: ‘FMOD_DSP_CHORUS_FEEDBACK’ was not declared in this scope
panda/src/audiotraits/fmodAudioManager.cxx:314:28: error: ‘FMOD_DSP_REVERB_DRYMIX’ was not declared in this scope
panda/src/audiotraits/fmodAudioManager.cxx:315:28: error: ‘FMOD_DSP_REVERB_WETMIX’ was not declared in this scope
panda/src/audiotraits/fmodAudioManager.cxx:316:28: error: ‘FMOD_DSP_REVERB_ROOMSIZE’ was not declared in this scope
panda/src/audiotraits/fmodAudioManager.cxx:317:28: error: ‘FMOD_DSP_REVERB_DAMP’ was not declared in this scope
panda/src/audiotraits/fmodAudioManager.cxx:318:28: error: ‘FMOD_DSP_REVERB_WIDTH’ was not declared in this scope
Storing dependency cache.
Elapsed Time: 15 min 52 sec
The following command returned a non-zero value: g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/fmod_audio_fmod_audio_composite1.o -Ibuilt/tmp -Ibuilt/include -I/usr/include/python2.7 -I/usr/include/fmodex -DMAKEPANDA= -Ipanda/src/audiotraits -pthread -msse2 -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DBUILDING_FMOD_AUDIO panda/src/audiotraits/fmod_audio_composite1.cxx
Build terminated.
==> ERROR: A failure occurred in build().
Aborting…

:frowning:

Many changes unrelated to your issue, but if you want to hack this particular fix in, edit panda/src/movies/ffmpegVirtualFile.cxx, and find this block:

#if LIBAVFORMAT_VERSION_INT < 3415296
  ::register_protocol(&protocol);
#else
  av_register_protocol(&protocol);
#endif

Replace it with:

#if LIBAVFORMAT_VERSION_INT < 3415296
  ::register_protocol(&protocol);
#elif LIBAVFORMAT_VERSION_MAJOR < 53
  av_register_protocol(&protocol);
#else
  av_register_protocol2(&protocol, sizeof(protocol));
#endif

As for the FMOD issue: I’m sorry, I’m afraid you’ll need to revert to FMOD Ex 4.34.* for it to compile correctly at this moment.

Ill try your hack now, thanks, but as for fmod, i cant seem to find anywhere i can get outdated versions of fmod?

On the FMOD site itself:
fmod.org/index.php/download/find

Thanks!

Simpler: add --no-fmodex to the makepanda.py line in your PKGBUILD.

It’s a known issue, if you read the comments on AUR. I didn’t add the line, as I hoped this issue would be resolved soon on the Panda side. I’ll patch the PKGBUILD ASAP.

Easy. Just use pip to install panda3d.

pacman -S python-pip

pip install panda3d