Installing OgreBullet on Linux (LinuxMint 13)

mozilla

08-08-2012 02:23:29

Hello I have a virtual machine with a sparkly fresh copy of linuxmint13 with installed copies of Code::Blocks, and OGRE and Bullet based on the tutorial found at http://www.ogre3d.org/addonforums/viewtopic.php?f=12&t=13000. This all works, but when I get to installing OgreBullet, make gives a bunch of errors, as does make install. They complain about casting problems, such as from pointer to non-pointer, etc. I tried moving on just in-case they were non-critical errors but the folder /usr/incude/OgreBullet/Dynamics is not made (the OgreBullet and the sub-folder Collisions is). And I can't get tutorial #1 to work. Maybe I could use an old svn revision? Where are those located?

dermont

08-08-2012 03:35:53

Hello I have a virtual machine with a sparkly fresh copy of linuxmint13 with installed copies of Code::Blocks, and OGRE and Bullet based on the tutorial found at http://www.ogre3d.org/addonforums/viewtopic.php?f=12&t=13000. This all works, but when I get to installing OgreBullet, make gives a bunch of errors, as does make install. They complain about casting problems, such as from pointer to non-pointer, etc. I tried moving on just in-case they were non-critical errors but the folder /usr/incude/OgreBullet/Dynamics is not made (the OgreBullet and the sub-folder Collisions is). And I can't get tutorial #1 to work. Maybe I could use an old svn revision? Where are those located?

The svn code is at sourceforge as per the link you followed.

OgreBullet (latest svn revision 2978) builds fine (static/shared libs) here on Ubuntu (11.10/12.04) with g++ (4.6.x/4.7) using bullet (2.78/2.79/2.80) and Ogre (1.7.x/1.8.x) on a 32 bit machine.

Maybe you could post the errors you encounter whilst trying to install.

mozilla

08-08-2012 03:53:01

OgreBullet (latest svn revision 2978) builds fine (static/shared libs) here on Ubuntu (11.10/12.04) with g++ (4.6.x/4.7) using bullet (2.78/2.79/2.80) and Ogre (1.7.x/1.8.x) on a 32 bit machine.
Could you walk me through the proper install then? I'll just create a new virtual machine. I now have blank Ubuntu 11.10 and 12.04 with g++ ready to go.


While its not nessisary if you can point me to a modern tutorial, here is one attempt (the error appears to be a const casting rather than a pointer...):
$ ./configure --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking dependency style of g++... (cached) gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OGRE... yes
checking for bullet... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Collisions/Makefile
config.status: creating Collisions/src/Makefile
config.status: creating Collisions/include/Makefile
config.status: creating Collisions/include/Debug/Makefile
config.status: creating Collisions/include/Shapes/Makefile
config.status: creating Collisions/include/Utils/Makefile
config.status: creating Dynamics/Makefile
config.status: creating Dynamics/src/Makefile
config.status: creating Dynamics/include/Makefile
config.status: creating Dynamics/include/Constraints/Makefile
config.status: creating Dynamics/include/Prefab/Makefile
config.status: creating OgreBullet.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
$


