[SOLVED] Hello, debian enthusiast here

Hi all. I am a debian enthusiast who want to experiment with 3d video games.

Has anyone been abe to install Panda in debian Wheezy (testing)

I am trying to compile it right now, but I am stuck in the middle of the process.

Adios

Zeke

PD: Sorry my english :S

I’d simply try to install the version for squeeze. You’ll probably need to downgrade some dependencies though.

If you still want to build it, what errors does makepanda raise?

Hi again. I had some problems with flex, but was my mistake. I solved it and ran makepanda.py --everything

I had this output.

makepanda/makepanda.py --everything
WARNING: Could not locate thirdparty package eigen, excluding from build
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 ffmpeg, excluding from build
WARNING: Could not locate thirdparty package swscale, excluding from build
WARNING: Could not locate thirdparty package fftw, excluding from build
WARNING: Could not locate thirdparty package fmodex, excluding from build
WARNING: Could not locate thirdparty package freetype, excluding from build
WARNING: Could not locate thirdparty package gl, 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 nvidiacg, excluding from build
WARNING: Could not locate thirdparty package ode, excluding from build
WARNING: Could not locate thirdparty package openal, 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 tiff, excluding from build
WARNING: Could not locate thirdparty package vrpn, excluding from build
WARNING: Could not locate thirdparty package bullet, excluding from build
WARNING: Could not locate thirdparty package rocket, excluding from build
WARNING: Could not locate pkg-config package gtk+-2.0, excluding from build
WARNING: Could not locate thirdparty package jpeg, excluding from build
WARNING: Could not locate thirdparty package openssl, excluding from build
WARNING: Could not locate thirdparty package png, excluding from build
WARNING: Could not locate thirdparty package zlib, excluding from build
WARNING: Could not locate thirdparty package python, excluding from build
WARNING: Could not locate thirdparty package x11, excluding from build
WARNING: Could not locate thirdparty package xrandr, excluding from build
WARNING: Could not locate thirdparty package xf86dga, excluding from build
WARNING: Could not locate thirdparty package xcursor, excluding from build
Generating dependencies...
[  0%] Building C++ object built/tmp/p3dtoolbase_composite1.o
[  0%] Building C++ object built/tmp/p3dtoolbase_composite2.o
[  0%] Building C object built/tmp/p3dtoolbase_lookup3.o
[  0%] Building C++ object built/tmp/p3dtoolbase_indent.o
[  0%] Building C++ object built/tmp/p3dtoolutil_composite1.o
[  1%] Building C++ object built/tmp/p3dtoolutil_composite2.o
[  1%] Building C++ object built/tmp/p3dtool_dtool.o
[  1%] Linking dynamic library built/lib/libp3dtool.so
[  1%] Building Bison object built/tmp/p3cppParser_cppBison.o
[  2%] Building C++ object built/tmp/p3cppParser_composite1.o
[  2%] Building C++ object built/tmp/p3cppParser_composite2.o
In file included from dtool/src/cppparser/p3cppParser_composite2.cxx:4:0:
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/libp3cppParser.a
[  3%] Building C++ object built/tmp/p3prc_composite1.o
[  3%] Building C++ object built/tmp/p3prc_composite2.o
[  3%] Building C++ object built/tmp/p3dconfig_composite1.o
[  3%] Building C++ object built/tmp/p3interrogatedb_composite1.o
[  4%] Building C++ object built/tmp/p3interrogatedb_composite2.o
[  4%] Building C++ object built/tmp/p3dtoolconfig_pydtool.o
[  4%] Building C++ object built/tmp/p3dtoolconfig_dtoolconfig.o
[  4%] Linking dynamic library built/lib/libp3dtoolconfig.so
[  5%] Building C++ object built/tmp/p3pystub_pystub.o
[  5%] Linking dynamic library built/lib/libp3pystub.so
[  5%] Building C++ object built/tmp/interrogate_composite1.o
[  5%] Building C++ object built/tmp/interrogate_composite2.o
[  6%] Linking executable built/bin/interrogate
[  6%] Building C++ object built/tmp/interrogate_module_interrogate_module.o
[  6%] Linking executable built/bin/interrogate_module
[  6%] Building C++ object built/tmp/parse_file_parse_file.o
[  6%] Linking executable built/bin/parse_file
[  7%] Building C++ object built/tmp/test_interrogate_test_interrogate.o
[  7%] Linking executable built/bin/test_interrogate
[  7%] Building C++ object built/tmp/p3pandabase_pandabase.o
[  7%] Building C++ object built/tmp/p3express_composite1.o
[  8%] Building C++ object built/tmp/p3express_composite2.o
In file included from panda/src/express/p3express_composite2.cxx:23:0:
panda/src/express/virtualFileMountRamdisk.cxx: In member function ‘virtual std::istream* VirtualFileMountRamdisk::open_read_file(const Filename&) const’:
panda/src/express/virtualFileMountRamdisk.cxx:245:12: warning: converting ‘false’ to pointer type ‘std::istream* {aka std::basic_istream<char>*}’ [-Wconversion-null]
panda/src/express/virtualFileMountRamdisk.cxx: In member function ‘virtual std::ostream* VirtualFileMountRamdisk::open_write_file(const Filename&, bool)’:
panda/src/express/virtualFileMountRamdisk.cxx:266:12: warning: converting ‘false’ to pointer type ‘std::ostream* {aka std::basic_ostream<char>*}’ [-Wconversion-null]
panda/src/express/virtualFileMountRamdisk.cxx: In member function ‘virtual std::ostream* VirtualFileMountRamdisk::open_append_file(const Filename&)’:
panda/src/express/virtualFileMountRamdisk.cxx:291:12: warning: converting ‘false’ to pointer type ‘std::ostream* {aka std::basic_ostream<char>*}’ [-Wconversion-null]
panda/src/express/virtualFileMountRamdisk.cxx: In member function ‘virtual std::iostream* VirtualFileMountRamdisk::open_read_write_file(const Filename&, bool)’:
panda/src/express/virtualFileMountRamdisk.cxx:311:12: warning: converting ‘false’ to pointer type ‘std::iostream* {aka std::basic_iostream<char>*}’ [-Wconversion-null]
panda/src/express/virtualFileMountRamdisk.cxx: In member function ‘virtual std::iostream* VirtualFileMountRamdisk::open_read_append_file(const Filename&)’:
panda/src/express/virtualFileMountRamdisk.cxx:331:12: warning: converting ‘false’ to pointer type ‘std::iostream* {aka std::basic_iostream<char>*}’ [-Wconversion-null]
[  8%] Building Interrogate database built/pandac/input/libp3express.in
[  8%] Building C++ object built/tmp/p3downloader_composite1.o
[  9%] Building C++ object built/tmp/p3downloader_composite2.o
[  9%] Building Interrogate database built/pandac/input/libp3downloader.in
[  9%] Building C++ object built/tmp/pandaexpress_pandaexpress.o
[ 10%] Building Interrogate object built/tmp/libpandaexpress_module.o
[ 10%] Linking dynamic library built/lib/libpandaexpress.so
[ 10%] Building C++ object built/tmp/p3pipeline_composite1.o
In file included from built/include/nodePointerTo.h:85:0,
                 from panda/src/pipeline/pipelineCyclerTrueImpl.h:26,
                 from panda/src/pipeline/pipelineCyclerBase.h:25,
                 from panda/src/pipeline/pipelineCycler.h:19,
                 from panda/src/pipeline/cycleDataLockedReader.h:21,
                 from panda/src/pipeline/cycleDataLockedReader.cxx:15,
                 from panda/src/pipeline/p3pipeline_composite1.cxx:15:
