Compilation fails on ubuntu.

LEoC

17-12-2007 20:15:04

Well. Hello! I'd like to compile the CVS version on ubuntu, but after
executing the documented commands on the wiki the compilation fails.
I don't know if that has to do with the version or something.
As I said its CVS HEAD version from the ogreaddons directory.

The installed Ogre Version is 1.4.4. Do I have to update?

$ ./bootstrap && ./configure && make && su && make install
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
configure.in: installing `./install-sh'
configure.in: installing `./missing'
PlugIns/PagingLandScape2/src/Makefile.am: installing `./depcomp'
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking the path to OGRE... (cached) /usr/local
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 ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... 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
configure: creating libtool
appending configuration tag "CXX" to libtool
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
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for ld used by g++... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... (cached) yes
checking if g++ static flag -static works... (cached) 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... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for dlopen in -ldl... yes
checking for pow in -lm... yes
checking for gzopen in -lz... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OIS... yes
configure: *** PLSM2 Demo will be built ***
configure: creating ./config.status
config.status: creating Makefile
config.status: creating PlugIns/Makefile
config.status: creating PlugIns/PagingLandScape2/Makefile
config.status: creating PlugIns/PagingLandScape2/src/Makefile
config.status: creating PlugIns/PagingLandScape2/include/Makefile
config.status: creating Samples/Makefile
config.status: creating Samples/Common/Makefile
config.status: creating Samples/Common/include/Makefile
config.status: creating Samples/PagingLandScape2/Makefile
config.status: creating Samples/PagingLandScape2/src/Makefile
config.status: creating Samples/PagingLandScape2/include/Makefile
config.status: creating Tools/Makefile
config.status: creating Tools/MapSplitter/Makefile
config.status: creating Tools/MapSplitter/include/Makefile
config.status: creating Tools/MapSplitter/src/Makefile
config.status: creating OGRE-PLUGIN-PLSM2.pc
config.status: creating config.h
config.status: executing depfiles commands
make all-recursive
make[1]: Betrete Verzeichnis '/home/arthur/Projekte/ogre/ogreaddons/paginglandscape'
Making all in PlugIns
make[2]: Betrete Verzeichnis '/home/arthur/Projekte/ogre/ogreaddons/paginglandscape/PlugIns'
Making all in PagingLandScape2
make[3]: Betrete Verzeichnis '/home/arthur/Projekte/ogre/ogreaddons/paginglandscape/PlugIns/PagingLandScape2'
Making all in src
make[4]: Betrete Verzeichnis '/home/arthur/Projekte/ogre/ogreaddons/paginglandscape/PlugIns/PagingLandScape2/src'
if /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-DRGNURBSSurface.lo -MD -MP -MF ".deps/Plugin_PagingLandScape2_la-DRGNURBSSurface.Tpo" -c -o Plugin_PagingLandScape2_la-DRGNURBSSurface.lo `test -f 'DRGNURBSSurface.cpp' || echo './'`DRGNURBSSurface.cpp; \
then mv -f ".deps/Plugin_PagingLandScape2_la-DRGNURBSSurface.Tpo" ".deps/Plugin_PagingLandScape2_la-DRGNURBSSurface.Plo"; else rm -f ".deps/Plugin_PagingLandScape2_la-DRGNURBSSurface.Tpo"; exit 1; fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-DRGNURBSSurface.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-DRGNURBSSurface.Tpo -c DRGNURBSSurface.cpp -fPIC -DPIC -o .libs/Plugin_PagingLandScape2_la-DRGNURBSSurface.o
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-DRGNURBSSurface.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-DRGNURBSSurface.Tpo -c DRGNURBSSurface.cpp -o Plugin_PagingLandScape2_la-DRGNURBSSurface.o >/dev/null 2>&1
if /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-filetutils.lo -MD -MP -MF ".deps/Plugin_PagingLandScape2_la-filetutils.Tpo" -c -o Plugin_PagingLandScape2_la-filetutils.lo `test -f 'filetutils.cpp' || echo './'`filetutils.cpp; \
then mv -f ".deps/Plugin_PagingLandScape2_la-filetutils.Tpo" ".deps/Plugin_PagingLandScape2_la-filetutils.Plo"; else rm -f ".deps/Plugin_PagingLandScape2_la-filetutils.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-filetutils.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-filetutils.Tpo -c filetutils.cpp -fPIC -DPIC -o .libs/Plugin_PagingLandScape2_la-filetutils.o
filetutils.cpp:108:7: warning: no newline at end of file
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-filetutils.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-filetutils.Tpo -c filetutils.cpp -o Plugin_PagingLandScape2_la-filetutils.o >/dev/null 2>&1
if /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.lo -MD -MP -MF ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.Tpo" -c -o Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.lo `test -f 'OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.cpp' || echo './'`OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.cpp; \
then mv -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.Tpo" ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.Plo"; else rm -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.Tpo -c OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.cpp -fPIC -DPIC -o .libs/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.o
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.Tpo -c OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.cpp -o Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.o >/dev/null 2>&1
if /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeCamera.lo -MD -MP -MF ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeCamera.Tpo" -c -o Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeCamera.lo `test -f 'OgrePagingLandScapeOctreeCamera.cpp' || echo './'`OgrePagingLandScapeOctreeCamera.cpp; \
then mv -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeCamera.Tpo" ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeCamera.Plo"; else rm -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeCamera.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeCamera.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeCamera.Tpo -c OgrePagingLandScapeOctreeCamera.cpp -fPIC -DPIC -o .libs/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeCamera.o
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeCamera.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeCamera.Tpo -c OgrePagingLandScapeOctreeCamera.cpp -o Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeCamera.o >/dev/null 2>&1
if /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctree.lo -MD -MP -MF ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctree.Tpo" -c -o Plugin_PagingLandScape2_la-OgrePagingLandScapeOctree.lo `test -f 'OgrePagingLandScapeOctree.cpp' || echo './'`OgrePagingLandScapeOctree.cpp; \
then mv -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctree.Tpo" ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctree.Plo"; else rm -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctree.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctree.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctree.Tpo -c OgrePagingLandScapeOctree.cpp -fPIC -DPIC -o .libs/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctree.o
OgrePagingLandScapeOctree.cpp:317:8: warning: extra tokens at end of #endif directive
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctree.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctree.Tpo -c OgrePagingLandScapeOctree.cpp -o Plugin_PagingLandScape2_la-OgrePagingLandScapeOctree.o >/dev/null 2>&1
if /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeIntersectionSceneQuery.lo -MD -MP -MF ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeIntersectionSceneQuery.Tpo" -c -o Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeIntersectionSceneQuery.lo `test -f 'OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp' || echo './'`OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp; \
then mv -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeIntersectionSceneQuery.Tpo" ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeIntersectionSceneQuery.Plo"; else rm -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeIntersectionSceneQuery.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeIntersectionSceneQuery.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeIntersectionSceneQuery.Tpo -c OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp -fPIC -DPIC -o .libs/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeIntersectionSceneQuery.o
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeIntersectionSceneQuery.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeIntersectionSceneQuery.Tpo -c OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp -o Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeIntersectionSceneQuery.o >/dev/null 2>&1
if /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeNode.lo -MD -MP -MF ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeNode.Tpo" -c -o Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeNode.lo `test -f 'OgrePagingLandScapeOctreeNode.cpp' || echo './'`OgrePagingLandScapeOctreeNode.cpp; \
then mv -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeNode.Tpo" ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeNode.Plo"; else rm -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeNode.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeNode.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeNode.Tpo -c OgrePagingLandScapeOctreeNode.cpp -fPIC -DPIC -o .libs/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeNode.o
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeNode.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeNode.Tpo -c OgrePagingLandScapeOctreeNode.cpp -o Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeNode.o >/dev/null 2>&1
if /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.lo -MD -MP -MF ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.Tpo" -c -o Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.lo `test -f 'OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.cpp' || echo './'`OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.cpp; \
then mv -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.Tpo" ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.Plo"; else rm -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.Tpo -c OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.cpp -fPIC -DPIC -o .libs/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.o
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.Tpo -c OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.cpp -o Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.o >/dev/null 2>&1
if /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeRaySceneQuery.lo -MD -MP -MF ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeRaySceneQuery.Tpo" -c -o Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeRaySceneQuery.lo `test -f 'OgrePagingLandScapeOctreeRaySceneQuery.cpp' || echo './'`OgrePagingLandScapeOctreeRaySceneQuery.cpp; \
then mv -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeRaySceneQuery.Tpo" ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeRaySceneQuery.Plo"; else rm -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeRaySceneQuery.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeRaySceneQuery.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeRaySceneQuery.Tpo -c OgrePagingLandScapeOctreeRaySceneQuery.cpp -fPIC -DPIC -o .libs/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeRaySceneQuery.o
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeRaySceneQuery.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeRaySceneQuery.Tpo -c OgrePagingLandScapeOctreeRaySceneQuery.cpp -o Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeRaySceneQuery.o >/dev/null 2>&1
if /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSceneManager.lo -MD -MP -MF ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSceneManager.Tpo" -c -o Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSceneManager.lo `test -f 'OgrePagingLandScapeOctreeSceneManager.cpp' || echo './'`OgrePagingLandScapeOctreeSceneManager.cpp; \
then mv -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSceneManager.Tpo" ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSceneManager.Plo"; else rm -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSceneManager.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSceneManager.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSceneManager.Tpo -c OgrePagingLandScapeOctreeSceneManager.cpp -fPIC -DPIC -o .libs/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSceneManager.o
In file included from OgrePagingLandScapeOctreeSceneManager.cpp:59:
../../../PlugIns/PagingLandScape2/include/OgrePagingLandScapeOcclusionVisibilityData.h:45:28: warning: no newline at end of file
OgrePagingLandScapeOctreeSceneManager.cpp:721:24: warning: extra tokens at end of #endif directive
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSceneManager.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSceneManager.Tpo -c OgrePagingLandScapeOctreeSceneManager.cpp -o Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSceneManager.o >/dev/null 2>&1
if /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSphereSceneQuery.lo -MD -MP -MF ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSphereSceneQuery.Tpo" -c -o Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSphereSceneQuery.lo `test -f 'OgrePagingLandScapeOctreeSphereSceneQuery.cpp' || echo './'`OgrePagingLandScapeOctreeSphereSceneQuery.cpp; \
then mv -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSphereSceneQuery.Tpo" ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSphereSceneQuery.Plo"; else rm -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSphereSceneQuery.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSphereSceneQuery.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSphereSceneQuery.Tpo -c OgrePagingLandScapeOctreeSphereSceneQuery.cpp -fPIC -DPIC -o .libs/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSphereSceneQuery.o
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSphereSceneQuery.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSphereSceneQuery.Tpo -c OgrePagingLandScapeOctreeSphereSceneQuery.cpp -o Plugin_PagingLandScape2_la-OgrePagingLandScapeOctreeSphereSceneQuery.o >/dev/null 2>&1
if /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeAxisAlignedBoxSceneQuery.lo -MD -MP -MF ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeAxisAlignedBoxSceneQuery.Tpo" -c -o Plugin_PagingLandScape2_la-OgrePagingLandScapeAxisAlignedBoxSceneQuery.lo `test -f 'OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp' || echo './'`OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp; \
then mv -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeAxisAlignedBoxSceneQuery.Tpo" ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeAxisAlignedBoxSceneQuery.Plo"; else rm -f ".deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeAxisAlignedBoxSceneQuery.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I../../../PlugIns/PagingLandScape2/include -g -O2 -MT Plugin_PagingLandScape2_la-OgrePagingLandScapeAxisAlignedBoxSceneQuery.lo -MD -MP -MF .deps/Plugin_PagingLandScape2_la-OgrePagingLandScapeAxisAlignedBoxSceneQuery.Tpo -c OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp -fPIC -DPIC -o .libs/Plugin_PagingLandScape2_la-OgrePagingLandScapeAxisAlignedBoxSceneQuery.o
In file included from OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp:40:
../../../PlugIns/PagingLandScape2/include/OgrePagingLandScapeSceneManager.h:24:37: error: OgreOctreeSceneManager.h: No such file or directory
../../../PlugIns/PagingLandScape2/include/OgrePagingLandScapeSceneManager.h:62: error: expected class-name before '{' token
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp: In member function 'virtual void Ogre::PagingLandScapeAxisAlignedBoxSceneQuery::execute(Ogre::SceneQueryListener*)':
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp:490: error: invalid static_cast from type 'Ogre::SceneManager*' to type 'Ogre::PagingLandScapeSceneManager*'
make[4]: *** [Plugin_PagingLandScape2_la-OgrePagingLandScapeAxisAlignedBoxSceneQuery.lo] Fehler 1
make[4]: Verlasse Verzeichnis '/home/arthur/Projekte/ogre/ogreaddons/paginglandscape/PlugIns/PagingLandScape2/src'
make[3]: *** [all-recursive] Fehler 1
make[3]: Verlasse Verzeichnis '/home/arthur/Projekte/ogre/ogreaddons/paginglandscape/PlugIns/PagingLandScape2'
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlasse Verzeichnis '/home/arthur/Projekte/ogre/ogreaddons/paginglandscape/PlugIns'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/home/arthur/Projekte/ogre/ogreaddons/paginglandscape'
make: *** [all] Fehler 2

venox

18-12-2007 00:03:52

In file included from OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp:40:
../../../PlugIns/PagingLandScape2/include/OgrePagingLandScapeSceneManager.h:24:37: error: OgreOctreeSceneManager.h: No such file or directory


Probably you don't have OgreOctreeSceneManager.h in your include path (just link/copy it to /usr/include/Ogre). I was having just the same problem and it did the job.

Although, now I'm having another error, while linking Plugin_PagingLandScape2.so (at the end of the make process), the same error described on this topic:
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=5921

But I'm stuck with that error, I just don't know how to fix it :oops:

EDIT: I got it to work, check http://www.ogre3d.org/phpBB2addons/view ... 5379#35379 for details