Updated complation script?

vgx

08-06-2007 16:09:59

Is some place where I can get updated compilation shell script for python-ogre? Current one doesnt seem to work.

andy

08-06-2007 16:57:05

Linux I assume :) What is the problem/errors you are seeing with the current one?

Cheers

Andy

vgx

08-06-2007 17:12:38

Yes, linux :)

I was experiencing some wierd errors, it will take some time to summon them again(i have slow pc). Btw could be problem related to gcc 4.1? According this thread http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=4104 it shouldnt be but who knows ...

vgx

08-06-2007 18:25:39

OgreGLSLLinkProgramManager.cpp:(.text+0x3b6f): undefined reference to `std::allocator<char>::~allocator()'
OgreGLSLLinkProgramManager.cpp:(.text+0x3c01): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
OgreGLSLLinkProgramManager.cpp:(.text+0x3c1d): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
OgreGLSLLinkProgramManager.cpp:(.text+0x3c30): undefined reference to `std::allocator<char>::~allocator()'
OgreGLSLLinkProgramManager.cpp:(.text+0x3c45): undefined reference to `std::allocator<char>::allocator()'
OgreGLSLLinkProgramManager.cpp:(.text+0x3c7d): undefined reference to `std::allocator<char>::~allocator()'
OgreGLSLLinkProgramManager.cpp:(.text+0x3d0f): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
OgreGLSLLinkProgramManager.cpp:(.text+0x3d2b): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'


ps1.0_program.cpp:(.text+0x80f): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const'
../../../RenderSystems/GL/src/nvparse/.libs/libnvparse.a(ps1.0_program.o): In function `(anonymous namespace)::reg_enum(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int)':
ps1.0_program.cpp:(.text+0xb56): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ps1.0_program.cpp:(.text+0xb6f): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
../../../RenderSystems/GL/src/nvparse/.libs/libnvparse.a(ps1.0_program.o): In function `RemoveFromAlphaBlue(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
ps1.0_program.cpp:(.text+0xcf7): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const'
../../../RenderSystems/GL/src/nvparse/.libs/libnvparse.a(ps1.0_program.o): In function `(anonymous namespace)::src::~src()':
ps1.0_program.cpp:(.text._ZN45_GLOBAL__N__ZN4ps1023constToStageAndConstMapE3srcD1Ev[(anonymous namespace)::src::~src()]+0xd): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
../../../RenderSystems/GL/src/nvparse/.libs/libnvparse.a(ps1.0_program.o): In function `std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int>::~pair()':
ps1.0_program.cpp:(.text._ZNSt4pairIKSsiED1Ev[std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int>::~pair()]+0xd): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
../../../RenderSystems/GL/src/nvparse/.libs/libnvparse.a(ps1.0_program.o): In function `(anonymous namespace)::set_constants::operator()(ps10::constdef)':
ps1.0_program.cpp:(.text._ZN45_GLOBAL__N__ZN4ps1023constToStageAndConstMapE13set_constantsclEN4ps108constdefE[(anonymous namespace)::set_constants::operator()(ps10::constdef)]+0x21): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)'



CMake Error: The source directory "/home/vgx/Ogre/pyogre/ogreaddons/ogrenewt/gccxml" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
boost-jam-3.1.13-1-linuxx86/LICENSE_1_0.txt
boost-jam-3.1.13-1-linuxx86/bjam
./ogre_cvs2.sh: line 330: cd: boost_1_34_0: No such file or directory
./ogre_cvs2.sh: line 331: ./configure: No such file or directory
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Makefile 2007-05-12 12:10:17.000000000 -0300
|+++ Makefile.new 2007-05-12 12:10:52.000000000 -0300
--------------------------
File to patch:


And so on ...

vgx

10-06-2007 11:10:35

No one knows?

andy

10-06-2007 11:57:41

basically run each line of the script - ie open it in an editor and copy and paste it into the command line to see where it first fails..

Or you can set all the flags at the top of the script to 'n' and then run it with each one set to 'y' (in order)..

You best bet is to more this thread to the google mailing list (check the python-ogre.org site for details) as most of the linux team hang out there..

Cheers

Andy