Debian Gnu/Linux Tutorial

Problems building or running the engine, queries about how to use features etc.
jovian
Gnoblar
Posts: 4
Joined: Fri Feb 28, 2003 5:20 pm
Location: Maplewood MN

Post by jovian »

I was curious how the .deb packages for the python bindings was coming
Cheers,
Nick
User avatar
fog
Greenskin
Posts: 149
Joined: Sun Sep 19, 2004 6:00 pm
Location: Torino, ITALY

Post by fog »

jovian wrote:I was curious how the .deb packages for the python bindings was coming
The build process for the python bindings is a little bit.. . And it requires a lot of software not yet packaged for Debian. My current priorities are:

1) Packaging the free samples
2) Packaging CEGUI
User avatar
fog
Greenskin
Posts: 149
Joined: Sun Sep 19, 2004 6:00 pm
Location: Torino, ITALY

Ogre 0.15.0 Debian packages

Post by fog »

Preliminary ogre packages for the 0.15.0 release are available from http://people.debian.org/~fog/. The packages feature ogre libraries compiled against SDL (libogre3), development files (libogre-dev), API and other documents (ogre-doc), tools (ogre-tools) and the blender exporter (blender-ogrexml).

I am working to have an ogre-samples package featuring the repackaged free Samples stuff soon (ETA: one week). Will announce in this topic when ready.

Have fun.
axvts
Gnoblar
Posts: 1
Joined: Thu Nov 04, 2004 1:16 pm

Post by axvts »

After all the useful tips mentioned before in this topic, my Samples just won't run. I've installed new GLX drivers, but it keeps telling me:

Couldn't find matching GLX visual

Does anybody know how to avoid this?
User avatar
fog
Greenskin
Posts: 149
Joined: Sun Sep 19, 2004 6:00 pm
Location: Torino, ITALY

Post by fog »

axvts wrote:After all the useful tips mentioned before in this topic, my Samples just won't run. I've installed new GLX drivers, but it keeps telling me:

Couldn't find matching GLX visual
this is an X configuration problem, not an Ogre one. can you please post the result of executing the glxinfo command? also, how exactly did you installed the GLX drivers?
User avatar
kap42
Gnoblar
Posts: 1
Joined: Wed Aug 11, 2004 10:06 am
Location: Sweden

Post by kap42 »

Will OgreODE find its way into one of those debs?
User avatar
fog
Greenskin
Posts: 149
Joined: Sun Sep 19, 2004 6:00 pm
Location: Torino, ITALY

Post by fog »

kap42 wrote:Will OgreODE find its way into one of those debs?
Added to my roadmap but note that before building it the first time I can't promise anything. The roadmap is at http://initd.org/blog/fog/debian.
S3phiroth
Gnoblar
Posts: 2
Joined: Mon Nov 22, 2004 1:48 pm

Post by S3phiroth »

Hello,

I'm new here and I want to use Ogre under debian, but it doesn't compile ...

I've got this error and I haven't yet found the solution ...

My output

Code: Select all

if i386-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../../OgreMain/include  -I../../../PlatformManagers/SDL/include -I../../../OgreMain/include -I/usr/include/SDL -D_REENTRANT  -DSHAREDIR=\"/usr/share/OGRE\"     -g -O2 -I/usr/include/SDL -D_REENTRANT -MT OgreSDLPlatform.o -MD -MP -MF ".deps/OgreSDLPlatform.Tpo" \
  -c -o OgreSDLPlatform.o `test -f 'OgreSDLPlatform.cpp' || echo './'`OgreSDLPlatform.cpp; \
then mv -f ".deps/OgreSDLPlatform.Tpo" ".deps/OgreSDLPlatform.Po"; \
else rm -f ".deps/OgreSDLPlatform.Tpo"; exit 1; \
fi
/bin/sh ../../../libtool --mode=link i386-linux-g++  -g -O2 -I/usr/include/SDL -D_REENTRANT   -o libOgrePlatform.so -shared -L../../../OgreMain/src OgreSDLConfig.o OgreSDLInput.o OgreSDLTimer.o OgreSDLPlatform.o -lSDL -lpthread  -lGL -lGLU -lOgreMain -lCg -lpthread -lILU -lIL -lz -lm -ldl  -lSDL -lpthread
mkdir .libs
libtool: link: cannot find the library `'
make[5]: *** [libOgrePlatform.so] Error 1
make[5]: Leaving directory `/home/sephiroth/Boulot/Projet OpenGL/ogrenew/PlatformManagers/SDL/src'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/sephiroth/Boulot/Projet OpenGL/ogrenew/PlatformManagers/SDL/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/sephiroth/Boulot/Projet OpenGL/ogrenew/PlatformManagers/SDL'
If someone has an idea ;)
And sorry for my poor english :D
User avatar
fog
Greenskin
Posts: 149
Joined: Sun Sep 19, 2004 6:00 pm
Location: Torino, ITALY