genericuser@genericuser-VirtualBox ~/ogrebullet-svn $ make
make all-recursive
make[1]: Entering directory `/home/genericuser/ogrebullet-svn'
Making all in Collisions
make[2]: Entering directory `/home/genericuser/ogrebullet-svn/Collisions'
Making all in include
make[3]: Entering directory `/home/genericuser/ogrebullet-svn/Collisions/include'
Making all in Debug
make[4]: Entering directory `/home/genericuser/ogrebullet-svn/Collisions/include/Debug'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/genericuser/ogrebullet-svn/Collisions/include/Debug'
Making all in Shapes
make[4]: Entering directory `/home/genericuser/ogrebullet-svn/Collisions/include/Shapes'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/genericuser/ogrebullet-svn/Collisions/include/Shapes'
Making all in Utils
make[4]: Entering directory `/home/genericuser/ogrebullet-svn/Collisions/include/Utils'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/genericuser/ogrebullet-svn/Collisions/include/Utils'
make[4]: Entering directory `/home/genericuser/ogrebullet-svn/Collisions/include'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/genericuser/ogrebullet-svn/Collisions/include'
make[3]: Leaving directory `/home/genericuser/ogrebullet-svn/Collisions/include'
Making all in src
make[3]: Entering directory `/home/genericuser/ogrebullet-svn/Collisions/src'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/OGRE -I/usr/include/bullet -I/usr/include/bullet/BulletCollision -I/usr/include/bullet/BulletDynamics -I/usr/include/bullet/BulletSoftBody -I../include -g -O2 -MT OgreBulletCollisionsRay.lo -MD -MP -MF .deps/OgreBulletCollisionsRay.Tpo -c -o OgreBulletCollisionsRay.lo OgreBulletCollisionsRay.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/OGRE -I/usr/include/bullet -I/usr/include/bullet/BulletCollision -I/usr/include/bullet/BulletDynamics -I/usr/include/bullet/BulletSoftBody -I../include -g -O2 -MT OgreBulletCollisionsRay.lo -MD -MP -MF .deps/OgreBulletCollisionsRay.Tpo -c OgreBulletCollisionsRay.cpp -fPIC -DPIC -o .libs/OgreBulletCollisionsRay.o
OgreBulletCollisionsRay.cpp: In member function 'OgreBulletCollisions::Object* OgreBulletCollisions::CollisionClosestRayResultCallback::getCollidedObject() const':
OgreBulletCollisionsRay.cpp:87:132: error: invalid conversion from 'const btCollisionObject*' to 'btCollisionObject*' [-fpermissive]
../include/OgreBulletCollisionsWorld.h:61:17: error: initializing argument 1 of 'OgreBulletCollisions::Object* OgreBulletCollisions::CollisionsWorld::findObject(btCollisionObject*) const' [-fpermissive]
make[3]: *** [OgreBulletCollisionsRay.lo] Error 1
make[3]: Leaving directory `/home/genericuser/ogrebullet-svn/Collisions/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/genericuser/ogrebullet-svn/Collisions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/genericuser/ogrebullet-svn'
make: *** [all] Error 2


