Is there anyone that recently succeeded in installing on ubuntu?
I've tried 3 times for a week, and no success.
between I install OGRE with success.
I'm now able to launch ogre demos.
But when I try with python, there is a problem with _ogre_ that is not
found.
I'm quite interested to know what are the prereqs to install python
ogre. ubuntu 7.10, 7.4, 6.10? with anything special?
I was using the install script http://wiki.python-ogre.org/index.php/LinuxBuild
I'm gonna try tonight. I may have errors during the install process
but the scripts are quite verbose. Is there any place where I have to
specifically look?
I've installed OGRE 1.4.5. to test. Can it be a problem?
Thanks,
Arthur
But I had difficulties upgrading to ubuntu 7.10
In 06-GenerateCode.sh, I think it is "ogreforests"instead of "forests"
line 67
Arthur
On 22 oct, 15:42, Arthur <arthur.led...@gmail.com> wrote:
> wonderful! :)
>
> I was using the install scripthttp://wiki.python-ogre.org/index.php/LinuxBuild
#!/bin/bash
# test Files
if [ $1 ]
then
echo "true"
else
echo "false"
fi
Arthur
thanks
Arthur
-Joe
here's the output (ubuntu 7.10, fresh install):
/home/kreso/python-ogre/root/usr/lib/python2.5/site-packages/pygccxml/
parser/scanner.py:297: UserWarning: unable to find out array size from
expression "6u"
warnings.warn( 'unable to find out array size from expression "%s"'
% attrs[ XML_AN_MAX ] )
Traceback (most recent call last):
File "generate_code.py", line 398, in <module>
generate_code()
File "generate_code.py", line 344, in generate_code
ManualExclude ( mb )
File "generate_code.py", line 94, in ManualExclude
global_ns.member_functions(e).exclude()
File "/home/kreso/python-ogre/root/usr/lib/python2.5/site-packages/
pygccxml/declarations/scopedef.py", line 507, in member_functions
, allow_empty=allow_empty)
File "/home/kreso/python-ogre/root/usr/lib/python2.5/site-packages/
pygccxml/declarations/scopedef.py", line 363, in _find_multiple
raise RuntimeError( "Multi declaration query returned 0
declarations." )
RuntimeError: Multi declaration query returned 0 declarations.
~/python-ogre
-- creating ogrebulletc code
-- creating ogrebulletd code
=== done building code ===
kreso@thor:~/python-ogre$
echo " -- getting gccxml"
cvs -z3 -q -d :pserver:ano...@www.gccxml.org:/cvsroot/GCC_XML co
gccxml -D "1 Oct 2007"
you have to put -D "1 Oct 2007" before 'co' :)
continuing build....
this occorus on 04-BuildBaseLibs...
../../../RenderSystems/GL/src/atifs/src/.libs/
libatifs.a(ATI_FS_GLGpuProgram.o):ATI_FS_GLGpuProgram.cpp:(.text
+0x566): more undefined references to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::~basic_string()'
follow
/usr/bin/ld: .libs/RenderSystem_GL.so: hidden symbol
`std::allocator<char>::allocator()' isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[4]: *** [RenderSystem_GL.la] Error 1
make[4]: Leaving directory `/home/kreso/python-ogre2/ogrenew/
RenderSystems/GL/src'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/kreso/python-ogre2/ogrenew/
RenderSystems/GL/src'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/kreso/python-ogre2/ogrenew/
RenderSystems/GL'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/kreso/python-ogre2/ogrenew/
RenderSystems'
make: *** [install-recursive] Error 1
~/python-ogre2
make[4]: Entering directory `/home/kreso/python-ogre/ogrenew/
RenderSystems/GL/src'
/bin/bash ../../../libtool --tag=CXX --mode=link g++ -I/home/kreso/
python-ogre/root/usr/include -L/home/kreso/python-ogre/root/usr/lib -
o RenderSystem_GL.la -rpath /home/kreso/python-ogre/root/usr/lib/OGRE -
module -shared -avoid-version -L../../../OgreMain/src -Wl,-z,defs
OgreGLEngineDll.lo OgreGLPlugin.lo OgreGLGpuProgram.lo
OgreGLGpuNvparseProgram.lo OgreGLGpuProgramManager.lo
OgreGLRenderSystem.lo OgreGLSupport.lo OgreGLTexture.lo
OgreGLTextureManager.lo OgreGLHardwareBufferManager.lo
OgreGLHardwareIndexBuffer.lo OgreGLHardwareOcclusionQuery.lo
OgreGLHardwareVertexBuffer.lo OgreGLHardwarePixelBuffer.lo
OgreGLDefaultHardwareBufferManager.lo OgreGLContext.lo
OgreGLPixelFormat.lo OgreGLRenderTexture.lo OgreGLFBORenderTexture.lo
OgreGLPBRenderTexture.lo OgreGLFBOMultiRenderTarget.lo
OgreGLFrameBufferObject.lo glew.lo ../../../RenderSystems/GL/src/GLX/
libsupport.la ../../../RenderSystems/GL/src/GLSL/src/
libGLSL.la ../../../RenderSystems/GL/src/nvparse/
libnvparse.la ../../../RenderSystems/GL/src/atifs/src/libatifs.la -lGL
-lGLU -lX11 -lXext -lGL -lXrandr -lXxf86vm -lOgreMain -lCg -
lfreeimage -lpthread -lz -lm -ldl
g++ -shared -nostdlib /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../
lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.1.3/crtbeginS.o .libs/
OgreGLEngineDll.o .libs/OgreGLPlugin.o .libs/OgreGLGpuProgram.o .libs/
OgreGLGpuNvparseProgram.o .libs/OgreGLGpuProgramManager.o .libs/
OgreGLRenderSystem.o .libs/OgreGLSupport.o .libs/OgreGLTexture.o .libs/
OgreGLTextureManager.o .libs/OgreGLHardwareBufferManager.o .libs/
OgreGLHardwareIndexBuffer.o .libs/OgreGLHardwareOcclusionQuery.o .libs/
OgreGLHardwareVertexBuffer.o .libs/OgreGLHardwarePixelBuffer.o .libs/
OgreGLDefaultHardwareBufferManager.o .libs/OgreGLContext.o .libs/
OgreGLPixelFormat.o .libs/OgreGLRenderTexture.o .libs/
OgreGLFBORenderTexture.o .libs/OgreGLPBRenderTexture.o .libs/
OgreGLFBOMultiRenderTarget.o .libs/OgreGLFrameBufferObject.o .libs/
glew.o -Wl,--whole-archive ../../../RenderSystems/GL/src/GLX/.libs/
libsupport.a ../../../RenderSystems/GL/src/GLSL/src/.libs/
libGLSL.a ../../../RenderSystems/GL/src/nvparse/.libs/
libnvparse.a ../../../RenderSystems/GL/src/atifs/src/.libs/libatifs.a -
Wl,--no-whole-archive -Wl,--rpath -Wl,/home/kreso/python-ogre/root/
usr/lib -Wl,--rpath -Wl,/home/kreso/python-ogre/root/usr/lib -L/home/
kreso/python-ogre/root/usr/lib -L/home/kreso/python-ogre/ogrenew/
OgreMain/src -lGLU -lX11 -lXext -lGL -lXrandr -lXxf86vm /home/kreso/
python-ogre/root/usr/lib/libOgreMain.so -lCg -lfreeimage -lpthread -lz
-ldl -L/usr/lib/gcc/i486-linux-gnu/4.1.3 -L/usr/lib/gcc/i486-linux-gnu/
4.1.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -lstdc++ -lm -lc
-lgcc_s /usr/lib/gcc/i486-linux-gnu/4.1.3/crtendS.o /usr/lib/gcc/i486-
linux-gnu/4.1.3/../../../../lib/crtn.o -Wl,-z -Wl,defs -Wl,-soname -
Wl,RenderSystem_GL.so -o .libs/RenderSystem_GL.so
.libs/OgreGLPlugin.o: In function `__tcf_1':
OgreGLPlugin.cpp:(.text+0xea): undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::~basic_string()'
.libs/OgreGLPlugin.o: In function
`__static_initialization_and_destruction_0(int, int)':
OgreGLPlugin.cpp:(.text+0x159): undefined reference to
`std::allocator<char>::allocator()'
OgreGLPlugin.cpp:(.text+0x183): undefined reference to
`std::allocator<char>::~allocator()'
OgreGLPlugin.cpp:(.text+0x1b6): undefined reference to
`std::allocator<char>::~allocator()'
.libs/OgreGLGpuProgram.o: In function
`Ogre::GLArbGpuProgram::loadFromSource()':
the problem occours because ubuntu's default install doesn't include
the patch utility. andy, please update 00-PreReqs.sh.
I'll continue the build now.
Andy
as for the compilation, there were minor issues (svn co error and
patch binary missing), but other then that, it was a walk in the
park :) great work andy!
The svn co issue for gccxnl has been fixed in the scripts - do you
know the exact package name for 'patch' - is it simply 'patch' or
something else.
I don't have access to a linux system at the moment and would like to
update the script
Thanks
Andy
On 11/4/07, Krešimir Špes <kresim...@gmail.com> wrote:
>
so sudo apt-get install patch does the trick.
anyway, I didn't realize patch was missing because the build scripts
didn't dump any output. how about making each script write a log file?
kreso@thor:~/python-ogre/python-ogre/demos/plib$ python
Demo_Server.py
Traceback (most recent call last):
File "Demo_Server.py", line 1, in <module>
import ogre.addons.plib as plib
File "/home/kreso/python-ogre/root/usr/lib/python2.5/site-packages/
ogre/addons/plib/__init__.py", line 2, in <module>
from _plib_ import *
ImportError: /usr/local/lib/python2.5/site-packages/ogre/addons/plib/
_plib_.so: undefined symbol: glDeleteLists