New Debian packages

Post by fog »

Hello *,

new Debian packages for OGRE 0.15 available from the usual location (http://people.debian.org/~fog/). This new set of packages includes a NVidia cg installer and the Cg plugin. Note that the packaging is still far from complete: the CgManager will go to its own package (in the Debian contrib section) and the samples still need work and probably a split into main/contrib too. Note that you need to uninstall libogre3 before installing the new packages: libogre4 conflicts with it.

Anyway, those packages work and work well (you can use them to do development I suppose) so I'll dedicate some more time to the CeGUI and OgreODE stuff. Stay tuned.

The completely free packages (libogre, blender exported, docs) will be uploaded to Debian unstable soon. :) The other ones (CgManager and samples) will have to wait a little bit more.
S3phiroth
Gnoblar
Posts: 2
Joined: Mon Nov 22, 2004 1:48 pm

Post by S3phiroth »

Hum you compile It with gcc-4.0 ? libogre4 package need libgcc1 (>= 1:4.0) ... Did you plan to make a gcc 3.x version ?
I really want to try Ogre but I can't compile It my error message is defore your post.. So your package can be a solution... I'd prefer compile it but if I have no other choice .. :) Thank you
User avatar
fog
Greenskin
Posts: 149
Joined: Sun Sep 19, 2004 6:00 pm
Location: Torino, ITALY

Post by fog »

S3phiroth wrote:Hum you compile It with gcc-4.0 ? libogre4 package need libgcc1 (>= 1:4.0) ... Did you plan to make a gcc 3.x version ?
My devel box is debian/experimental and uses gcc from there. I'll build the final packages on debian unstable box with the gcc there. if you want to install the packages you can just get libgcc1 from experimental.
User avatar
bad_camel
Halfling
Posts: 74
Joined: Tue Dec 17, 2002 11:57 am
Location: Somerset, England

Post by bad_camel »

wow, libgcc1.4 is way experimental, but nice move with the deb packages, although I'm not comfortable yet with anything beyond sid.
User avatar
fog
Greenskin
Posts: 149
Joined: Sun Sep 19, 2004 6:00 pm
Location: Torino, ITALY

Debian packages for Ogre 0.15.1 (hastur)

Post by fog »

Debian packages for the hastur release are available from the usual place:

http://people.debian.org/~fog/

and include Cg manager and samples. This is probably one of the last unofficial releases, at least for the basic libraries and the documentation (libogre4, libogre-dev, ogre-tools, ogre-doc and blender-ogrexml): next build will go straight into "unstable".

Now, if only Sinbad would be slower in making releases I'd have some time for the CEGUI and OgreODE packages... :D
makob
Kobold
Posts: 32
Joined: Wed Jan 28, 2004 10:09 pm
Location: Aalborg, Denmark

Post by makob »

Great work, fog! 8)

...but why is the package called "libogre4" - isn't "libogre3d" or just "libogre" better? What does the "4" represent? ;)

Cheers,
Jakob
User avatar
fog
Greenskin
Posts: 149
Joined: Sun Sep 19, 2004 6:00 pm
Location: Torino, ITALY

Post by fog »

makob wrote:...but why is the package called "libogre4" - isn't "libogre3d" or just "libogre" better? What does the "4" represent? ;)
"4" is the major number of the "soname" of the library (libOgreMain.so.4.0.0). If in the future Sinbad & co. will introduce an incompatible API they will bump the soname major number to 5, then 6 and so on. Including the number in the package name allows for multiple versions of the same library all coexisting on the same system (and That Is Good (TM)).
makob
Kobold
Posts: 32
Joined: Wed Jan 28, 2004 10:09 pm
Location: Aalborg, Denmark

Post by makob »

Ok, thanks!

But still - is there any particular reason to choose "4" at this point in time? Wouldn't it make sense to choose eg. "1", since no official Debian package exists so far? It's not that this is a big deal to me, I was just wondering ;-)
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 66

Post by sinbad »

It's the ABI version from configure.in, fog didn't pick it. The ABI version is just there to separate incompatible version numbers, and isn't the same as the 'display' version.
makob
Kobold
Posts: 32
Joined: Wed Jan 28, 2004 10:09 pm
Location: Aalborg, Denmark

Post by makob »

Thanks Sinbad - that settled my curiosity wrt. numbers for today :-)

And now for the next question :lol:

