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 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.