built/include/nodePointerTo.I: In instantiation of ‘NodePointerTo<T>& NodePointerTo<T>::operator=(const NodePointerTo<T>&) [with T = CycleData]’:
panda/src/pipeline/pipelineCyclerTrueImpl.I:466:30:   required from here
built/include/nodePointerTo.I:136:3: error: ‘reassign’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
built/include/nodePointerTo.I:136:3: note: declarations in dependent base ‘NodePointerToBase<CycleData>’ are not found by unqualified lookup
built/include/nodePointerTo.I:136:3: note: use ‘this->reassign’ instead
Storing dependency cache.
Elapsed Time: 56 sec
The following command returned a non-zero value: g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/p3pipeline_composite1.o -Ibuilt/tmp -Ibuilt/include -I/usr/include/python2.7 -DMAKEPANDA= -Ipanda/src/pipeline -pthread -msse2 -O2 -DBUILDING_PANDA panda/src/pipeline/p3pipeline_composite1.cxx
Build terminated.

Any ideas?

I’ll try to downgrade the packages required to panda 1.8, but probably I will make a mess in my computer. One thing is sure, I’ll have fun doing this.

Adios

Zeke

Hi all again.

I’ve finally been able to install panda3d in debian testing (wheezy)

The packages that were needed from the squeeze repos where:

libavcodec52
libavformat52
libavutil49
libcv2.1
libcaux2.1
libhighgui2.1
libjpeg62
libosmesa6
libssl0.9.8
libwscale0
nvidia-cg-toolkit
python-pwm
libpython2.6
python-wxversion

The mess was python-profiler, wich is just recomended. I installed version 2.7 instead 2.6. Hope there is no problem with that.

Greetings

Zeke

I just made a test, worked flalwessly…

I am a happy man now.

Adios

Zeke