$ sudo make install
Making install in Collisions
make[1]: Entering directory `/home/genericuser/ogrebullet-svn/Collisions'
Making install in include
make[2]: Entering directory `/home/genericuser/ogrebullet-svn/Collisions/include'
Making install in Debug
make[3]: Entering directory `/home/genericuser/ogrebullet-svn/Collisions/include/Debug'
make[4]: Entering directory `/home/genericuser/ogrebullet-svn/Collisions/include/Debug'
make[4]: Nothing to be done for `install-exec-am'.
test -z "/usr/include/OgreBullet/Collisions/Debug" || /bin/mkdir -p "/usr/include/OgreBullet/Collisions/Debug"
/usr/bin/install -c -m 644 OgreBulletCollisionsDebugContact.h OgreBulletCollisionsDebugDrawer.h OgreBulletCollisionsDebugLines.h OgreBulletCollisionsDebugShape.h '/usr/include/OgreBullet/Collisions/Debug'
make[4]: Leaving directory `/home/genericuser/ogrebullet-svn/Collisions/include/Debug'
make[3]: Leaving directory `/home/genericuser/ogrebullet-svn/Collisions/include/Debug'
Making install in Shapes
make[3]: Entering directory `/home/genericuser/ogrebullet-svn/Collisions/include/Shapes'
make[4]: Entering directory `/home/genericuser/ogrebullet-svn/Collisions/include/Shapes'
make[4]: Nothing to be done for `install-exec-am'.
test -z "/usr/include/OgreBullet/Collisions/Shapes" || /bin/mkdir -p "/usr/include/OgreBullet/Collisions/Shapes"
/usr/bin/install -c -m 644 OgreBulletCollisionsBoxShape.h OgreBulletCollisionsCapsuleShape.h OgreBulletCollisionsCompoundShape.h OgreBulletCollisionsConeShape.h OgreBulletCollisionsConvexHullShape.h OgreBulletCollisionsCylinderShape.h OgreBulletCollisionsGImpactShape.h OgreBulletCollisionsMinkowskiSumShape.h OgreBulletCollisionsMultiSphereShape.h OgreBulletCollisionsSphereShape.h OgreBulletCollisionsStaticPlaneShape.h OgreBulletCollisionsTerrainShape.h OgreBulletCollisionsTriangleShape.h OgreBulletCollisionsTrimeshShape.h '/usr/include/OgreBullet/Collisions/Shapes'
make[4]: Leaving directory `/home/genericuser/ogrebullet-svn/Collisions/include/Shapes'
make[3]: Leaving directory `/home/genericuser/ogrebullet-svn/Collisions/include/Shapes'
Making install in Utils
make[3]: Entering directory `/home/genericuser/ogrebullet-svn/Collisions/include/Utils'
make[4]: Entering directory `/home/genericuser/ogrebullet-svn/Collisions/include/Utils'
make[4]: Nothing to be done for `install-exec-am'.
test -z "/usr/include/OgreBullet/Collisions/Utils" || /bin/mkdir -p "/usr/include/OgreBullet/Collisions/Utils"
/usr/bin/install -c -m 644 OgreBulletCollisionsMeshToShapeConverter.h OgreBulletConverter.h '/usr/include/OgreBullet/Collisions/Utils'
make[4]: Leaving directory `/home/genericuser/ogrebullet-svn/Collisions/include/Utils'
make[3]: Leaving directory `/home/genericuser/ogrebullet-svn/Collisions/include/Utils'
make[3]: Entering directory `/home/genericuser/ogrebullet-svn/Collisions/include'
make[4]: Entering directory `/home/genericuser/ogrebullet-svn/Collisions/include'
make[4]: Nothing to be done for `install-exec-am'.
test -z "/usr/include/OgreBullet/Collisions" || /bin/mkdir -p "/usr/include/OgreBullet/Collisions"
/usr/bin/install -c -m 644 OgreBulletCollisions.h OgreBulletCollisionsObject.h OgreBulletCollisionsObjectState.h OgreBulletCollisionsPreRequisites.h OgreBulletCollisionsRay.h OgreBulletCollisionsShape.h OgreBulletCollisionsWorld.h '/usr/include/OgreBullet/Collisions'
make[4]: Leaving directory `/home/genericuser/ogrebullet-svn/Collisions/include'
make[3]: Leaving directory `/home/genericuser/ogrebullet-svn/Collisions/include'
make[2]: Leaving directory `/home/genericuser/ogrebullet-svn/Collisions/include'
Making install in src
make[2]: Entering directory `/home/genericuser/ogrebullet-svn/Collisions/src'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/OGRE -I/usr/include/bullet -I/usr/include/bullet/BulletCollision -I/usr/include/bullet/BulletDynamics -I/usr/include/bullet/BulletSoftBody -I../include -g -O2 -MT OgreBulletCollisionsRay.lo -MD -MP -MF .deps/OgreBulletCollisionsRay.Tpo -c -o OgreBulletCollisionsRay.lo OgreBulletCollisionsRay.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/OGRE -I/usr/include/bullet -I/usr/include/bullet/BulletCollision -I/usr/include/bullet/BulletDynamics -I/usr/include/bullet/BulletSoftBody -I../include -g -O2 -MT OgreBulletCollisionsRay.lo -MD -MP -MF .deps/OgreBulletCollisionsRay.Tpo -c OgreBulletCollisionsRay.cpp -fPIC -DPIC -o .libs/OgreBulletCollisionsRay.o
OgreBulletCollisionsRay.cpp: In member function 'OgreBulletCollisions::Object* OgreBulletCollisions::CollisionClosestRayResultCallback::getCollidedObject() const':
OgreBulletCollisionsRay.cpp:87:132: error: invalid conversion from 'const btCollisionObject*' to 'btCollisionObject*' [-fpermissive]
../include/OgreBulletCollisionsWorld.h:61:17: error: initializing argument 1 of 'OgreBulletCollisions::Object* OgreBulletCollisions::CollisionsWorld::findObject(btCollisionObject*) const' [-fpermissive]
make[2]: *** [OgreBulletCollisionsRay.lo] Error 1
make[2]: Leaving directory `/home/genericuser/ogrebullet-svn/Collisions/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/genericuser/ogrebullet-svn/Collisions'
make: *** [install-recursive] Error 1

dermont

08-08-2012 07:27:03

What version of bullet are your using? I tried to re-create your issue here but couldn't, both btCollisionObject*s appear to be non constant. This doesn't mean that there isn't an issue there may be something wrong on my side.

It would probably be best to remove all installed files for bullet/ogrebullet before starting.

To build bullet download bullet-2.80-rev2531 and extract.

>>> cd bullet-2.80-rev2531
>>> mkdir build_static
>>> cd build_static
>>> cmake .. -DBUILD_DEMOS=FALSE -DBUILD_EXTRAS=TRUE -DINSTALL_LIBS=TRUE -DINSTALL_EXTRA_LIBS=TRUE -DCMAKE_INSTALL_PREFIX=/usr/local
make VERBOSE=1
>>> sudo make install
>>> sudo ldconfig


To build ogrebullet using latest revison from svn.

>>> cd ogrebullet_svn
>>> chmod a+x autogen.sh
Update autogen.sh if you encounter rm: invalid option -- 'd'
#rm -drf autom4te.cache
rm -rf autom4te.cache
>>> /autogen.sh
>>>CXXFLAGS='-I/usr/local/include/bullet/ConvexDecomposition' ./configure LIBS=-lConvexDecomposition --prefix=/usr/local
>>> make
>> make install
>>> sudo ldconfig


To build demo from wiki, look for changes on forum:
<edit>http://www.ogre3d.org/addonforums/viewtopic.php?f=12&t=14230</edit>;

g++ -o test OgreBullet_Collision_test.cpp -I/usr/local/include/bullet/ConvexDecomposition `pkg-config --cflags --libs OGRE OIS bullet OgreBullet` -lConvexDecomposition


There may be typos in the paths since all this is from memory.

mozilla

08-08-2012 09:48:17

W0000000000000000000000000000000000000000000000000000t That worked. I think I had been using bullet 2.7x - no idea / don't care. I have a working enviroment now. :D


How do you make the demos work? I don't want to mess this up now once its working. I can compile the tutorial after removing the "&" symbols as suggested in the link you gave and running g++ with the options you listed.

dermont

08-08-2012 11:15:03

W0000000000000000000000000000000000000000000000000000t That worked. I think I had been using bullet 2.7x - no idea / don't care. I have a working enviroment now. :D


How do you make the demos work? I don't want to mess this up now once its working. I can compile the tutorial after removing the "&" symbols as suggested in the link you gave and running g++ with the options you listed.


If you are referring to the demo you have just built.

Copy the resources/plugins.cfg files from /usr/local/share/OGRE/resources.cfg and plugins.cfg files to the same dir as the binary.

Edit resources.cfg remove this line.
#FileSystem=<wherever>/share/OGRE/media/thumbnails

Add bullet media dir paths to the end of resources.cfg, for example:


[Bootstrap]
Zip=/home/dermont/Development/TESTBULLET/ogrebullet_src/Demos/Media/packs/OgreCore.zip

[Bullet]
FileSystem=/home/dermont/Development/TESTBULLET/ogrebullet_src/Demos/Media/materials/programs
FileSystem=/home/dermont/Development/TESTBULLET/ogrebullet_src/Demos/Media/materials/scripts
FileSystem=/home/dermont/Development/TESTBULLET/ogrebullet_src/Demos/Media
FileSystem=/home/dermont/Development/TESTBULLET/ogrebullet_src/Demos/Media/fonts
FileSystem=/home/dermont/Development/TESTBULLET/ogrebullet_src/Demos/Media/textures
FileSystem=/home/dermont/Development/TESTBULLET/ogrebullet_src/Demos/Media/materials
FileSystem=/home/dermont/Development/TESTBULLET/ogrebullet_src/Demos/Media/models
FileSystem=/home/dermont/Development/TESTBULLET/ogrebullet_src/Demos/Media/overlays
FileSystem=/home/dermont/Development/TESTBULLET/ogrebullet_src/Demos/Media/gui


You will probably notice that there is duplication of resources between the different resource groups, rather than resolve the original issue for some reason someone just dumped the complete media dir into the bullet media.

Run the demo.

./test




# Defines plugins to load

# Define plugin folder
PluginFolder=/usr/local/lib/OGRE

# Define D3D rendering implementation plugin
Plugin=RenderSystem_GL
Plugin=Plugin_ParticleFX.so
Plugin=Plugin_BSPSceneManager.so
# to run PCZTestApp comment OctreeSceneManager and uncoment PCZSceneManager & OctreeZone
Plugin=Plugin_OctreeSceneManager.so
#Plugin=libPlugin_PCZSceneManager.so
#Plugin=Plugin_OctreeZone.so
Plugin=Plugin_CgProgramManager.so


If you are referring to the demo that ships with OgreBullet then you will need to update the auto tools build.

mozilla

08-08-2012 11:59:22

I can run the tutorial program now.

I think I converted the dynamics-demos from MSVCProj to Codeblocks. It compiles, but I am getting this when running it:

$ ./OgreBulletDynamicsDemo
Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
DDS codec registering
FreeImage version: 3.15.1
This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2,pfm,pct,pict,pic,3fr,arw,bay,bmq,cap,cine,cr2,crw,cs1,dc2,dcr,drf,dsc,dng,erf,fff,ia,iiq,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,ptx,pxn,qtk,raf,raw,rdc,rw2,rwl,rwz,sr2,srf,sti
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
Loading library /usr/lib/i386-linux-gnu/OGRE-1.7.4/RenderSystem_GL
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
Plugin successfully installed
Loading library /usr/lib/i386-linux-gnu/OGRE-1.7.4/Plugin_ParticleFX
Installing plugin: ParticleFX
Particle Emitter Type 'Point' registered
Particle Emitter Type 'Box' registered
Particle Emitter Type 'Ellipsoid' registered
Particle Emitter Type 'Cylinder' registered
Particle Emitter Type 'Ring' registered
Particle Emitter Type 'HollowEllipsoid' registered
Particle Affector Type 'LinearForce' registered
Particle Affector Type 'ColourFader' registered
Particle Affector Type 'ColourFader2' registered
Particle Affector Type 'ColourImage' registered
Particle Affector Type 'ColourInterpolator' registered
Particle Affector Type 'Scaler' registered
Particle Affector Type 'Rotator' registered
Particle Affector Type 'DirectionRandomiser' registered
Particle Affector Type 'DeflectorPlane' registered
Plugin successfully installed
Loading library /usr/lib/i386-linux-gnu/OGRE-1.7.4/Plugin_BSPSceneManager
Installing plugin: BSP Scene Manager
Plugin successfully installed
Loading library /usr/lib/i386-linux-gnu/OGRE-1.7.4/Plugin_PCZSceneManager
Installing plugin: Portal Connected Zone Scene Manager
PCZone Factory Type 'ZoneType_Default' registered
Plugin successfully installed
Loading library /usr/lib/i386-linux-gnu/OGRE-1.7.4/Plugin_OctreeZone
Installing plugin: Octree Zone Factory
Plugin successfully installed
Loading library /usr/lib/i386-linux-gnu/OGRE-1.7.4/Plugin_OctreeSceneManager
Installing plugin: Octree & Terrain Scene Manager
Plugin successfully installed
*-*-* OGRE Initialising
*-*-* Version 1.7.4 (Cthugha)
Creating resource group Bootstrap
An exception has occured: OGRE EXCEPTION(7:InternalErrorException): Media\packs/OgreCore.zip - error whilst opening archive: Unable to read zip file. in ZipArchive::checkZzipError at /build/buildd/ogre-1.7.4/OgreMain/src/OgreZip.cpp (line 280)
*-*-* OGRE Shutdown
Unregistering ResourceManager for type Compositor
Unregistering ResourceManager for type Font
Unregistering ResourceManager for type Skeleton
Unregistering ResourceManager for type Mesh
Unregistering ResourceManager for type HighLevelGpuProgram
Uninstalling plugin: Octree & Terrain Scene Manager
Plugin successfully uninstalled
Unloading library /usr/lib/i386-linux-gnu/OGRE-1.7.4/Plugin_OctreeSceneManager
Uninstalling plugin: Octree Zone Factory
Plugin successfully uninstalled
Unloading library /usr/lib/i386-linux-gnu/OGRE-1.7.4/Plugin_OctreeZone
Uninstalling plugin: Portal Connected Zone Scene Manager
Plugin successfully uninstalled
Unloading library /usr/lib/i386-linux-gnu/OGRE-1.7.4/Plugin_PCZSceneManager
Uninstalling plugin: BSP Scene Manager
Plugin successfully uninstalled
Unloading library /usr/lib/i386-linux-gnu/OGRE-1.7.4/Plugin_BSPSceneManager
Uninstalling plugin: ParticleFX
Plugin successfully uninstalled
Unloading library /usr/lib/i386-linux-gnu/OGRE-1.7.4/Plugin_ParticleFX
Uninstalling plugin: GL RenderSystem
******************************
*** Stopping GLX Subsystem ***
******************************
Plugin successfully uninstalled
Unloading library /usr/lib/i386-linux-gnu/OGRE-1.7.4/RenderSystem_GL
Unregistering ResourceManager for type Material





Edit: updated the cfg file. and it seems to work, testing in a moment. # Resource locations to be added to the 'boostrap' path
# This also contains the minimum you need to use the Ogre example framework
[Bootstrap]
Zip=Media/packs/OgreCore.zip

# Resource locations to be added to the default path
[General]
FileSystem=Media/
FileSystem=Media/fonts
FileSystem=Media/materials/programs
FileSystem=Media/materials/scripts
FileSystem=Media/materials/textures
FileSystem=Media/models
FileSystem=Media/overlays
FileSystem=Media/particle
FileSystem=Media/gui

[Bullet]
FileSystem=Media/OgreBullet
FileSystem=Media/materials
FileSystem=Media/textures