fog, do you have plans for a debug-version of libogre, say libogre4-dbg? I'm using an unofficial ogre-Debian-package from a friend of mine, who also made a dbg-package of the library. I think such a thing would be very nice and might even speed up development of applications a bit...

I might be totally off here, but doesn't it sound plausible? Does the plugin-architecture of Ogre make it harder/impossible to make such a thing?
User avatar
fog
Greenskin
Posts: 149
Joined: Sun Sep 19, 2004 6:00 pm
Location: Torino, ITALY

Post by fog »

makob wrote: fog, do you have plans for a debug-version of libogre, say libogre4-dbg? I'm using an unofficial ogre-Debian-package from a friend of mine, who also made a dbg-package of the library. I think such a thing would be very nice and might even speed up development of applications a bit...
I suppose I can build a libogre4-dbg package that puts the libraries and plugins in /usr/lib/debug/.., then you'll have to LD_LIBRARY_PATH=/usr/lib/debug/usr/lib and use an appropriate plugins.cfg to load the debugged plugins.

This will take some time to adapt the build scripts and two full compile passes, une with "-O3" and the other with "-O0 -g" to not optimize and include all the symbols.

To put it simply, yes, you'll have -dbg packages but first I'll manage to have the base packages go into unstable, then I'll work on -dbg, the contrib packages (nvidia cg and the ogre manager) and the samples (that still can't enter Debian).
makob
Kobold
Posts: 32
Joined: Wed Jan 28, 2004 10:09 pm
Location: Aalborg, Denmark

Post by makob »

fog wrote: To put it simply, yes, you'll have -dbg packages but first I'll manage to have the base packages go into unstable, then I'll work on -dbg, the contrib packages (nvidia cg and the ogre manager) and the samples (that still can't enter Debian).
Wow, this sounds cool! I second that the -dbg package should have a low priority compared to Cg and samples!

I'm really looking forward to the official Debian version of Ogre!
Just think about it: "apt-get install libogre4" -- or even better: "apt-get install killer3dapp" (and the dependencies are automagically resolved by the power of apt!) Yay!

Cheers,
Jakob
FluF
Gnoblar
Posts: 1
Joined: Sun Dec 05, 2004 10:58 pm

Post by FluF »

Hello :)

I have a little problem.

I don't want to install ogre and devil as root
So i use : ./configure --prefix=/somewhere for devil
And for ogre to.
But i have this error when i run orge configure :
configure: error:
****************************************************************
* You do not have DevIL installed. This is required to build. *
* You may find it at http://openil.sourceforge.net/. *
****************************************************************
How can i tell that my devil libs are in folder "/somewhere" ?

Ps: sorry for my poor english i'm french :)
Ps2: i will use the same with Cg libs
chakie
Gnoblar
Posts: 5
Joined: Fri Dec 10, 2004 1:07 pm

Post by chakie »

Any news on packages compiled on a Debian unstable box? I just downloaded them, and the libgcc1.4 requirement still holds. I'd rather not install anything from experimental if it can be avoided.
User avatar
fog
Greenskin
Posts: 149
Joined: Sun Sep 19, 2004 6:00 pm
Location: Torino, ITALY

Post by fog »

chakie wrote:Any news on packages compiled on a Debian unstable box? I just downloaded them, and the libgcc1.4 requirement still holds. I'd rather not install anything from experimental if it can be avoided.
Yes. Try out:

http://people.debian.org/~fog/unstable/

and report any bugs. Note that Cg and sample ar missing, because those are the packages that will go to main/unstable once i solve one last problem with rpath and ogre plugins being compiled without -fPIC.
User avatar
fog
Greenskin
Posts: 149
Joined: Sun Sep 19, 2004 6:00 pm
Location: Torino, ITALY

Official Debian package for 0.15.1 available

Post by fog »

I just uploaded to main/unstable the following packages: libogre4, libogre-dev, ogre-doc, ogre-tools, blender-ogrexml. Packages currently live in Incoming and will be available to apt-get in about 10 days (this si the time usually needed for a new package to enter Debian, later updates will be much faster, obviously.)

A copy of the packages, .diff.gz and .changes files and anything else required to rebuild is available from:

http://people.debian.org/~fog/ogre/

Samples and Cg manager are not included but an ogre-plugins-cgmanager package is on the way.

Hope this helps people developing and distributing Ogre applications on Debian.
User avatar
fog
Greenskin
Posts: 149
Joined: Sun Sep 19, 2004 6:00 pm
Location: Torino, ITALY

New Debian packages

Post by fog »

While waiting for ogre packages to enter Debian here are some new, improved debs. If you installed 0.15.1-2 think "improved" as "that actually include (all) the plugins", install 0.15.1-3 and be happy. :)

http://people.debian.org/~fog/ogre/