Calder
26-04-2009 15:35:14
When I attempt to make OgreODE, I get the following error:
/usr/bin/ld: /usr/local/lib/libode.a(box.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libode.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libOgreOde_Core.la] Error 1
make[2]: Leaving directory `/home/calder/Developer/ogre/ogreaddons/ogreode/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/calder/Developer/ogre/ogreaddons/ogreode'
make: *** [all] Error 2
I know exactly what's causing it, but I am unsure how to modify the build system to fix it. Basically, on AMD64 Linux systems, all libraries need to compiled with -fPIC, but I'm something of a total n00b with Makefiles and Libtools, so I have no idea how to add that option to all the object files that need building. Any help would be greatly appreciated.
-Calder
dermont
26-04-2009 16:08:54
For ode I think it's ./configure --with-pic, you should run ./configure --help to see available options.
Edit: or for other libraries something similar to CXXFLAGS="-fPIC" ./configure
Calder
26-04-2009 17:00:50
Thanks dermont! I'm not sure if I'm doing this right, but I tried the following:
calder@divvy:~/Developer/ogre/ogreaddons/ogreode$ ./configure --with-pic
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
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 for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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 whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
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 -m elf_x86_64) 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 for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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 -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... 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 ois... yes
checking ode/ode.h usability... yes
checking ode/ode.h presence... yes
checking for ode/ode.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating include/Makefile
config.status: creating OgreOde_Core.pc
config.status: creating prefab/Makefile
config.status: creating prefab/include/Makefile
config.status: creating prefab/src/Makefile
config.status: creating OgreOde_Prefab.pc
config.status: creating OgreOde_Loader.pc
config.status: creating loader/Makefile
config.status: creating loader/src/Makefile
config.status: creating loader/include/Makefile
config.status: creating demos/Makefile
config.status: creating demos/SimpleScenes/Makefile
config.status: creating demos/SimpleScenes/src/Makefile
config.status: creating demos/GranTurismOgre/Makefile
config.status: creating demos/GranTurismOgre/src/Makefile
config.status: creating demos/Landscape/Makefile
config.status: creating demos/Landscape/src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
calder@divvy:~/Developer/ogre/ogreaddons/ogreode$ make -j 2
make all-recursive
make[1]: Entering directory `/home/calder/Developer/ogre/ogreaddons/ogreode'
Making all in include
make[2]: Entering directory `/home/calder/Developer/ogre/ogreaddons/ogreode/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/calder/Developer/ogre/ogreaddons/ogreode/include'
Making all in src
make[2]: Entering directory `/home/calder/Developer/ogre/ogreaddons/ogreode/src'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeBody.lo -MD -MP -MF .deps/OgreOdeBody.Tpo -c -o OgreOdeBody.lo OgreOdeBody.cpp
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeCollision.lo -MD -MP -MF .deps/OgreOdeCollision.Tpo -c -o OgreOdeCollision.lo OgreOdeCollision.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeBody.lo -MD -MP -MF .deps/OgreOdeBody.Tpo -c OgreOdeBody.cpp -fPIC -DPIC -o .libs/OgreOdeBody.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeCollision.lo -MD -MP -MF .deps/OgreOdeCollision.Tpo -c OgreOdeCollision.cpp -fPIC -DPIC -o .libs/OgreOdeCollision.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeCollision.lo -MD -MP -MF .deps/OgreOdeCollision.Tpo -c OgreOdeCollision.cpp -fPIC -DPIC -o OgreOdeCollision.o >/dev/null 2>&1
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeBody.lo -MD -MP -MF .deps/OgreOdeBody.Tpo -c OgreOdeBody.cpp -fPIC -DPIC -o OgreOdeBody.o >/dev/null 2>&1
mv -f .deps/OgreOdeCollision.Tpo .deps/OgreOdeCollision.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeDebugObject.lo -MD -MP -MF .deps/OgreOdeDebugObject.Tpo -c -o OgreOdeDebugObject.lo OgreOdeDebugObject.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeDebugObject.lo -MD -MP -MF .deps/OgreOdeDebugObject.Tpo -c OgreOdeDebugObject.cpp -fPIC -DPIC -o .libs/OgreOdeDebugObject.o
mv -f .deps/OgreOdeBody.Tpo .deps/OgreOdeBody.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeDebugContact.lo -MD -MP -MF .deps/OgreOdeDebugContact.Tpo -c -o OgreOdeDebugContact.lo OgreOdeDebugContact.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeDebugContact.lo -MD -MP -MF .deps/OgreOdeDebugContact.Tpo -c OgreOdeDebugContact.cpp -fPIC -DPIC -o .libs/OgreOdeDebugContact.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeDebugObject.lo -MD -MP -MF .deps/OgreOdeDebugObject.Tpo -c OgreOdeDebugObject.cpp -fPIC -DPIC -o OgreOdeDebugObject.o >/dev/null 2>&1
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeDebugContact.lo -MD -MP -MF .deps/OgreOdeDebugContact.Tpo -c OgreOdeDebugContact.cpp -fPIC -DPIC -o OgreOdeDebugContact.o >/dev/null 2>&1
mv -f .deps/OgreOdeDebugObject.Tpo .deps/OgreOdeDebugObject.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeEigenSolver.lo -MD -MP -MF .deps/OgreOdeEigenSolver.Tpo -c -o OgreOdeEigenSolver.lo OgreOdeEigenSolver.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeEigenSolver.lo -MD -MP -MF .deps/OgreOdeEigenSolver.Tpo -c OgreOdeEigenSolver.cpp -fPIC -DPIC -o .libs/OgreOdeEigenSolver.o
mv -f .deps/OgreOdeDebugContact.Tpo .deps/OgreOdeDebugContact.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeEntityInformer.lo -MD -MP -MF .deps/OgreOdeEntityInformer.Tpo -c -o OgreOdeEntityInformer.lo OgreOdeEntityInformer.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeEntityInformer.lo -MD -MP -MF .deps/OgreOdeEntityInformer.Tpo -c OgreOdeEntityInformer.cpp -fPIC -DPIC -o .libs/OgreOdeEntityInformer.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeEigenSolver.lo -MD -MP -MF .deps/OgreOdeEigenSolver.Tpo -c OgreOdeEigenSolver.cpp -fPIC -DPIC -o OgreOdeEigenSolver.o >/dev/null 2>&1
mv -f .deps/OgreOdeEigenSolver.Tpo .deps/OgreOdeEigenSolver.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeGeometry.lo -MD -MP -MF .deps/OgreOdeGeometry.Tpo -c -o OgreOdeGeometry.lo OgreOdeGeometry.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeGeometry.lo -MD -MP -MF .deps/OgreOdeGeometry.Tpo -c OgreOdeGeometry.cpp -fPIC -DPIC -o .libs/OgreOdeGeometry.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeEntityInformer.lo -MD -MP -MF .deps/OgreOdeEntityInformer.Tpo -c OgreOdeEntityInformer.cpp -fPIC -DPIC -o OgreOdeEntityInformer.o >/dev/null 2>&1
mv -f .deps/OgreOdeEntityInformer.Tpo .deps/OgreOdeEntityInformer.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeJoint.lo -MD -MP -MF .deps/OgreOdeJoint.Tpo -c -o OgreOdeJoint.lo OgreOdeJoint.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeJoint.lo -MD -MP -MF .deps/OgreOdeJoint.Tpo -c OgreOdeJoint.cpp -fPIC -DPIC -o .libs/OgreOdeJoint.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeGeometry.lo -MD -MP -MF .deps/OgreOdeGeometry.Tpo -c OgreOdeGeometry.cpp -fPIC -DPIC -o OgreOdeGeometry.o >/dev/null 2>&1
OgreOdeJoint.cpp: In member function ‘virtual void OgreOde::PistonJoint::setAxisDelta(const Ogre::Vector3&, const Ogre::Vector3&)’:
OgreOdeJoint.cpp:863: warning: ‘void dJointSetPistonAxisDelta(dxJoint*, dReal, dReal, dReal, dReal, dReal, dReal)’ is deprecated (declared at /usr/local/include/ode/objects.h:2057)
OgreOdeJoint.cpp:864: warning: ‘void dJointSetPistonAxisDelta(dxJoint*, dReal, dReal, dReal, dReal, dReal, dReal)’ is deprecated (declared at /usr/local/include/ode/objects.h:2057)
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeJoint.lo -MD -MP -MF .deps/OgreOdeJoint.Tpo -c OgreOdeJoint.cpp -fPIC -DPIC -o OgreOdeJoint.o >/dev/null 2>&1
mv -f .deps/OgreOdeGeometry.Tpo .deps/OgreOdeGeometry.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeMaintainedList.lo -MD -MP -MF .deps/OgreOdeMaintainedList.Tpo -c -o OgreOdeMaintainedList.lo OgreOdeMaintainedList.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeMaintainedList.lo -MD -MP -MF .deps/OgreOdeMaintainedList.Tpo -c OgreOdeMaintainedList.cpp -fPIC -DPIC -o .libs/OgreOdeMaintainedList.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeMaintainedList.lo -MD -MP -MF .deps/OgreOdeMaintainedList.Tpo -c OgreOdeMaintainedList.cpp -fPIC -DPIC -o OgreOdeMaintainedList.o >/dev/null 2>&1
mv -f .deps/OgreOdeJoint.Tpo .deps/OgreOdeJoint.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeMass.lo -MD -MP -MF .deps/OgreOdeMass.Tpo -c -o OgreOdeMass.lo OgreOdeMass.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeMass.lo -MD -MP -MF .deps/OgreOdeMass.Tpo -c OgreOdeMass.cpp -fPIC -DPIC -o .libs/OgreOdeMass.o
OgreOdeMass.cpp: In constructor ‘OgreOde::CapsuleMass::CapsuleMass(Ogre::Real, Ogre::Real, const Ogre::Vector3&, Ogre::Real)’:
OgreOdeMass.cpp:124: warning: ‘void dMassSetCappedCylinderTotal(dMass*, dReal, int, dReal, dReal)’ is deprecated (declared at /usr/local/include/ode/mass.h:85)
OgreOdeMass.cpp:124: warning: ‘void dMassSetCappedCylinderTotal(dMass*, dReal, int, dReal, dReal)’ is deprecated (declared at /usr/local/include/ode/mass.h:85)
OgreOdeMass.cpp: In member function ‘void OgreOde::CapsuleMass::setDensity(Ogre::Real, Ogre::Real, const Ogre::Vector3&, Ogre::Real)’:
OgreOdeMass.cpp:135: warning: ‘void dMassSetCappedCylinder(dMass*, dReal, int, dReal, dReal)’ is deprecated (declared at /usr/local/include/ode/mass.h:84)
OgreOdeMass.cpp:135: warning: ‘void dMassSetCappedCylinder(dMass*, dReal, int, dReal, dReal)’ is deprecated (declared at /usr/local/include/ode/mass.h:84)
mv -f .deps/OgreOdeMaintainedList.Tpo .deps/OgreOdeMaintainedList.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeSpace.lo -MD -MP -MF .deps/OgreOdeSpace.Tpo -c -o OgreOdeSpace.lo OgreOdeSpace.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeSpace.lo -MD -MP -MF .deps/OgreOdeSpace.Tpo -c OgreOdeSpace.cpp -fPIC -DPIC -o .libs/OgreOdeSpace.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeMass.lo -MD -MP -MF .deps/OgreOdeMass.Tpo -c OgreOdeMass.cpp -fPIC -DPIC -o OgreOdeMass.o >/dev/null 2>&1
mv -f .deps/OgreOdeMass.Tpo .deps/OgreOdeMass.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeStepper.lo -MD -MP -MF .deps/OgreOdeStepper.Tpo -c -o OgreOdeStepper.lo OgreOdeStepper.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeStepper.lo -MD -MP -MF .deps/OgreOdeStepper.Tpo -c OgreOdeStepper.cpp -fPIC -DPIC -o .libs/OgreOdeStepper.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeSpace.lo -MD -MP -MF .deps/OgreOdeSpace.Tpo -c OgreOdeSpace.cpp -fPIC -DPIC -o OgreOdeSpace.o >/dev/null 2>&1
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeStepper.lo -MD -MP -MF .deps/OgreOdeStepper.Tpo -c OgreOdeStepper.cpp -fPIC -DPIC -o OgreOdeStepper.o >/dev/null 2>&1
mv -f .deps/OgreOdeSpace.Tpo .deps/OgreOdeSpace.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeUtility.lo -MD -MP -MF .deps/OgreOdeUtility.Tpo -c -o OgreOdeUtility.lo OgreOdeUtility.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeUtility.lo -MD -MP -MF .deps/OgreOdeUtility.Tpo -c OgreOdeUtility.cpp -fPIC -DPIC -o .libs/OgreOdeUtility.o
mv -f .deps/OgreOdeStepper.Tpo .deps/OgreOdeStepper.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeTriangleMeshData.lo -MD -MP -MF .deps/OgreOdeTriangleMeshData.Tpo -c -o OgreOdeTriangleMeshData.lo OgreOdeTriangleMeshData.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeTriangleMeshData.lo -MD -MP -MF .deps/OgreOdeTriangleMeshData.Tpo -c OgreOdeTriangleMeshData.cpp -fPIC -DPIC -o .libs/OgreOdeTriangleMeshData.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeUtility.lo -MD -MP -MF .deps/OgreOdeUtility.Tpo -c OgreOdeUtility.cpp -fPIC -DPIC -o OgreOdeUtility.o >/dev/null 2>&1
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeTriangleMeshData.lo -MD -MP -MF .deps/OgreOdeTriangleMeshData.Tpo -c OgreOdeTriangleMeshData.cpp -fPIC -DPIC -o OgreOdeTriangleMeshData.o >/dev/null 2>&1
mv -f .deps/OgreOdeUtility.Tpo .deps/OgreOdeUtility.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeTriangleMeshDataManager.lo -MD -MP -MF .deps/OgreOdeTriangleMeshDataManager.Tpo -c -o OgreOdeTriangleMeshDataManager.lo OgreOdeTriangleMeshDataManager.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeTriangleMeshDataManager.lo -MD -MP -MF .deps/OgreOdeTriangleMeshDataManager.Tpo -c OgreOdeTriangleMeshDataManager.cpp -fPIC -DPIC -o .libs/OgreOdeTriangleMeshDataManager.o
mv -f .deps/OgreOdeTriangleMeshData.Tpo .deps/OgreOdeTriangleMeshData.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeWorld.lo -MD -MP -MF .deps/OgreOdeWorld.Tpo -c -o OgreOdeWorld.lo OgreOdeWorld.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeWorld.lo -MD -MP -MF .deps/OgreOdeWorld.Tpo -c OgreOdeWorld.cpp -fPIC -DPIC -o .libs/OgreOdeWorld.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeTriangleMeshDataManager.lo -MD -MP -MF .deps/OgreOdeTriangleMeshDataManager.Tpo -c OgreOdeTriangleMeshDataManager.cpp -fPIC -DPIC -o OgreOdeTriangleMeshDataManager.o >/dev/null 2>&1
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../include -g -O2 -MT OgreOdeWorld.lo -MD -MP -MF .deps/OgreOdeWorld.Tpo -c OgreOdeWorld.cpp -fPIC -DPIC -o OgreOdeWorld.o >/dev/null 2>&1
mv -f .deps/OgreOdeTriangleMeshDataManager.Tpo .deps/OgreOdeTriangleMeshDataManager.Plo
mv -f .deps/OgreOdeWorld.Tpo .deps/OgreOdeWorld.Plo
/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -o libOgreOde_Core.la -rpath /usr/local/lib OgreOdeBody.lo OgreOdeCollision.lo OgreOdeDebugObject.lo OgreOdeDebugContact.lo OgreOdeEigenSolver.lo OgreOdeEntityInformer.lo OgreOdeGeometry.lo OgreOdeJoint.lo OgreOdeMaintainedList.lo OgreOdeMass.lo OgreOdeSpace.lo OgreOdeStepper.lo OgreOdeUtility.lo OgreOdeTriangleMeshData.lo OgreOdeTriangleMeshDataManager.lo OgreOdeWorld.lo -L/usr/local/lib -lOgreMain -lode
libtool: link: g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.3.2/crtbeginS.o .libs/OgreOdeBody.o .libs/OgreOdeCollision.o .libs/OgreOdeDebugObject.o .libs/OgreOdeDebugContact.o .libs/OgreOdeEigenSolver.o .libs/OgreOdeEntityInformer.o .libs/OgreOdeGeometry.o .libs/OgreOdeJoint.o .libs/OgreOdeMaintainedList.o .libs/OgreOdeMass.o .libs/OgreOdeSpace.o .libs/OgreOdeStepper.o .libs/OgreOdeUtility.o .libs/OgreOdeTriangleMeshData.o .libs/OgreOdeTriangleMeshDataManager.o .libs/OgreOdeWorld.o -L/usr/local/lib /usr/local/lib/libOgreMain.so /usr/lib/libfreetype.so /usr/lib/libzzip.so -lX11 -lXaw -lXt -lSM -lICE -lCg -lfreeimage -lz -ldl /usr/local/lib/libode.a -lpthread -L/usr/lib/gcc/x86_64-linux-gnu/4.3.2 -L/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.3.2/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/crtn.o -Wl,-soname -Wl,libOgreOde_Core.so.0 -o .libs/libOgreOde_Core.so.0.0.0
/usr/bin/ld: /usr/local/lib/libode.a(box.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libode.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libOgreOde_Core.la] Error 1
make[2]: Leaving directory `/home/calder/Developer/ogre/ogreaddons/ogreode/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/calder/Developer/ogre/ogreaddons/ogreode'
make: *** [all] Error 2
Thanks for bearing with me,
-Calder
dermont
26-04-2009 17:28:44
Sorry, I would have thought running ./configure --with-pic for ode and rebuilding ode would have resolved your particular problem, obviously not. I don't have a 64 bit machine to test this, best to wait for someone who has done a 64 bit build.
Calder
26-04-2009 19:11:50
Ok, thanks for trying. I also expected that to solve the problem, but alas and alack, no luck. I'm more or less stalled now though, as I really need a Physics engine to go further, and OgreBullet has far more problems than OgreODE looks like it has....
Calder
26-04-2009 20:13:42
Well, I got past that error. The problem was that I'd compiled ODE without PIC. Once I recompiled ODE, I'm getting a new error! Yey!
calder@divvy:~/Developer/ogre/ogreaddons/ogreode$ make
make all-recursive
make[1]: Entering directory `/home/calder/Developer/ogre/ogreaddons/ogreode'
Making all in include
make[2]: Entering directory `/home/calder/Developer/ogre/ogreaddons/ogreode/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/calder/Developer/ogre/ogreaddons/ogreode/include'
Making all in src
make[2]: Entering directory `/home/calder/Developer/ogre/ogreaddons/ogreode/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/calder/Developer/ogre/ogreaddons/ogreode/src'
Making all in prefab
make[2]: Entering directory `/home/calder/Developer/ogre/ogreaddons/ogreode/prefab'
Making all in include
make[3]: Entering directory `/home/calder/Developer/ogre/ogreaddons/ogreode/prefab/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/calder/Developer/ogre/ogreaddons/ogreode/prefab/include'
Making all in src
make[3]: Entering directory `/home/calder/Developer/ogre/ogreaddons/ogreode/prefab/src'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/calder/Developer/ogre/ogreaddons/ogreode/prefab/src'
make[3]: Entering directory `/home/calder/Developer/ogre/ogreaddons/ogreode/prefab'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/calder/Developer/ogre/ogreaddons/ogreode/prefab'
make[2]: Leaving directory `/home/calder/Developer/ogre/ogreaddons/ogreode/prefab'
Making all in loader
make[2]: Entering directory `/home/calder/Developer/ogre/ogreaddons/ogreode/loader'
Making all in include
make[3]: Entering directory `/home/calder/Developer/ogre/ogreaddons/ogreode/loader/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/calder/Developer/ogre/ogreaddons/ogreode/loader/include'
Making all in src
make[3]: Entering directory `/home/calder/Developer/ogre/ogreaddons/ogreode/loader/src'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/calder/Developer/ogre/ogreaddons/ogreode/loader/src'
make[3]: Entering directory `/home/calder/Developer/ogre/ogreaddons/ogreode/loader'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/calder/Developer/ogre/ogreaddons/ogreode/loader'
make[2]: Leaving directory `/home/calder/Developer/ogre/ogreaddons/ogreode/loader'
Making all in demos
make[2]: Entering directory `/home/calder/Developer/ogre/ogreaddons/ogreode/demos'
Making all in SimpleScenes
make[3]: Entering directory `/home/calder/Developer/ogre/ogreaddons/ogreode/demos/SimpleScenes'
Making all in src
make[4]: Entering directory `/home/calder/Developer/ogre/ogreaddons/ogreode/demos/SimpleScenes/src'
g++ -DHAVE_CONFIG_H -I. -I../../.. -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I/usr/local/include/OIS -I/usr/local/include -I../../../../../ogre/Samples/Common/include -I../include -I../../../include -I../../../prefab/include -I../../../tinyxml -I../../../loader/include -g -O2 -MT SimpleScenes-SimpleScenesApplication.o -MD -MP -MF .deps/SimpleScenes-SimpleScenesApplication.Tpo -c -o SimpleScenes-SimpleScenesApplication.o `test -f 'SimpleScenesApplication.cpp' || echo './'`SimpleScenesApplication.cpp
In file included from SimpleScenesApplication.cpp:8:
../include/SimpleScenesApplication.h:14:32: error: ExampleApplication.h: No such file or directory
In file included from SimpleScenesApplication.cpp:8:
../include/SimpleScenesApplication.h:29: error: expected class-name before ‘{’ token
../include/SimpleScenesApplication.h:32: error: ‘RenderWindow’ has not been declared
../include/SimpleScenesApplication.h:32: error: ‘Camera’ has not been declared
../include/SimpleScenesApplication.h:40: error: expected ‘,’ or ‘...’ before ‘&’ token
../include/SimpleScenesApplication.h:40: error: ISO C++ forbids declaration of ‘FrameEvent’ with no type
../include/SimpleScenesApplication.h:41: error: expected ‘,’ or ‘...’ before ‘&’ token
../include/SimpleScenesApplication.h:41: error: ISO C++ forbids declaration of ‘FrameEvent’ with no type
../include/SimpleScenesApplication.h: In constructor ‘SimpleScenesFrameListener::SimpleScenesFrameListener(SimpleScenesApplication*, int*, int*)’:
../include/SimpleScenesApplication.h:33: error: class ‘SimpleScenesFrameListener’ does not have any field named ‘ExampleFrameListener’
../include/SimpleScenesApplication.h:36: error: ‘mMoveSpeed’ was not declared in this scope
../include/SimpleScenesApplication.h: At global scope:
../include/SimpleScenesApplication.h:52: error: expected class-name before ‘{’ token
../include/SimpleScenesApplication.h:169: error: expected ‘,’ or ‘...’ before ‘&’ token
../include/SimpleScenesApplication.h:169: error: ISO C++ forbids declaration of ‘FrameEvent’ with no type
../include/SimpleScenesApplication.h:170: error: expected ‘,’ or ‘...’ before ‘&’ token
../include/SimpleScenesApplication.h:170: error: ISO C++ forbids declaration of ‘FrameEvent’ with no type
../include/SimpleScenesApplication.h:181: error: ‘Real’ does not name a type
../include/SimpleScenesApplication.h:182: error: ISO C++ forbids declaration of ‘Light’ with no type
../include/SimpleScenesApplication.h:182: error: expected ‘;’ before ‘*’ token
../include/SimpleScenesApplication.h: In constructor ‘SimpleScenesApplication::SimpleScenesApplication()’:
../include/SimpleScenesApplication.h:59: error: class ‘SimpleScenesApplication’ does not have any field named ‘ExampleApplication’
../include/SimpleScenesApplication.h:66: error: ‘_time_elapsed’ was not declared in this scope
../include/SimpleScenesApplication.h:67: error: ‘_time_step’ was not declared in this scope
../include/SimpleScenesApplication.h: In member function ‘void SimpleScenesApplication::createFrameListener()’:
../include/SimpleScenesApplication.h:78: error: ‘mFrameListener’ was not declared in this scope
../include/SimpleScenesApplication.h:78: error: ‘mWindow’ was not declared in this scope
../include/SimpleScenesApplication.h:78: error: ‘mCamera’ was not declared in this scope
../include/SimpleScenesApplication.h:79: error: ‘mRoot’ was not declared in this scope
../include/SimpleScenesApplication.h: In member function ‘void SimpleScenesApplication::chooseSceneManager()’:
../include/SimpleScenesApplication.h:83: error: ‘mSceneMgr’ was not declared in this scope
../include/SimpleScenesApplication.h:83: error: ‘mRoot’ was not declared in this scope
../include/SimpleScenesApplication.h:83: error: ‘ST_GENERIC’ was not declared in this scope
../include/SimpleScenesApplication.h: In member function ‘void SimpleScenesApplication::setupResources()’:
../include/SimpleScenesApplication.h:89: error: ‘ExampleApplication’ has not been declared
../include/SimpleScenesApplication.h:90: error: ‘ResourceGroupManager’ was not declared in this scope
../include/SimpleScenesApplication.h:90: error: ‘rsm’ was not declared in this scope
../include/SimpleScenesApplication.h:90: error: ‘ResourceGroupManager’ is not a class or namespace
../include/SimpleScenesApplication.h:91: error: ‘StringVector’ was not declared in this scope
../include/SimpleScenesApplication.h:91: error: expected `;' before ‘groups’
../include/SimpleScenesApplication.h:93: error: ‘FileInfoListPtr’ was not declared in this scope
../include/SimpleScenesApplication.h:93: error: expected `;' before ‘finfo’
../include/SimpleScenesApplication.h:96: error: ‘finfo’ was not declared in this scope
../include/SimpleScenesApplication.h:97: error: ‘StringUtil’ has not been declared
../include/SimpleScenesApplication.h:101: error: ‘String’ does not name a type
../include/SimpleScenesApplication.h:102: error: ‘groups’ was not declared in this scope
../include/SimpleScenesApplication.h:102: error: ‘groupName’ was not declared in this scope
../include/SimpleScenesApplication.h:102: error: ‘String’ was not declared in this scope
../include/SimpleScenesApplication.h:117: error: ‘String’ does not name a type
../include/SimpleScenesApplication.h:118: error: ‘groups’ was not declared in this scope
../include/SimpleScenesApplication.h:118: error: ‘groupName’ was not declared in this scope
../include/SimpleScenesApplication.h:118: error: ‘String’ was not declared in this scope
../include/SimpleScenesApplication.h:121: error: expected `;' before ‘folderBase’
../include/SimpleScenesApplication.h:124: error: ‘folderBase’ was not declared in this scope
../include/SimpleScenesApplication.h:128: error: ‘folderBase’ was not declared in this scope
../include/SimpleScenesApplication.h:131: error: ‘folderBase’ was not declared in this scope
In file included from SimpleScenesApplication.cpp:11:
../include/SimpleScenes_BoxStack.h: At global scope:
../include/SimpleScenes_BoxStack.h:21: error: ISO C++ forbids declaration of ‘String’ with no type
../include/SimpleScenes_BoxStack.h:21: error: ‘String’ declared as a ‘virtual’ field
../include/SimpleScenes_BoxStack.h:21: error: expected ‘;’ before ‘&’ token
../include/SimpleScenes_BoxStack.h:28: error: expected `;' before ‘virtual’
../include/SimpleScenes_BoxStack.h:28: error: ISO C++ forbids declaration of ‘String’ with no type
../include/SimpleScenes_BoxStack.h:28: error: ‘String’ declared as a ‘virtual’ field
../include/SimpleScenes_BoxStack.h:28: error: expected ‘;’ before ‘&’ token
../include/SimpleScenes_BoxStack.h:42: error: expected `;' before ‘virtual’
../include/SimpleScenes_BoxStack.h:42: error: ‘Real’ has not been declared
In file included from SimpleScenesApplication.cpp:12:
../include/SimpleScenes_Buggy.h:13: error: ‘String’ does not name a type
../include/SimpleScenes_Buggy.h:18: error: ‘String’ does not name a type
../include/SimpleScenes_Buggy.h:86: error: ISO C++ forbids declaration of ‘String’ with no type
../include/SimpleScenes_Buggy.h:86: error: ‘String’ declared as a ‘virtual’ field
../include/SimpleScenes_Buggy.h:86: error: expected ‘;’ before ‘&’ token
../include/SimpleScenes_Buggy.h:94: error: expected `;' before ‘virtual’
../include/SimpleScenes_Buggy.h:94: error: ISO C++ forbids declaration of ‘String’ with no type
../include/SimpleScenes_Buggy.h:94: error: ‘String’ declared as a ‘virtual’ field
../include/SimpleScenes_Buggy.h:94: error: expected ‘;’ before ‘&’ token
../include/SimpleScenes_Buggy.h:102: error: expected `;' before ‘void’
../include/SimpleScenes_Buggy.h:122: error: ‘Real’ has not been declared
../include/SimpleScenes_Buggy.h: In constructor ‘SimpleScenes_Buggy::SimpleScenes_Buggy(OgreOde::World*)’:
../include/SimpleScenes_Buggy.h:42: error: ‘Vector3’ was not declared in this scope
../include/SimpleScenes_Buggy.h:46: error: ‘carNames’ was not declared in this scope
../include/SimpleScenes_Buggy.h:49: error: ‘Entity’ was not declared in this scope
../include/SimpleScenes_Buggy.h:49: error: ‘entity’ was not declared in this scope
../include/SimpleScenes_Buggy.h:53: error: ‘SceneNode’ was not declared in this scope
../include/SimpleScenes_Buggy.h:53: error: ‘node’ was not declared in this scope
../include/SimpleScenes_Buggy.h:56: error: ‘Radian’ was not declared in this scope
../include/SimpleScenes_Buggy.h:56: error: ‘Quaternion’ was not declared in this scope
../include/SimpleScenes_Buggy.h:61: error: ‘Matrix4’ has not been declared
../include/SimpleScenes_Buggy.h: In member function ‘void SimpleScenes_Buggy::changeCar()’:
../include/SimpleScenes_Buggy.h:107: error: ‘carFileNames’ was not declared in this scope
../include/SimpleScenes_Buggy.h:107: error: ‘carNames’ was not declared in this scope
../include/SimpleScenes_Buggy.h:111: error: ‘Vector3’ was not declared in this scope
../include/SimpleScenes_Buggy.h: In member function ‘virtual void SimpleScenes_Buggy::frameEnded(int, OIS::Keyboard*, OIS::Mouse*)’:
../include/SimpleScenes_Buggy.h:156: error: ‘carNames’ was not declared in this scope
In file included from SimpleScenesApplication.cpp:13:
../include/SimpleScenes_Chain.h: At global scope:
../include/SimpleScenes_Chain.h:86: error: ‘Real’ has not been declared
../include/SimpleScenes_Chain.h:118: error: ISO C++ forbids declaration of ‘String’ with no type
../include/SimpleScenes_Chain.h:118: error: ‘String’ declared as a ‘virtual’ field
../include/SimpleScenes_Chain.h:118: error: expected ‘;’ before ‘&’ token
../include/SimpleScenes_Chain.h:125: error: expected `;' before ‘virtual’
../include/SimpleScenes_Chain.h:125: error: ISO C++ forbids declaration of ‘String’ with no type
../include/SimpleScenes_Chain.h:125: error: ‘String’ declared as a ‘virtual’ field
../include/SimpleScenes_Chain.h:125: error: expected ‘;’ before ‘&’ token
../include/SimpleScenes_Chain.h:132: error: expected `;' before ‘bool’
../include/SimpleScenes_Chain.h:156: error: ‘Real’ has not been declared
../include/SimpleScenes_Chain.h:188: error: ‘Real’ does not name a type
../include/SimpleScenes_Chain.h:189: error: ‘Vector3’ does not name a type
../include/SimpleScenes_Chain.h: In constructor ‘SimpleScenes_Chain::SimpleScenes_Chain(OgreOde::World*)’:
../include/SimpleScenes_Chain.h:21: error: ‘Real’ was not declared in this scope
../include/SimpleScenes_Chain.h:21: error: expected `;' before ‘link_size’
../include/SimpleScenes_Chain.h:26: error: ‘_force’ was not declared in this scope
../include/SimpleScenes_Chain.h:31: error: expected `;' before ‘np’
../include/SimpleScenes_Chain.h:32: error: ‘String’ was not declared in this scope
../include/SimpleScenes_Chain.h:32: error: expected `;' before ‘name’
../include/SimpleScenes_Chain.h:35: error: ‘Entity’ was not declared in this scope
../include/SimpleScenes_Chain.h:35: error: ‘entity’ was not declared in this scope
../include/SimpleScenes_Chain.h:35: error: ‘name’ was not declared in this scope
../include/SimpleScenes_Chain.h:39: error: ‘SceneNode’ was not declared in this scope
../include/SimpleScenes_Chain.h:39: error: ‘node’ was not declared in this scope
../include/SimpleScenes_Chain.h:41: error: ‘link_size’ was not declared in this scope
../include/SimpleScenes_Chain.h:42: error: ‘np’ was not declared in this scope
../include/SimpleScenes_Chain.h:42: error: ‘Vector3’ was not declared in this scope
../include/SimpleScenes_Chain.h:45: error: ‘Matrix4’ has not been declared
../include/SimpleScenes_Chain.h:61: error: expected `;' before ‘ja’
../include/SimpleScenes_Chain.h:62: error: ‘ja’ was not declared in this scope
../include/SimpleScenes_Chain.h:71: error: ‘Vector3’ was not declared in this scope
../include/SimpleScenes_Chain.h: In member function ‘virtual void SimpleScenes_Chain::frameEnded(int, OIS::Keyboard*, OIS::Mouse*)’:
../include/SimpleScenes_Chain.h:91: error: ‘_force_to_apply’ was not declared in this scope
../include/SimpleScenes_Chain.h:93: error: ‘Vector3’ was not declared in this scope
../include/SimpleScenes_Chain.h:93: error: expected `;' before ‘right’
../include/SimpleScenes_Chain.h:94: error: expected `;' before ‘forward’
../include/SimpleScenes_Chain.h:97: error: ‘_force’ was not declared in this scope
../include/SimpleScenes_Chain.h:100: error: ‘right’ was not declared in this scope
../include/SimpleScenes_Chain.h:100: error: ‘_force’ was not declared in this scope
../include/SimpleScenes_Chain.h:101: error: ‘right’ was not declared in this scope
../include/SimpleScenes_Chain.h:101: error: ‘_force’ was not declared in this scope
../include/SimpleScenes_Chain.h:104: error: ‘forward’ was not declared in this scope
../include/SimpleScenes_Chain.h:104: error: ‘_force’ was not declared in this scope
../include/SimpleScenes_Chain.h:105: error: ‘forward’ was not declared in this scope
../include/SimpleScenes_Chain.h:105: error: ‘_force’ was not declared in this scope
../include/SimpleScenes_Chain.h: In member function ‘virtual void SimpleScenes_Chain::addForcesAndTorques()’:
../include/SimpleScenes_Chain.h:114: error: ‘_force_to_apply’ was not declared in this scope
../include/SimpleScenes_Chain.h: In destructor ‘virtual SimpleScenes_Chain::~SimpleScenes_Chain()’:
../include/SimpleScenes_Chain.h:147: error: ‘String’ was not declared in this scope
../include/SimpleScenes_Chain.h:147: error: expected `;' before ‘name’
../include/SimpleScenes_Chain.h:148: error: ‘name’ was not declared in this scope
../include/SimpleScenes_Chain.h: In member function ‘void SimpleScenes_Chain::createBox(int, int, const Ogre::Vector3&)’:
../include/SimpleScenes_Chain.h:159: error: ‘String’ was not declared in this scope
../include/SimpleScenes_Chain.h:159: error: expected `;' before ‘name’
../include/SimpleScenes_Chain.h:161: error: ‘Entity’ was not declared in this scope
../include/SimpleScenes_Chain.h:161: error: ‘entity’ was not declared in this scope
../include/SimpleScenes_Chain.h:161: error: ‘name’ was not declared in this scope
../include/SimpleScenes_Chain.h:165: error: ‘SceneNode’ was not declared in this scope
../include/SimpleScenes_Chain.h:165: error: ‘node’ was not declared in this scope
../include/SimpleScenes_Chain.h:171: error: ‘Matrix4’ has not been declared
In file included from SimpleScenesApplication.cpp:14:
../include/SimpleScenes_TriMesh.h: At global scope:
../include/SimpleScenes_TriMesh.h:48: error: ISO C++ forbids declaration of ‘String’ with no type
../include/SimpleScenes_TriMesh.h:48: error: ‘String’ declared as a ‘virtual’ field
../include/SimpleScenes_TriMesh.h:48: error: expected ‘;’ before ‘&’ token
../include/SimpleScenes_TriMesh.h:53: error: expected `;' before ‘}’ token
../include/SimpleScenes_TriMesh.h: In constructor ‘SimpleScenes_TriMesh::SimpleScenes_TriMesh(OgreOde::World*)’:
../include/SimpleScenes_TriMesh.h:21: error: ‘Entity’ was not declared in this scope
../include/SimpleScenes_TriMesh.h:21: error: ‘entity’ was not declared in this scope
../include/SimpleScenes_TriMesh.h:23: error: ‘SceneNode’ was not declared in this scope
../include/SimpleScenes_TriMesh.h:23: error: ‘node’ was not declared in this scope
../include/SimpleScenes_TriMesh.h:25: error: ‘Vector3’ was not declared in this scope
../include/SimpleScenes_TriMesh.h:27: error: ‘Degree’ was not declared in this scope
../include/SimpleScenes_TriMesh.h:27: error: ‘Vector3’ is not a class or namespace
../include/SimpleScenes_TriMesh.h:27: error: ‘Quaternion’ was not declared in this scope
In file included from SimpleScenesApplication.cpp:15:
../include/SimpleScenes_Crash.h: At global scope:
../include/SimpleScenes_Crash.h:283: error: ISO C++ forbids declaration of ‘String’ with no type
../include/SimpleScenes_Crash.h:283: error: ‘String’ declared as a ‘virtual’ field
../include/SimpleScenes_Crash.h:283: error: expected ‘;’ before ‘&’ token
../include/SimpleScenes_Crash.h:290: error: expected `;' before ‘virtual’
../include/SimpleScenes_Crash.h:290: error: ISO C++ forbids declaration of ‘String’ with no type
../include/SimpleScenes_Crash.h:290: error: ‘String’ declared as a ‘virtual’ field
../include/SimpleScenes_Crash.h:290: error: expected ‘;’ before ‘&’ token
../include/SimpleScenes_Crash.h:304: error: expected `;' before ‘virtual’
../include/SimpleScenes_Crash.h:304: error: ‘Real’ has not been declared
../include/SimpleScenes_Crash.h:567: error: ‘Real’ has not been declared
../include/SimpleScenes_Crash.h:641: error: ISO C++ forbids declaration of ‘Entity’ with no type
../include/SimpleScenes_Crash.h:641: error: expected ‘;’ before ‘*’ token
../include/SimpleScenes_Crash.h:642: error: ISO C++ forbids declaration of ‘SceneNode’ with no type
../include/SimpleScenes_Crash.h:642: error: expected ‘;’ before ‘*’ token
../include/SimpleScenes_Crash.h:644: error: ‘Real’ does not name a type
../include/SimpleScenes_Crash.h:652: error: ‘Real’ does not name a type
../include/SimpleScenes_Crash.h:653: error: ‘Real’ does not name a type
../include/SimpleScenes_Crash.h:654: error: ‘Real’ does not name a type
../include/SimpleScenes_Crash.h:655: error: ‘Vector3’ does not name a type
../include/SimpleScenes_Crash.h:658: error: ‘Real’ does not name a type
../include/SimpleScenes_Crash.h:659: error: ‘Real’ was not declared in this scope
../include/SimpleScenes_Crash.h:659: error: template argument 2 is invalid
../include/SimpleScenes_Crash.h:659: error: template argument 4 is invalid
../include/SimpleScenes_Crash.h:663: error: ISO C++ forbids declaration of ‘SceneNode’ with no type
../include/SimpleScenes_Crash.h:663: error: expected ‘;’ before ‘*’ token
../include/SimpleScenes_Crash.h:664: error: ISO C++ forbids declaration of ‘ParticleSystem’ with no type
../include/SimpleScenes_Crash.h:664: error: expected ‘;’ before ‘*’ token
../include/SimpleScenes_Crash.h:665: error: ISO C++ forbids declaration of ‘ParticleSystem’ with no type
../include/SimpleScenes_Crash.h:665: error: expected ‘;’ before ‘*’ token
../include/SimpleScenes_Crash.h:666: error: ISO C++ forbids declaration of ‘ParticleSystem’ with no type
../include/SimpleScenes_Crash.h:666: error: expected ‘;’ before ‘*’ token
../include/SimpleScenes_Crash.h: In constructor ‘SimpleScenes_Crash::SimpleScenes_Crash(OgreOde::World*)’:
../include/SimpleScenes_Crash.h:20: error: ‘_rocket_node_explosion’ was not declared in this scope
../include/SimpleScenes_Crash.h:22: error: ‘_rocketParticles_explosion’ was not declared in this scope
../include/SimpleScenes_Crash.h:23: error: ‘_rocketParticles_smoke_white’ was not declared in this scope
../include/SimpleScenes_Crash.h:24: error: ‘_rocketParticles_smoke’ was not declared in this scope
../include/SimpleScenes_Crash.h:41: error: ‘_apache_body’ was not declared in this scope
../include/SimpleScenes_Crash.h:47: error: ‘_apache_body_node’ was not declared in this scope
../include/SimpleScenes_Crash.h:52: error: ‘_main_rotor’ was not declared in this scope
../include/SimpleScenes_Crash.h:55: error: ‘_main_rotor_node’ was not declared in this scope
../include/SimpleScenes_Crash.h:60: error: ‘_tail_rotor’ was not declared in this scope
../include/SimpleScenes_Crash.h:63: error: ‘_tail_rotor_node’ was not declared in this scope
../include/SimpleScenes_Crash.h:68: error: ‘_main_min’ was not declared in this scope
../include/SimpleScenes_Crash.h:69: error: ‘_main_max’ was not declared in this scope
../include/SimpleScenes_Crash.h:70: error: ‘_main_spd’ was not declared in this scope
../include/SimpleScenes_Crash.h:71: error: ‘_main_response’ was not declared in this scope
../include/SimpleScenes_Crash.h:72: error: ‘_main_scale’ was not declared in this scope
../include/SimpleScenes_Crash.h:75: error: ‘_tail_min’ was not declared in this scope
../include/SimpleScenes_Crash.h:76: error: ‘_tail_max’ was not declared in this scope
../include/SimpleScenes_Crash.h:77: error: ‘_tail_response’ was not declared in this scope
../include/SimpleScenes_Crash.h:78: error: ‘_tail_scale’ was not declared in this scope
../include/SimpleScenes_Crash.h:79: error: ‘_tail_spd’ was not declared in this scope
../include/SimpleScenes_Crash.h:82: error: ‘_rotate_scale’ was not declared in this scope
../include/SimpleScenes_Crash.h:83: error: ‘_thrust’ was not declared in this scope
../include/SimpleScenes_Crash.h:84: error: ‘_linear_damp’ was not declared in this scope
../include/SimpleScenes_Crash.h:85: error: ‘_angular_damp’ was not declared in this scope
../include/SimpleScenes_Crash.h:86: error: ‘_thrust_offs’ was not declared in this scope
../include/SimpleScenes_Crash.h:87: error: ‘_fire_rate’ was not declared in this scope
../include/SimpleScenes_Crash.h:88: error: ‘_fire_time’ was not declared in this scope
../include/SimpleScenes_Crash.h:89: error: ‘_fire_force’ was not declared in this scope
../include/SimpleScenes_Crash.h:90: error: ‘_fire_mass’ was not declared in this scope
../include/SimpleScenes_Crash.h:91: error: ‘_fire_size’ was not declared in this scope
../include/SimpleScenes_Crash.h:101: error: ‘Vector3’ was not declared in this scope
../include/SimpleScenes_Crash.h:194: error: ‘Vector3’ is not a class or namespace
../include/SimpleScenes_Crash.h:208: error: ‘Vector3’ is not a class or namespace
../include/SimpleScenes_Crash.h:222: error: ‘Real’ was not declared in this scope
../include/SimpleScenes_Crash.h:222: error: expected `;' before ‘y’
../include/SimpleScenes_Crash.h:222: error: ‘y’ was not declared in this scope
../include/SimpleScenes_Crash.h:224: error: expected `;' before ‘x’
../include/SimpleScenes_Crash.h:224: error: ‘x’ was not declared in this scope
../include/SimpleScenes_Crash.h:233: error: ‘String’ was not declared in this scope
../include/SimpleScenes_Crash.h:233: error: expected `;' before ‘name’
../include/SimpleScenes_Crash.h:234: error: ‘Entity’ was not declared in this scope
../include/SimpleScenes_Crash.h:234: error: ‘box’ was not declared in this scope
../include/SimpleScenes_Crash.h:234: error: ‘name’ was not declared in this scope
../include/SimpleScenes_Crash.h:238: error: ‘SceneNode’ was not declared in this scope
../include/SimpleScenes_Crash.h:238: error: ‘node’ was not declared in this scope
../include/SimpleScenes_Crash.h:243: error: ‘Quaternion’ was not declared in this scope
../include/SimpleScenes_Crash.h:243: error: expected `;' before ‘q’
../include/SimpleScenes_Crash.h:244: error: ‘q’ was not declared in this scope
../include/SimpleScenes_Crash.h:244: error: ‘Degree’ was not declared in this scope
../include/SimpleScenes_Crash.h:244: error: ‘Vector3’ has not been declared
../include/SimpleScenes_Crash.h:245: error: ‘Vector3’ was not declared in this scope
../include/SimpleScenes_Crash.h:245: error: expected `;' before ‘pos’
../include/SimpleScenes_Crash.h:246: error: ‘pos’ was not declared in this scope
../include/SimpleScenes_Crash.h: In destructor ‘virtual SimpleScenes_Crash::~SimpleScenes_Crash()’:
../include/SimpleScenes_Crash.h:271: error: ‘_apache_body_node’ was not declared in this scope
../include/SimpleScenes_Crash.h: In member function ‘virtual void SimpleScenes_Crash::frameEnded(int, OIS::Keyboard*, OIS::Mouse*)’:
../include/SimpleScenes_Crash.h:311: error: ‘_main_spd’ was not declared in this scope
../include/SimpleScenes_Crash.h:311: error: ‘_main_response’ was not declared in this scope
../include/SimpleScenes_Crash.h:312: error: ‘_main_spd’ was not declared in this scope
../include/SimpleScenes_Crash.h:312: error: ‘_main_response’ was not declared in this scope
../include/SimpleScenes_Crash.h:315: error: ‘_thrust_force’ was not declared in this scope
../include/SimpleScenes_Crash.h:316: error: ‘_thrust’ was not declared in this scope
../include/SimpleScenes_Crash.h:317: error: ‘_thrust’ was not declared in this scope
../include/SimpleScenes_Crash.h:318: error: ‘_thrust’ was not declared in this scope
../include/SimpleScenes_Crash.h:319: error: ‘_thrust’ was not declared in this scope
../include/SimpleScenes_Crash.h:322: error: ‘_main_spd’ was not declared in this scope
../include/SimpleScenes_Crash.h:322: error: ‘_main_min’ was not declared in this scope
../include/SimpleScenes_Crash.h:322: error: ‘_main_max’ was not declared in this scope
../include/SimpleScenes_Crash.h:325: error: ‘_tail_spd’ was not declared in this scope
../include/SimpleScenes_Crash.h:325: error: ‘_tail_response’ was not declared in this scope
../include/SimpleScenes_Crash.h:326: error: ‘_tail_spd’ was not declared in this scope
../include/SimpleScenes_Crash.h:326: error: ‘_tail_response’ was not declared in this scope
../include/SimpleScenes_Crash.h:329: error: ‘_tail_spd’ was not declared in this scope
../include/SimpleScenes_Crash.h:331: error: ‘_tail_response’ was not declared in this scope
../include/SimpleScenes_Crash.h:336: error: ‘_tail_response’ was not declared in this scope
../include/SimpleScenes_Crash.h:342: error: ‘_tail_spd’ was not declared in this scope
../include/SimpleScenes_Crash.h:342: error: ‘_tail_min’ was not declared in this scope
../include/SimpleScenes_Crash.h:342: error: ‘_tail_max’ was not declared in this scope
../include/SimpleScenes_Crash.h:345: error: ‘_tail_rotor_node’ was not declared in this scope
../include/SimpleScenes_Crash.h:345: error: ‘Vector3’ has not been declared
../include/SimpleScenes_Crash.h:345: error: ‘_rotate_scale’ was not declared in this scope
../include/SimpleScenes_Crash.h:345: error: ‘Radian’ was not declared in this scope
../include/SimpleScenes_Crash.h:351: error: ‘_main_rotor_node’ was not declared in this scope
../include/SimpleScenes_Crash.h:351: error: ‘Vector3’ has not been declared
../include/SimpleScenes_Crash.h:355: error: ‘_fire_time’ was not declared in this scope
../include/SimpleScenes_Crash.h:356: error: ‘_fire_rate’ was not declared in this scope
../include/SimpleScenes_Crash.h:362: error: ‘String’ does not name a type
../include/SimpleScenes_Crash.h:363: error: ‘ParticleSystem’ was not declared in this scope
../include/SimpleScenes_Crash.h:363: error: ‘rocketParticles’ was not declared in this scope
../include/SimpleScenes_Crash.h:363: error: ‘name’ was not declared in this scope
../include/SimpleScenes_Crash.h:364: error: ‘SceneNode’ was not declared in this scope
../include/SimpleScenes_Crash.h:364: error: ‘rocket_node’ was not declared in this scope
../include/SimpleScenes_Crash.h:370: error: ‘Vector3’ does not name a type
../include/SimpleScenes_Crash.h:371: error: ‘Vector3’ does not name a type
../include/SimpleScenes_Crash.h:373: error: ‘pos’ was not declared in this scope
../include/SimpleScenes_Crash.h:378: error: ‘_fire_size’ was not declared in this scope
../include/SimpleScenes_Crash.h:380: error: ‘_fire_mass’ was not declared in this scope
../include/SimpleScenes_Crash.h:390: error: ‘force’ was not declared in this scope
../include/SimpleScenes_Crash.h:393: error: no match for ‘operator=’ in ‘*(rocket_geom + ((long unsigned int)(((long unsigned int)((SimpleScenes_Crash*)this)->SimpleScenes_Crash::_rocket_list) * 416ul))) = 0.0f’
../../../include/OgreOdeGeometry.h:184: note: candidates are: OgreOde::SphereGeometry& OgreOde::SphereGeometry::operator=(const OgreOde::SphereGeometry&)
../include/SimpleScenes_Crash.h:397: error: ‘Real’ was not declared in this scope
../include/SimpleScenes_Crash.h:397: error: template argument 2 is invalid
../include/SimpleScenes_Crash.h:397: error: template argument 4 is invalid
../include/SimpleScenes_Crash.h:397: error: expected initializer before ‘i’
../include/SimpleScenes_Crash.h:398: error: ‘i’ was not declared in this scope
../include/SimpleScenes_Crash.h:398: error: request for member ‘end’ in ‘((SimpleScenes_Crash*)this)->SimpleScenes_Crash::_rocket_list’, which is of non-class type ‘int’
../include/SimpleScenes_Crash.h:436: error: request for member ‘erase’ in ‘((SimpleScenes_Crash*)this)->SimpleScenes_Crash::_rocket_list’, which is of non-class type ‘int’
../include/SimpleScenes_Crash.h:444: error: no matching function for call to ‘SimpleScenes_Crash::killEmitters(OgreOde::SphereGeometry*&, float*&)’
../include/SimpleScenes_Crash.h:567: note: candidates are: void SimpleScenes_Crash::killEmitters(OgreOde::SphereGeometry*, int*)
../include/SimpleScenes_Crash.h: In member function ‘virtual bool SimpleScenes_Crash::collision(OgreOde::Contact*)’:
../include/SimpleScenes_Crash.h:460: error: ‘Real’ was not declared in this scope
../include/SimpleScenes_Crash.h:460: error: template argument 2 is invalid
../include/SimpleScenes_Crash.h:460: error: template argument 4 is invalid
../include/SimpleScenes_Crash.h:460: error: expected initializer before ‘li’
../include/SimpleScenes_Crash.h:469: error: ‘li’ was not declared in this scope
../include/SimpleScenes_Crash.h:469: error: request for member ‘find’ in ‘((SimpleScenes_Crash*)this)->SimpleScenes_Crash::_rocket_list’, which is of non-class type ‘int’
../include/SimpleScenes_Crash.h:470: error: request for member ‘end’ in ‘((SimpleScenes_Crash*)this)->SimpleScenes_Crash::_rocket_list’, which is of non-class type ‘int’
../include/SimpleScenes_Crash.h:480: error: ‘Real’ cannot appear in a constant-expression
../include/SimpleScenes_Crash.h:480: error: template argument 2 is invalid
../include/SimpleScenes_Crash.h:480: error: template argument 4 is invalid
../include/SimpleScenes_Crash.h:480: error: expected initializer before ‘li’
../include/SimpleScenes_Crash.h:482: error: ‘li’ was not declared in this scope
../include/SimpleScenes_Crash.h:482: error: request for member ‘end’ in ‘((SimpleScenes_Crash*)this)->SimpleScenes_Crash::_rocket_list’, which is of non-class type ‘int’
../include/SimpleScenes_Crash.h:498: error: ‘Vector3’ does not name a type
../include/SimpleScenes_Crash.h:499: error: ‘explosionCenter’ was not declared in this scope
../include/SimpleScenes_Crash.h:499: error: ‘Sphere’ was not declared in this scope
../include/SimpleScenes_Crash.h:503: error: ‘SceneManager’ has not been declared
../include/SimpleScenes_Crash.h:505: error: expected initializer before ‘&’ token
../include/SimpleScenes_Crash.h:506: error: ‘result’ was not declared in this scope
../include/SimpleScenes_Crash.h:508: error: ‘SceneQueryResultMovableList’ has not been declared
../include/SimpleScenes_Crash.h:508: error: expected `;' before ‘i’
../include/SimpleScenes_Crash.h:509: error: ‘i’ was not declared in this scope
../include/SimpleScenes_Crash.h:517: error: ‘Vector3’ was not declared in this scope
../include/SimpleScenes_Crash.h:517: error: expected `;' before ‘forceAreaDirection’
../include/SimpleScenes_Crash.h:518: error: ‘Real’ does not name a type
../include/SimpleScenes_Crash.h:519: error: ‘forceAreaDirection’ was not declared in this scope
../include/SimpleScenes_Crash.h:522: error: ‘forcePower’ was not declared in this scope
../include/SimpleScenes_Crash.h:529: error: no matching function for call to ‘SimpleScenes_Crash::killEmitters(OgreOde::SphereGeometry*&, float*&)’
../include/SimpleScenes_Crash.h:567: note: candidates are: void SimpleScenes_Crash::killEmitters(OgreOde::SphereGeometry*, int*)
../include/SimpleScenes_Crash.h:532: error: ‘_rocket_node_explosion’ was not declared in this scope
../include/SimpleScenes_Crash.h:535: error: ‘_rocketParticles_explosion’ was not declared in this scope
../include/SimpleScenes_Crash.h:536: error: ‘_rocketParticles_smoke_white’ was not declared in this scope
../include/SimpleScenes_Crash.h:537: error: ‘_rocketParticles_smoke’ was not declared in this scope
../include/SimpleScenes_Crash.h: In member function ‘virtual void SimpleScenes_Crash::addForcesAndTorques()’:
../include/SimpleScenes_Crash.h:552: error: ‘_main_spd’ was not declared in this scope
../include/SimpleScenes_Crash.h:552: error: ‘_main_scale’ was not declared in this scope
../include/SimpleScenes_Crash.h:552: error: ‘Vector3’ was not declared in this scope
../include/SimpleScenes_Crash.h:555: error: ‘_tail_spd’ was not declared in this scope
../include/SimpleScenes_Crash.h:555: error: ‘_tail_scale’ was not declared in this scope
../include/SimpleScenes_Crash.h:558: error: ‘_thrust_force’ was not declared in this scope
../include/SimpleScenes_Crash.h:558: error: ‘_thrust_offs’ was not declared in this scope
../include/SimpleScenes_Crash.h: In member function ‘void SimpleScenes_Crash::killEmitters(OgreOde::SphereGeometry*, int*)’:
../include/SimpleScenes_Crash.h:574: error: ‘SceneNode’ was not declared in this scope
../include/SimpleScenes_Crash.h:574: error: ‘node’ was not declared in this scope
../include/SimpleScenes_Crash.h:574: error: expected type-specifier before ‘SceneNode’
../include/SimpleScenes_Crash.h:574: error: expected `>' before ‘SceneNode’
../include/SimpleScenes_Crash.h:574: error: expected `(' before ‘SceneNode’
../include/SimpleScenes_Crash.h:574: error: expected primary-expression before ‘>’ token
../include/SimpleScenes_Crash.h:574: error: expected `)' before ‘;’ token
../include/SimpleScenes_Crash.h:580: error: ‘MovableObject’ was not declared in this scope
../include/SimpleScenes_Crash.h:580: error: ‘obj’ was not declared in this scope
../include/SimpleScenes_Crash.h:583: error: expected type-specifier before ‘ParticleSystem’
../include/SimpleScenes_Crash.h:583: error: expected `>' before ‘ParticleSystem’
../include/SimpleScenes_Crash.h:583: error: expected `(' before ‘ParticleSystem’
../include/SimpleScenes_Crash.h:583: error: ‘ParticleSystem’ was not declared in this scope
../include/SimpleScenes_Crash.h:583: error: expected primary-expression before ‘>’ token
../include/SimpleScenes_Crash.h:583: error: expected `)' before ‘;’ token
../include/SimpleScenes_Crash.h: In member function ‘void SimpleScenes_Crash::killParticleSystem(OgreOde::SphereGeometry*)’:
../include/SimpleScenes_Crash.h:616: error: ‘SceneNode’ was not declared in this scope
../include/SimpleScenes_Crash.h:616: error: ‘node’ was not declared in this scope
../include/SimpleScenes_Crash.h:616: error: expected type-specifier before ‘SceneNode’
../include/SimpleScenes_Crash.h:616: error: expected `>' before ‘SceneNode’
../include/SimpleScenes_Crash.h:616: error: expected `(' before ‘SceneNode’
../include/SimpleScenes_Crash.h:616: error: expected primary-expression before ‘>’ token
../include/SimpleScenes_Crash.h:616: error: expected `)' before ‘;’ token
../include/SimpleScenes_Crash.h:619: error: ‘MovableObject’ was not declared in this scope
../include/SimpleScenes_Crash.h:619: error: ‘obj’ was not declared in this scope
../include/SimpleScenes_Crash.h:624: error: ‘can_obj’ was not declared in this scope
In file included from SimpleScenesApplication.cpp:16:
../include/SimpleScenes_Joints.h: At global scope:
../include/SimpleScenes_Joints.h:143: error: ISO C++ forbids declaration of ‘String’ with no type
../include/SimpleScenes_Joints.h:143: error: ‘String’ declared as a ‘virtual’ field
../include/SimpleScenes_Joints.h:143: error: expected ‘;’ before ‘&’ token
../include/SimpleScenes_Joints.h:150: error: expected `;' before ‘virtual’
../include/SimpleScenes_Joints.h:150: error: ISO C++ forbids declaration of ‘String’ with no type
../include/SimpleScenes_Joints.h:150: error: ‘String’ declared as a ‘virtual’ field
../include/SimpleScenes_Joints.h:150: error: expected ‘;’ before ‘&’ token
../include/SimpleScenes_Joints.h:157: error: expected `;' before ‘virtual’
../include/SimpleScenes_Joints.h:189: error: ‘Real’ has not been declared
../include/SimpleScenes_Joints.h: In constructor ‘SimpleScenes_Joints::SimpleScenes_Joints(OgreOde::World*)’:
../include/SimpleScenes_Joints.h:23: error: ‘Entity’ was not declared in this scope
../include/SimpleScenes_Joints.h:23: error: ‘entity’ was not declared in this scope
../include/SimpleScenes_Joints.h:27: error: ‘SceneNode’ was not declared in this scope
../include/SimpleScenes_Joints.h:27: error: ‘node’ was not declared in this scope
../include/SimpleScenes_Joints.h:33: error: ‘Matrix4’ has not been declared
../include/SimpleScenes_Joints.h:35: error: expected type-specifier before ‘SceneNode’
../include/SimpleScenes_Joints.h:35: error: expected `>' before ‘SceneNode’
../include/SimpleScenes_Joints.h:35: error: expected `(' before ‘SceneNode’
../include/SimpleScenes_Joints.h:35: error: expected primary-expression before ‘>’ token
../include/SimpleScenes_Joints.h:35: error: expected `)' before ‘;’ token
../include/SimpleScenes_Joints.h:55: error: ‘Degree’ was not declared in this scope
../include/SimpleScenes_Joints.h:55: error: ‘Vector3’ was not declared in this scope
../include/SimpleScenes_Joints.h:55: error: ‘Quaternion’ was not declared in this scope
../include/SimpleScenes_Joints.h:58: error: ‘Matrix4’ has not been declared
../include/SimpleScenes_Joints.h:75: error: ‘Matrix4’ has not been declared
../include/SimpleScenes_Joints.h:81: error: ‘Vector3’ is not a class or namespace
../include/SimpleScenes_Joints.h:100: error: ‘Matrix4’ has not been declared
../include/SimpleScenes_Joints.h:106: error: ‘Vector3’ is not a class or namespace
../include/SimpleScenes_Joints.h:125: error: ‘Matrix4’ has not been declared
../include/SimpleScenes_Joints.h:131: error: ‘Vector3’ is not a class or namespace
../include/SimpleScenes_Joints.h: In member function ‘virtual void SimpleScenes_Joints::addForcesAndTorques()’:
../include/SimpleScenes_Joints.h:163: error: ‘Vector3’ was not declared in this scope
../include/SimpleScenes_Joints.h:170: error: ‘Vector3’ was not declared in this scope
In file included from SimpleScenesApplication.cpp:17:
../include/SimpleScenes_Zombie.h: At global scope:
../include/SimpleScenes_Zombie.h:9: error: ‘String’ does not name a type
../include/SimpleScenes_Zombie.h:16: error: ‘String’ does not name a type
../include/SimpleScenes_Zombie.h:23: error: ‘String’ does not name a type
../include/SimpleScenes_Zombie.h:37: error: ‘String’ does not name a type
../include/SimpleScenes_Zombie.h:164: error: ISO C++ forbids declaration of ‘String’ with no type
../include/SimpleScenes_Zombie.h:164: error: ‘String’ declared as a ‘virtual’ field
../include/SimpleScenes_Zombie.h:164: error: expected ‘;’ before ‘&’ token
../include/SimpleScenes_Zombie.h:171: error: expected `;' before ‘virtual’
../include/SimpleScenes_Zombie.h:171: error: ISO C++ forbids declaration of ‘String’ with no type
../include/SimpleScenes_Zombie.h:171: error: ‘String’ declared as a ‘virtual’ field
../include/SimpleScenes_Zombie.h:171: error: expected ‘;’ before ‘&’ token
../include/SimpleScenes_Zombie.h:181: error: expected `;' before ‘virtual’
../include/SimpleScenes_Zombie.h:181: error: ‘Real’ has not been declared
../include/SimpleScenes_Zombie.h:231: error: ‘Real’ has not been declared
../include/SimpleScenes_Zombie.h:381: error: ISO C++ forbids declaration of ‘RaySceneQuery’ with no type
../include/SimpleScenes_Zombie.h:381: error: expected ‘;’ before ‘*’ token
../include/SimpleScenes_Zombie.h:383: error: ‘Real’ does not name a type
../include/SimpleScenes_Zombie.h:385: error: ISO C++ forbids declaration of ‘Entity’ with no type
../include/SimpleScenes_Zombie.h:385: error: expected ‘;’ before ‘*’ token
../include/SimpleScenes_Zombie.h:386: error: ISO C++ forbids declaration of ‘SceneNode’ with no type
../include/SimpleScenes_Zombie.h:386: error: expected ‘;’ before ‘*’ token
../include/SimpleScenes_Zombie.h:390: error: ISO C++ forbids declaration of ‘Camera’ with no type
../include/SimpleScenes_Zombie.h:390: error: expected ‘;’ before ‘*’ token
../include/SimpleScenes_Zombie.h:391: error: ISO C++ forbids declaration of ‘Overlay’ with no type
../include/SimpleScenes_Zombie.h:391: error: expected ‘;’ before ‘*’ token
../include/SimpleScenes_Zombie.h:393: error: ‘Real’ does not name a type
../include/SimpleScenes_Zombie.h:395: error: ‘Real’ does not name a type
../include/SimpleScenes_Zombie.h: In member function ‘void SimpleScenes_Zombie::createRagDoll()’:
../include/SimpleScenes_Zombie.h:71: error: ‘_last_ragdoll’ was not declared in this scope
../include/SimpleScenes_Zombie.h:73: error: ‘ragdollFile’ was not declared in this scope
../include/SimpleScenes_Zombie.h:74: error: ‘xmlZombieNames’ was not declared in this scope
../include/SimpleScenes_Zombie.h:75: error: ‘StringConverter’ has not been declared
../include/SimpleScenes_Zombie.h:82: error: ‘Any’ was not declared in this scope
../include/SimpleScenes_Zombie.h:82: error: expected `;' before ‘a’
../include/SimpleScenes_Zombie.h:83: error: ‘a’ was not declared in this scope
../include/SimpleScenes_Zombie.h:92: error: ‘newA’ was not declared in this scope
../include/SimpleScenes_Zombie.h:92: error: expected type-specifier before ‘Any’
../include/SimpleScenes_Zombie.h:92: error: expected `;' before ‘Any’
../include/SimpleScenes_Zombie.h:98: error: ‘SceneNode’ was not declared in this scope
../include/SimpleScenes_Zombie.h:98: error: ‘ragdoll_node’ was not declared in this scope
../include/SimpleScenes_Zombie.h:100: error: ‘Degree’ was not declared in this scope
../include/SimpleScenes_Zombie.h:107: error: ‘meshZombieAnimation’ was not declared in this scope
../include/SimpleScenes_Zombie.h: In constructor ‘SimpleScenes_Zombie::SimpleScenes_Zombie(OgreOde::World*)’:
../include/SimpleScenes_Zombie.h:119: error: ‘_over’ was not declared in this scope
../include/SimpleScenes_Zombie.h:119: error: ‘Overlay’ was not declared in this scope
../include/SimpleScenes_Zombie.h:119: error: expected primary-expression before ‘)’ token
../include/SimpleScenes_Zombie.h:119: error: expected `;' before ‘OverlayManager’
../include/SimpleScenes_Zombie.h:122: error: ‘_gun’ was not declared in this scope
../include/SimpleScenes_Zombie.h:125: error: ‘_gun_node’ was not declared in this scope
../include/SimpleScenes_Zombie.h:128: error: ‘_camera’ was not declared in this scope
../include/SimpleScenes_Zombie.h:130: error: ‘_animation_speed’ was not declared in this scope
../include/SimpleScenes_Zombie.h:134: error: ‘_shot_time’ was not declared in this scope
../include/SimpleScenes_Zombie.h:137: error: ‘mRayQuery’ was not declared in this scope
../include/SimpleScenes_Zombie.h:137: error: ‘Ray’ was not declared in this scope
../include/SimpleScenes_Zombie.h:139: error: ‘SceneManager’ has not been declared
../include/SimpleScenes_Zombie.h: In destructor ‘virtual SimpleScenes_Zombie::~SimpleScenes_Zombie()’:
../include/SimpleScenes_Zombie.h:150: error: expected type-specifier before ‘SceneNode’
../include/SimpleScenes_Zombie.h:150: error: expected `>' before ‘SceneNode’
../include/SimpleScenes_Zombie.h:150: error: expected `(' before ‘SceneNode’
../include/SimpleScenes_Zombie.h:150: error: ‘SceneNode’ was not declared in this scope
../include/SimpleScenes_Zombie.h:150: error: expected primary-expression before ‘>’ token
../include/SimpleScenes_Zombie.h:151: error: expected `)' before ‘;’ token
../include/SimpleScenes_Zombie.h:157: error: ‘_over’ was not declared in this scope
../include/SimpleScenes_Zombie.h:160: error: ‘mRayQuery’ was not declared in this scope
../include/SimpleScenes_Zombie.h: In member function ‘virtual void SimpleScenes_Zombie::frameStarted(int, OIS::Keyboard*, OIS::Mouse*)’:
../include/SimpleScenes_Zombie.h:184: error: ‘_last_ragdoll’ was not declared in this scope
../include/SimpleScenes_Zombie.h:193: error: ‘_gun_node’ was not declared in this scope
../include/SimpleScenes_Zombie.h:193: error: ‘_camera’ was not declared in this scope
../include/SimpleScenes_Zombie.h:200: error: ‘any_cast’ was not declared in this scope
../include/SimpleScenes_Zombie.h:200: error: expected primary-expression before ‘*’ token
../include/SimpleScenes_Zombie.h:200: error: expected primary-expression before ‘>’ token
../include/SimpleScenes_Zombie.h:212: error: ‘meshZombieAnimation’ was not declared in this scope
../include/SimpleScenes_Zombie.h:212: error: ‘_animation_speed’ was not declared in this scope
../include/SimpleScenes_Zombie.h:215: error: ‘Vector3’ has not been declared
../include/SimpleScenes_Zombie.h: In member function ‘virtual void SimpleScenes_Zombie::frameEnded(int, OIS::Keyboard*, OIS::Mouse*)’:
../include/SimpleScenes_Zombie.h:236: error: ‘_shot_time’ was not declared in this scope
../include/SimpleScenes_Zombie.h:248: error: ‘any_cast’ was not declared in this scope
../include/SimpleScenes_Zombie.h:248: error: expected primary-expression before ‘*’ token
../include/SimpleScenes_Zombie.h:248: error: expected primary-expression before ‘>’ token
../include/SimpleScenes_Zombie.h:249: error: ‘meshZombieAnimation’ was not declared in this scope
../include/SimpleScenes_Zombie.h:266: error: ‘Ray’ was not declared in this scope
../include/SimpleScenes_Zombie.h:266: error: expected `;' before ‘pickRay’
../include/SimpleScenes_Zombie.h:267: error: ‘pickRay’ was not declared in this scope
../include/SimpleScenes_Zombie.h:271: error: ‘mRayQuery’ was not declared in this scope
../include/SimpleScenes_Zombie.h:272: error: expected initializer before ‘&’ token
../include/SimpleScenes_Zombie.h:273: error: ‘result’ was not declared in this scope
../include/SimpleScenes_Zombie.h:275: error: ‘RaySceneQueryResult’ has not been declared
../include/SimpleScenes_Zombie.h:275: error: expected `;' before ‘i’
../include/SimpleScenes_Zombie.h:279: error: ‘i’ was not declared in this scope
../include/SimpleScenes_Zombie.h:282: error: ‘_last_ragdoll’ was not declared in this scope
../include/SimpleScenes_Zombie.h:298: error: ‘any_cast’ was not declared in this scope
../include/SimpleScenes_Zombie.h:298: error: expected primary-expression before ‘*’ token
../include/SimpleScenes_Zombie.h:298: error: expected primary-expression before ‘>’ token
../include/SimpleScenes_Zombie.h:299: error: ‘meshZombieAnimation’ was not declared in this scope
../include/SimpleScenes_Zombie.h:319: error: ‘any_cast’ was not declared in this scope
../include/SimpleScenes_Zombie.h:319: error: expected primary-expression before ‘*’ token
../include/SimpleScenes_Zombie.h:319: error: expected primary-expression before ‘>’ token
../include/SimpleScenes_Zombie.h:327: error: ‘any_cast’ was not declared in this scope
../include/SimpleScenes_Zombie.h:327: error: expected primary-expression before ‘*’ token
../include/SimpleScenes_Zombie.h:327: error: expected primary-expression before ‘>’ token
../include/SimpleScenes_Zombie.h:328: error: ‘meshZombieAnimation’ was not declared in this scope
../include/SimpleScenes_Zombie.h:344: error: ‘any_cast’ was not declared in this scope
../include/SimpleScenes_Zombie.h:344: error: expected primary-expression before ‘*’ token
../include/SimpleScenes_Zombie.h:344: error: expected primary-expression before ‘>’ token
../include/SimpleScenes_Zombie.h:363: error: expected type-specifier before ‘SceneNode’
../include/SimpleScenes_Zombie.h:363: error: expected `>' before ‘SceneNode’
../include/SimpleScenes_Zombie.h:363: error: expected `(' before ‘SceneNode’
../include/SimpleScenes_Zombie.h:363: error: ‘SceneNode’ was not declared in this scope
../include/SimpleScenes_Zombie.h:363: error: expected primary-expression before ‘>’ token
../include/SimpleScenes_Zombie.h:364: error: expected `)' before ‘;’ token
../include/SimpleScenes_Zombie.h:373: error: ‘_last_ragdoll’ was not declared in this scope
SimpleScenesApplication.cpp: In function ‘int main(int, char**)’:
SimpleScenesApplication.cpp:38: error: ‘class SimpleScenesApplication’ has no member named ‘go’
SimpleScenesApplication.cpp: At global scope:
SimpleScenesApplication.cpp:64: error: prototype for ‘bool SimpleScenesFrameListener::frameStarted(const Ogre::FrameEvent&)’ does not match any in class ‘SimpleScenesFrameListener’
../include/SimpleScenesApplication.h:40: error: candidate is: bool SimpleScenesFrameListener::frameStarted(int)
SimpleScenesApplication.cpp:96: error: prototype for ‘bool SimpleScenesFrameListener::frameEnded(const Ogre::FrameEvent&)’ does not match any in class ‘SimpleScenesFrameListener’
../include/SimpleScenesApplication.h:41: error: candidate is: bool SimpleScenesFrameListener::frameEnded(int)
SimpleScenesApplication.cpp: In member function ‘void SimpleScenesApplication::createScene()’:
SimpleScenesApplication.cpp:118: error: ‘mSceneMgr’ was not declared in this scope
SimpleScenesApplication.cpp:122: error: ‘mRoot’ was not declared in this scope
SimpleScenesApplication.cpp:132: error: ‘_spot’ was not declared in this scope
SimpleScenesApplication.cpp:142: error: ‘mCamera’ was not declared in this scope
SimpleScenesApplication.cpp:181: error: ‘_time_step’ was not declared in this scope
SimpleScenesApplication.cpp:251: error: ‘_delay’ was not declared in this scope
SimpleScenesApplication.cpp: At global scope:
SimpleScenesApplication.cpp:262: error: prototype for ‘void SimpleScenesApplication::frameStarted(const Ogre::FrameEvent&, OIS::Keyboard*, OIS::Mouse*)’ does not match any in class ‘SimpleScenesApplication’
../include/SimpleScenesApplication.h:169: error: candidate is: void SimpleScenesApplication::frameStarted(int)
SimpleScenesApplication.cpp:315: error: prototype for ‘void SimpleScenesApplication::frameEnded(const Ogre::FrameEvent&, OIS::Keyboard*, OIS::Mouse*)’ does not match any in class ‘SimpleScenesApplication’
../include/SimpleScenesApplication.h:170: error: candidate is: void SimpleScenesApplication::frameEnded(int)
make[4]: *** [SimpleScenes-SimpleScenesApplication.o] Error 1
make[4]: Leaving directory `/home/calder/Developer/ogre/ogreaddons/ogreode/demos/SimpleScenes/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/calder/Developer/ogre/ogreaddons/ogreode/demos/SimpleScenes'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/calder/Developer/ogre/ogreaddons/ogreode/demos'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/calder/Developer/ogre/ogreaddons/ogreode'
make: *** [all] Error 2
dermont
26-04-2009 21:05:21
Well, I got past that error. The problem was that I'd compiled ODE without PIC. Once I recompiled ODE, I'm getting a new error! Yey!
I thought that was what I suggested above. For your ExampleApplication.h not found error you need to point configure to your samples directory, e.g:
./configure --with-samples=/media/sda1/LIBRARIES/OGRE/ogre-v1-6-2/Samples
Calder
26-04-2009 21:35:51
W00t, thanks! It works now! Sorry for being so stupid...