Ubuntu 13.04 Raring ringtail

Make a long story short, here are download links:
Panda3D 1.8.1-raring
docs.google.com/file/d/0B5KBmyj … sp=sharing

needed for libRocket (you have to export the library path!)
docs.google.com/file/d/0B5KBmyj … sp=sharing

I would be very happy if someone could test this - I won’t upgrade to raring this week, as it seems. Have fun! :slight_smile:

GLES can be included by installing the packages libgles1-mesa-dev, libgles2-mesa-dev and libegl1-mesa-dev. However, support for GLES isn’t all that prevalent yet in desktop computers, so it’s not something to worry about.

I know GLES is for Embedded Systems, but for completeness, now it’s in. I forgot libgles1-mesa-dev. In some minutes, the build is ready and I can upload it :slight_smile:

EDIT: but now, I drop GLES2. Got an error while compiling:

[T1] Building C++ object built/tmp/p3gles2gsg_gles2gsg.o
[T5] Building C++ object built/tmp/pandaegg_pandaegg.o
[T5] Building Interrogate object built/tmp/libpandaegg_module.o
Referencing Library libp3egg
Referencing Library libp3egg2pg
[T5] Linking dynamic library built/lib/libpandaegg.so
[T5] Building C++ object built/tmp/p3mesadisplay_composite1.o
In file included from panda/src/glstuff/glstuff_src.cxx:30:0,
                 from panda/src/gles2gsg/gles2gsg.cxx:20:
panda/src/glstuff/glGraphicsStateGuardian_src.cxx: In Elementfunktion »virtual void GLES2GraphicsStateGuardian::reset()«:
panda/src/glstuff/glGraphicsStateGuardian_src.cxx:1069:21: Fehler: ungültige Umwandlung von »void (*)(GLuint, GLsizei, const GLchar* const*, const GLint*) {aka void (*)(unsigned int, int, const char* const*, const int*)}« in »PFNGLSHADERSOURCEPROC {aka void (*)(unsigned int, int, const char**, const int*)}« [-fpermissive]
[T4] Building C++ object built/tmp/p3x11display_composite1.o
In file included from built/include/get_x11.h:58:0,
                 from panda/src/x11display/x11GraphicsPipe.h:24,
                 from panda/src/x11display/config_x11display.cxx:16,
                 from panda/src/x11display/p3x11display_composite1.cxx:1:
/usr/include/X11/extensions/xf86dga.h:9:2: Warnung: #warning "xf86dga.h is obsolete and may be removed in the future." [-Wcpp]
/usr/include/X11/extensions/xf86dga.h:10:2: Warnung: #warning "include <X11/extensions/Xxf86dga.h> instead." [-Wcpp]
The following command returned a non-zero value: g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/p3gles2gsg_gles2gsg.o -Ibuilt/tmp -Ibuilt/include -I/usr/include/python2.7 -I/usr/include/eigen3 -DMAKEPANDA= -Ipanda/src/gles2gsg -Ipanda/src/glstuff -pthread -msse2 -O2 -DBUILDING_PANDAGLES2 panda/src/gles2gsg/gles2gsg.cxx
# then just one thread, with verbose:

[ 46%] Building C++ object built/tmp/p3glgsg_glgsg.o
g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/p3glgsg_glgsg.o -Ibuilt/tmp -Ibuilt/include -I/usr/include/python2.7 -I/usr/include/eigen3 -DMAKEPANDA= -Ipanda/src/glgsg -Ipanda/src/glstuff -pthread -msse2 -O2 -DBUILDING_PANDAGL panda/src/glgsg/glgsg.cxx
[ 46%] Building C++ object built/tmp/p3glesgsg_glesgsg.o
g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/p3glesgsg_glesgsg.o -Ibuilt/tmp -Ibuilt/include -I/usr/include/python2.7 -I/usr/include/eigen3 -DMAKEPANDA= -Ipanda/src/glesgsg -Ipanda/src/glstuff -pthread -msse2 -O2 -DBUILDING_PANDAGLES panda/src/glesgsg/glesgsg.cxx
[ 47%] Building C++ object built/tmp/p3gles2gsg_gles2gsg.o
g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/p3gles2gsg_gles2gsg.o -Ibuilt/tmp -Ibuilt/include -I/usr/include/python2.7 -I/usr/include/eigen3 -DMAKEPANDA= -Ipanda/src/gles2gsg -Ipanda/src/glstuff -pthread -msse2 -O2 -DBUILDING_PANDAGLES2 panda/src/gles2gsg/gles2gsg.cxx
In file included from panda/src/glstuff/glstuff_src.cxx:30:0,
                 from panda/src/gles2gsg/gles2gsg.cxx:20:
panda/src/glstuff/glGraphicsStateGuardian_src.cxx: In Elementfunktion »virtual void GLES2GraphicsStateGuardian::reset()«:
panda/src/glstuff/glGraphicsStateGuardian_src.cxx:1069:21: Fehler: ungültige Umwandlung von »void (*)(GLuint, GLsizei, const GLchar* const*, const GLint*) {aka void (*)(unsigned int, int, const char* const*, const int*)}« in »PFNGLSHADERSOURCEPROC {aka void (*)(unsigned int, int, const char**, const int*)}« [-fpermissive]

But that shouldn’t be interesting for most people.

EDIT #2:
Compile was successful, but no fftw, gles2, artoolkit. For most people, that should be enough. I’m uploading it this moment. A bit late, I’m sorry! :stuck_out_tongue:

It actually can’t install because of dependency problems with libgles1-mesa-dev. If I then try to install them manually, the problem becomes a little more apparent:

$ sudo apt-get install libgles1-mesa-dev libgles1-mesa libgles2-mesa libgles2-mesa-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libgles1-mesa : Depends: libglapi-mesa (= 9.1.1-0ubuntu3) but 9.2.0~git20130301.58bd926d-0ubuntu0sarvatt~quantal is to be installed
 libgles1-mesa-dev : Depends: libegl1-mesa-dev but it is not going to be installed
 libgles2-mesa : Depends: libglapi-mesa (= 9.1.1-0ubuntu3) but 9.2.0~git20130301.58bd926d-0ubuntu0sarvatt~quantal is to be installed
 libgles2-mesa-dev : Depends: libegl1-mesa-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

So, I think the problem is with the Ubuntu package maintainer(s), someone dropped the ball and didn’t update the dependencies of libgles1-mesa to match the versions available in the repo. Compiling the latest version from source seems to have worked out ok though.

You should check your /etc/apt/sources.list

EDIT: I’ve upgraded today to 13.04 and had no problems about the dependencies.