[SOLVED] Can I install Runtime insert SDK ?

Now, I use Ubuntu 12.10 Quantal Quetzal, so I can’t install sdk for ubuntu.
Can I use runtime to write code ?

No, you can’t. Well, theoretically you could, but it would be terribly clumsy.

Did you try to install the precise or oneiric versions? I suggest you try the snapshots.

I tried to install the panda3d.org/buildbot/builds/ … _amd64.deb , but it fail. Later, I will install Runtime.
Thank anybody.

installArchives() failed: Selecting previously unselected package freeglut3:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 221814 files and directories currently installed.)
Unpacking freeglut3:amd64 (from .../freeglut3_2.6.0-4ubuntu1_amd64.deb) ...
Selecting previously unselected package libgbm1:amd64.
Unpacking libgbm1:amd64 (from .../libgbm1_9.0-0ubuntu1_amd64.deb) ...
Selecting previously unselected package libwayland0:amd64.
Unpacking libwayland0:amd64 (from .../libwayland0_0.95.0-0ubuntu1_amd64.deb) ...
Selecting previously unselected package libxcb-xfixes0:amd64.
Unpacking libxcb-xfixes0:amd64 (from .../libxcb-xfixes0_1.8.1-1ubuntu1_amd64.deb) ...
Selecting previously unselected package libegl1-mesa:amd64.
Unpacking libegl1-mesa:amd64 (from .../libegl1-mesa_9.0-0ubuntu1_amd64.deb) ...
Selecting previously unselected package libopenvg1-mesa:amd64.
Unpacking libopenvg1-mesa:amd64 (from .../libopenvg1-mesa_9.0-0ubuntu1_amd64.deb) ...
Selecting previously unselected package libegl1-mesa-drivers:amd64.
Unpacking libegl1-mesa-drivers:amd64 (from .../libegl1-mesa-drivers_9.0-0ubuntu1_amd64.deb) ...
Selecting previously unselected package libgles1-mesa:amd64.
Unpacking libgles1-mesa:amd64 (from .../libgles1-mesa_9.0-0ubuntu1_amd64.deb) ...
Selecting previously unselected package libgles2-mesa:amd64.
Unpacking libgles2-mesa:amd64 (from .../libgles2-mesa_9.0-0ubuntu1_amd64.deb) ...
Selecting previously unselected package libcg:amd64.
Unpacking libcg:amd64 (from .../libcg_3.1.0013-1_amd64.deb) ...
Selecting previously unselected package libcggl:amd64.
Unpacking libcggl:amd64 (from .../libcggl_3.1.0013-1_amd64.deb) ...
Selecting previously unselected package libdc1394-22:amd64.
Unpacking libdc1394-22:amd64 (from .../libdc1394-22_2.2.0-2build1_amd64.deb) ...
Selecting previously unselected package tcl8.5.
Unpacking tcl8.5 (from .../tcl8.5_8.5.11-2ubuntu1_amd64.deb) ...
Selecting previously unselected package tk8.5.
Unpacking tk8.5 (from .../tk8.5_8.5.11-2_amd64.deb) ...
Selecting previously unselected package blt.
Unpacking blt (from .../blt_2.4z-4.2ubuntu2_amd64.deb) ...
Selecting previously unselected package libopencv-core2.3.
Unpacking libopencv-core2.3 (from .../libopencv-core2.3_2.3.1-11ubuntu2_amd64.deb) ...
Selecting previously unselected package libtbb2.
Unpacking libtbb2 (from .../libtbb2_4.0+r233-1_amd64.deb) ...
Selecting previously unselected package libopencv-imgproc2.3.
Unpacking libopencv-imgproc2.3 (from .../libopencv-imgproc2.3_2.3.1-11ubuntu2_amd64.deb) ...
Selecting previously unselected package libopencv-highgui2.3.
Unpacking libopencv-highgui2.3 (from .../libopencv-highgui2.3_2.3.1-11ubuntu2_amd64.deb) ...
Selecting previously unselected package nvidia-cg-dev:amd64.
Unpacking nvidia-cg-dev:amd64 (from .../nvidia-cg-dev_3.1.0013-1_amd64.deb) ...
Selecting previously unselected package nvidia-cg-toolkit.
Unpacking nvidia-cg-toolkit (from .../nvidia-cg-toolkit_3.1.0013-1_amd64.deb) ...
Selecting previously unselected package python-tk.
Unpacking python-tk (from .../python-tk_2.7.3-1ubuntu2_amd64.deb) ...
Selecting previously unselected package python-pmw.
Unpacking python-pmw (from .../python-pmw_1.3.2-6build1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 1 added doc-base file...
Setting up adobereader-chs (8.1.7) ...
dpkg: error processing adobereader-chs (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up freeglut3:amd64 (2.6.0-4ubuntu1) ...
Setting up libgbm1:amd64 (9.0-0ubuntu1) ...
Setting up libwayland0:amd64 (0.95.0-0ubuntu1) ...
Setting up libxcb-xfixes0:amd64 (1.8.1-1ubuntu1) ...
Setting up libegl1-mesa:amd64 (9.0-0ubuntu1) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/mesa-egl/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf (x86_64-linux-gnu_egl_conf) in auto mode
Setting up libopenvg1-mesa:amd64 (9.0-0ubuntu1) ...
Setting up libegl1-mesa-drivers:amd64 (9.0-0ubuntu1) ...
Setting up libgles1-mesa:amd64 (9.0-0ubuntu1) ...
Setting up libgles2-mesa:amd64 (9.0-0ubuntu1) ...
Setting up libcg:amd64 (3.1.0013-1) ...
Setting up libcggl:amd64 (3.1.0013-1) ...
Setting up libdc1394-22:amd64 (2.2.0-2build1) ...
Setting up tcl8.5 (8.5.11-2ubuntu1) ...
update-alternatives: using /usr/bin/tclsh8.5 to provide /usr/bin/tclsh (tclsh) in auto mode
Setting up tk8.5 (8.5.11-2) ...
update-alternatives: using /usr/bin/wish8.5 to provide /usr/bin/wish (wish) in auto mode
Setting up blt (2.4z-4.2ubuntu2) ...
Setting up libopencv-core2.3 (2.3.1-11ubuntu2) ...
Setting up libtbb2 (4.0+r233-1) ...
Setting up libopencv-imgproc2.3 (2.3.1-11ubuntu2) ...
Setting up libopencv-highgui2.3 (2.3.1-11ubuntu2) ...
Setting up nvidia-cg-dev:amd64 (3.1.0013-1) ...
Setting up nvidia-cg-toolkit (3.1.0013-1) ...
Setting up python-tk (2.7.3-1ubuntu2) ...
Setting up python-pmw (1.3.2-6build1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 adobereader-chs
Setting up adobereader-chs (8.1.7) ...
dpkg: error processing adobereader-chs (--configure):
 subprocess installed post-installation script returned error exit status 1

The log you posted doesn’t mention Panda3d.

How does installation of the precise version fail? Do you get any errors from installing or when starting a sample?

The last time, machine just prompted error when install .deb with ubuntu software center.
Today, I installed again, This time success. I don’t know the reasons for the success.
Now, I can run the my own written code, but I can’t find sample from /usr/share/panda3d.

In the snapshots the samples are not included. You can download them separately from here: panda3d.org/download/panda3 … amples.zip

Thank you!

Hi,

I’m trying to avoid several different versions of Python. The latest SDK .deb wants to go back to Python 2.6. Is it just a matter of rebuilding the .deb from the source and changing the dependency to something a bit more current?

Thanks.

You would either need to rebuild it from source (using makepanda) or just grab a .deb from the download page that is compiled against python 2.7 (it exists).

Hello everyone, is there a SDK-build for Ubuntu 12.10 Quantal with support for librocket? And, what is about the runtime, has the runtime librocket support? Thanks in advance.

P.S.: is somewhere a log file or something from the buildbot, so I could look which third party tools are included etc?

All buildbot builds have librocket support, as far as I’m aware. There is no build for Quantal yet, though I’ve heard that the precise version may work on quantal (not sure about that).

Thanks rdb for your fast response.

1.8.0 there is just a build for Oneiric (panda3d1.8_1.8.0~oneiric_amd64.deb), which doesn’t work because of missing dependencies. The dev build 1.9.0 for precise works with Quantal, but hasn’t librocket support. At the very moment, I’m setting up a virtual machine and I’ll try to compile it on my own later this day or tomorrow.

EDIT: compilation is running an seem to work (Panda 1.8 for Quantal, no eigen & artoolkit). Now I hope that Rocket & everything else works :slight_smile:

EDIT2: compilation interrupted, here the error:

[ 35%] Linking dynamic library built/lib/libp3rocket.so
/usr/bin/ld: cannot find -lRocketCore
/usr/bin/ld: cannot find -lRocketControls
collect2: Fehler: ld gab 1 als Ende-Status zurück
Storing dependency cache.
Elapsed Time: 2 sec
The following command returned a non-zero value: g++ -shared -Wl,-soname=libp3rocket.so.1.8 -o built/lib/libp3rocket.so.1.8 -Lbuilt/lib -Lbuilt/tmp -L/usr/X11R6/lib built/tmp/p3rocket_composite1.o built/tmp/libp3rocket_igate.o built/tmp/libp3rocket_module.o -lpanda -lpandaexpress -lp3dtool -lp3dtoolconfig -Lthirdparty/linux-libs-x64/rocket/lib -Lthirdparty/linux-libs-x64/rocket/lib/python2.7 -lRocketCore -lRocketControls -lboost_python -pthread -ldl

Maybe I can catch the error tomorrow. By the way, I found the buildbot-logs. Rocket isn’t included (refer to the last successful build: panda3d.org:8010/builders/dev_sd … 0%28100%29 )

EDIT3: day 2 of the armageddon :slight_smile: tried to build Rocket with disabled shared libraries, the bug in cmake mentioned here is still there. Just skipped rocket because I was interested wether Panda compiles or not. It doesn’t, some error with bullet, too. btBulletDynamicsCommon.h is not found.

You need to install the development package for librocket, or if it doesn’t exist, compile it from source. Same goes for Bullet. Be sure to compile librocket with Python support.

The missing rocket must be a bug, I’ll look into that.

I downloaded the source from Bullet & libRocket and installed it into the thirdparty-folder from Panda3D-source. Like PeteX suggested in my previous posted link. The missing files are there - but makepanda can’t find them. Not quite sure if that is like an development package.

Don’t bother with the thirdparty dir, just install the libRocket files on your system using “sudo make install” and makepanda should be able to find them.

Finally, I was able to compile it (no eigen, no artoolkit, no fftw). Unfortunately, still no “_rocketcore.so”. Now I give up and wait for working official builds.

Please post some robust solution as we are suffering from the same issue from long time…

Yes, that would be really nice. Developing under Windows 8 sucks, it’s so damn slow :wink: the last Ubuntu build with librocket is Oneiric, which has just 1 more month support from Canonical. A working build for the LTS 12.04 would be sufficient, I think. The fix for drag and drop mentioned here would help, also.

I’m working on fixing the buildbots to also build with libRocket, but I’m swamped right now with more important tasks.

If you don’t have _rocketcore.so after building libRocket, then you didn’t build it with Python support enabled. Remember that you need libboost-python-dev for this.