|
|
|
Return to Compiling or Editing the Panda Source
by JörnS » Thu Apr 25, 2013 5:54 pm
At the very moment, I am compiling Panda for Raring. If everything runs fine (it looks like), expect the package at 1100 UTC. Everything included except artoolkit and gles (don't know why this isn't found, maybe I get this running, too).
Make a long story short, here are download links: Panda3D 1.8.1-raring https://docs.google.com/file/d/0B5KBmyj ... sp=sharingneeded for libRocket (you have to export the library path!) https://docs.google.com/file/d/0B5KBmyj ... sp=sharingI would be very happy if someone could test this - I won't upgrade to raring this week, as it seems. Have fun! 
Last edited by JörnS on Fri Apr 26, 2013 8:10 am, edited 1 time in total.
-
JörnS
-
- Posts: 53
- Joined: Fri May 11, 2012 2:08 am
by rdb » Fri Apr 26, 2013 4:36 am
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 rarely respond to PMs
-
rdb
-
- Posts: 8575
- Joined: Mon Dec 04, 2006 5:58 am
- Location: Netherlands
-
by JörnS » Fri Apr 26, 2013 5:01 am
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  EDIT: but now, I drop GLES2. Got an error while compiling: - Code: Select all
[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! 
-
JörnS
-
- Posts: 53
- Joined: Fri May 11, 2012 2:08 am
by prhone » Sat Apr 27, 2013 10:02 am
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: - Code: Select all
$ 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.
-
prhone
-
- Posts: 1
- Joined: Sat Apr 27, 2013 4:22 am
by JörnS » Sun Apr 28, 2013 11:49 am
prhone wrote: libgles1-mesa : Depends: libglapi-mesa (= 9.1.1-0ubuntu3) but 9.2.0~git20130301.58bd926d-0ubuntu0sarvatt~quantal is to be installed
You should check your /etc/apt/sources.list EDIT: I've upgraded today to 13.04 and had no problems about the dependencies.
-
JörnS
-
- Posts: 53
- Joined: Fri May 11, 2012 2:08 am
Return to Compiling or Editing the Panda Source
Who is online
Users browsing this forum: No registered users and 0 guests
| | |