pyOgre unter Ubuntu installieren?

Hier werden alle anderen GUI-Toolkits sowie Spezial-Toolkits wie Spiele-Engines behandelt.
Krux
User
Beiträge: 8
Registriert: Dienstag 26. Dezember 2006, 01:02

pyOgre unter Ubuntu installieren?

Beitragvon Krux » Sonntag 31. Dezember 2006, 15:02

Bin grad dabei mir Pyogre zu installieren, hab aber noch Probleme damit. Es fehlt mir immernoch an einheitlichen tutorials. Überall ist etwas dokumentiert, aber überall ist es anders dokumentiert, und rgendwie klappt es auch garnicht, weil immer die Versionsnummern auch nicht passen. also frag ich mal, falls hier einer von euch schon mal das ganze versucht hat, was ich nun wirklich tun muss.

Ich hab pyOgre als sourcecode heruntergeladen, dass kann ich aber noch nicht installieren, weil mir noch Ogre normal fehlt, aber welche versionsnummer? Ich hab die, die in den Paketquellen war genommen, aber ich glaub die ist nicht so richtig aktuell.

Wo gibts ein Tutorial, das wirklich funktioniert?
Krux
User
Beiträge: 8
Registriert: Dienstag 26. Dezember 2006, 01:02

Beitragvon Krux » Sonntag 31. Dezember 2006, 15:50

Hab jetzt ewas fortschritt gemacht:

Ich hab aber noch probleme beim kompilieren. Im pyOgre tutorial steht, man soll Ogre mit ./configure --with-platform=GLX kompilieren, aber im Ogretutorial steht, das das nur für Nvidia grafikkarten gilt, ich hab aber eine ATI grafikkarte, aber das hab ich erstmal ignoriert, zirka 7 fehlermeldungen von nicht erfüllten Paketen behoben, und jetzt die hier:

configure: error:
****************************************************************
* You do not have the nVidia Cg libraries installed. *
* Go to http://developer.nvidia.com/object/cg_toolkit.html *
* (Click on Cg_Linux.tar.gz). *
* You can disable the building of Cg support by providing *
* --disable-cg to this configure script but this is highly *
* discouraged as this breaks many of the examples. *
****************************************************************


Ich hab aber keine Nvidia Karte, und das die examples hint3erher nicht mehr funktionieren, da hab ich auch keine lust drauf.
BlackJack

Beitragvon BlackJack » Sonntag 31. Dezember 2006, 15:55

Hab's nicht versucht, aber wo gibt's denn konkret Probleme bei dieser Anleitung:

http://www.ogre3d.org/wiki/index.php/Ho ... r_Drake.29
Krux
User
Beiträge: 8
Registriert: Dienstag 26. Dezember 2006, 01:02

Beitragvon Krux » Sonntag 31. Dezember 2006, 17:57

ja die hab ich auch gefunden und auch angewendet, aber es war nur eine unter vielen. Mitlerweile bin ich soweit, das das tutorial aufhöört, kompilieren tut er trotzdem nicht richtig, ich hab alles so gemacht, wie es daa beschrieben stand, aber trotz dem tausende warnungen und fehler:

sudo python setup.py install
Password:
Package 'CEGUI-OGRE' requires 'OGRE = 1.0.6' but version of OGRE is 1.2.3
Package 'CEGUI-OGRE' requires 'OGRE = 1.0.6' but version of OGRE is 1.2.3
Package 'CEGUI-OGRE' requires 'OGRE = 1.0.6' but version of OGRE is 1.2.3
running install
running build
running build_ext
building 'pyogre._ogre' extension
swigging pyogre/ogre/ogre.i to pyogre/ogre/ogre_wrap.cxx
swig -python -c++ -modern -Ipyogre/ogre -I/usr/local/include -I/usr/local/include/OGRE -o pyogre/ogre/ogre_wrap.cxx -outdir pyogre pyogre/ogre/ogre.i
/usr/local/include/OGRE/OgreCommon.h:268: Warning(362): operator= ignored
/usr/local/include/OGRE/OgreVertexIndexData.h:189: Warning(362): operator= ignored
/usr/local/include/OGRE/OgreFont.h:355: Warning(362): operator= ignored
/usr/local/include/OGRE/OgreRenderQueueSortingGrouping.h:47: Warning(314): pass is a python keyword, symbol will be renamed as '_pass'
/usr/local/include/OGRE/OgreFileSystem.h:106: Warning(402): Base class 'ArchiveFactory' is incomplete.
/usr/local/include/OGRE/OgrePrerequisites.h:189: Warning(402): Only forward declaration 'ArchiveFactory' was found.
/usr/local/include/OGRE/OgreRibbonTrail.h:62: Warning(401): Nothing known about base class 'Node::Listener'. Ignored.
/usr/local/include/OGRE/OgreMath.h:62: Warning(509): Overloaded operator *(Ogre::Radian const &) const is shadowed by operator *(Ogre::Real) const at /usr/local/include/OGRE/OgreMa
th.h:61.
/usr/local/include/OGRE/OgreMath.h:86: Warning(509): Overloaded Ogre::Degree(Ogre::Radian const &) is shadowed by Ogre::Degree(Ogre::Real) at /usr/local/include/OGRE/OgreMath.h:85.
/usr/local/include/OGRE/OgreMath.h:216: Warning(509): Overloaded Ogre::Math::Abs(Ogre::Radian const &) is shadowed by Abs(Ogre::Real) at /usr/local/include/OGRE/OgreMath.h:214.
/usr/local/include/OGRE/OgreMath.h:242: Warning(509): Overloaded Ogre::Math::Cos(Ogre::Real) is shadowed by Cos(Ogre::Radian const &) at /usr/local/include/OGRE/OgreMath.h:232.
/usr/local/include/OGRE/OgreMath.h:232: Warning(509): Overloaded Cos(Ogre::Radian const &,bool) is shadowed by Cos(Ogre::Real,bool) at /usr/local/include/OGRE/OgreMath.h:242.
/usr/local/include/OGRE/OgreMath.h:256: Warning(509): Overloaded Sign(Ogre::Radian const &) is shadowed by Sign(Ogre::Real) at /usr/local/include/OGRE/OgreMath.h:252.
/usr/local/include/OGRE/OgreMath.h:252: Warning(509): Overloaded Sign(Ogre::Real) is shadowed by Sign(Ogre::Radian const &) at /usr/local/include/OGRE/OgreMath.h:256.
/usr/local/include/OGRE/OgreMath.h:281: Warning(509): Overloaded Ogre::Math::Sin(Ogre::Real) is shadowed by Sin(Ogre::Radian const &) at /usr/local/include/OGRE/OgreMath.h:271.
/usr/local/include/OGRE/OgreMath.h:271: Warning(509): Overloaded Sin(Ogre::Radian const &,bool) is shadowed by Sin(Ogre::Real,bool) at /usr/local/include/OGRE/OgreMath.h:281.
/usr/local/include/OGRE/OgreMath.h:287: Warning(509): Overloaded Sqrt(Ogre::Radian const &) is shadowed by Sqrt(Ogre::Real) at /usr/local/include/OGRE/OgreMath.h:285.
/usr/local/include/OGRE/OgreMath.h:285: Warning(509): Overloaded Sqrt(Ogre::Real) is shadowed by Sqrt(Ogre::Radian const &) at /usr/local/include/OGRE/OgreMath.h:287.
/usr/local/include/OGRE/OgreMath.h:321: Warning(509): Overloaded Ogre::Math::Tan(Ogre::Real) is shadowed by Tan(Ogre::Radian const &) at /usr/local/include/OGRE/OgreMath.h:311.
/usr/local/include/OGRE/OgreMath.h:311: Warning(509): Overloaded Tan(Ogre::Radian const &,bool) is shadowed by Tan(Ogre::Real,bool) at /usr/local/include/OGRE/OgreMath.h:321.
:0: Warning(490): Fragment 'SWIG_Traits_std_pair_Sl_unsigned_SS_long_Sc_Ogre_SharedPtr_Sl_Ogre_Resource_Sg__Sg_' not found.
:0: Warning(490): Fragment 'SWIG_Traits_std_pair_Sl_std_string_Sc_Ogre_AnimationState_Sm__Sg_' not found.
pyogre/ogre/OgreSkeleton.i:24: Warning(509): Overloaded getAnimation(Ogre::String const &) const is shadowed by getAnimation(Ogre::String const &) const at /usr/local/include/OGRE/
OgreSkeleton.h:210.
pyogre/ogre/OgreSkeletonInstance.i:15: Warning(509): Overloaded getAnimation(Ogre::String const &) const is shadowed by getAnimation(Ogre::String const &) const at /usr/local/inclu
de/OGRE/OgreSkeletonInstance.h:71.
/usr/local/include/OGRE/OgrePositionTarget.h:57: Warning(473): Returning a pointer or reference in a director method is not recommended.
/usr/local/include/OGRE/OgrePositionTarget.h:57: Warning(473): Returning a pointer or reference in a director method is not recommended.
/usr/local/include/OGRE/OgreTargetManager.h:59: Warning(473): Returning a pointer or reference in a director method is not recommended.
creating build
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/pyogre
creating build/temp.linux-i686-2.4/pyogre/ogre
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -Ipyogre/ogre -I/usr/local/include -I/usr/local/include/OGRE -I/usr/include/python2.4 -c pyogre/og
re/ogre_wrap.cxx -o build/temp.linux-i686-2.4/pyogre/ogre/ogre_wrap.o -DEXT_HASH
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
pyogre/ogre/ogre_wrap.cxx: In function ‘int Real_To_Tuple(const Ogre::Real*, PyObject*, int)’:
pyogre/ogre/ogre_wrap.cxx:3405: warning: unused variable ‘toReturn’
pyogre/ogre/ogre_wrap.cxx: In function ‘void Ogre_BillboardSet_setTextureCoords(Ogre::BillboardSet*, PyObject*)’:
pyogre/ogre/ogre_wrap.cxx:8569: warning: unused variable ‘tmp’
pyogre/ogre/ogre_wrap.cxx: In function ‘PyObject* Ogre_Entity_getSubEntityVertices(Ogre::Entity*, unsigned int)’:
pyogre/ogre/ogre_wrap.cxx:8788: warning: unused variable ‘tmp’
/usr/local/include/OGRE/OgreTargetManager.h: At global scope:
/usr/local/include/OGRE/OgreTargetManager.h:57: warning: ‘class Ogre::TargetManager’ has virtual functions but non-virtual destructor
pyogre/ogre/ogre_wrap.cxx: In function ‘bool swig::check(PyObject*) [with Type = std::pair<long unsigned int, Ogre::SharedPtr<Ogre::Resource> >]’:
pyogre/ogre/ogre_wrap.cxx:4798: instantiated from ‘bool swig::PySequence_Cont<T>::check(bool) const [with T = std::pair<long unsigned int, Ogre::SharedPtr<Ogre::Resource> >]’
pyogre/ogre/ogre_wrap.cxx:4847: instantiated from ‘static int swig::traits_asptr_stdseq<Seq, T>::asptr(PyObject*, Seq**) [with Seq = std::map<long unsigned int, Ogre::SharedPtr<O
gre::Resource>, std::less<long unsigned int>, std::allocator<std::pair<const long unsigned int, Ogre::SharedPtr<Ogre::Resource> > > >, T = std::pair<long unsigned int, Ogre::Shared
Ptr<Ogre::Resource> >]’
pyogre/ogre/ogre_wrap.cxx:4919: instantiated from ‘static int swig::traits_asptr<std::map<K, T, std::less<_Key>, std::allocator<std::pair<const _Key, _Tp> > > >::asptr(PyObject*,
std::map<K, T, std::less<_Key>, std::allocator<std::pair<const _Key, _Tp> > >**) [with K = long unsigned int, T = Ogre::SharedPtr<Ogre::Resource>]’
pyogre/ogre/ogre_wrap.cxx:3927: instantiated from ‘int swig::asptr(PyObject*, Type**) [with Type = std::map<long unsigned int, Ogre::SharedPtr<Ogre::Resource>, std::less<long uns
igned int>, std::allocator<std::pair<const long unsigned int, Ogre::SharedPtr<Ogre::Resource> > > >]’
pyogre/ogre/ogre_wrap.cxx:109760: instantiated from here
pyogre/ogre/ogre_wrap.cxx:4056: error: no type named ‘category’ in ‘struct swig::traits<std::pair<long unsigned int, Ogre::SharedPtr<Ogre::Resource> > >’
pyogre/ogre/ogre_wrap.cxx: In function ‘bool swig::check(PyObject*) [with Type = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::AnimationSt
ate*>]’:
pyogre/ogre/ogre_wrap.cxx:4798: instantiated from ‘bool swig::PySequence_Cont<T>::check(bool) const [with T = std::pair<std::basic_string<char, std::char_traits<char>, std::alloc
ator<char> >, Ogre::AnimationState*>]’
pyogre/ogre/ogre_wrap.cxx:4847: instantiated from ‘static int swig::traits_asptr_stdseq<Seq, T>::asptr(PyObject*, Seq**) [with Seq = std::map<std::basic_string<char, std::char_tr
aits<char>, std::allocator<char> >, Ogre::AnimationState*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::b
asic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::AnimationState*> > >, T = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
Ogre::AnimationState*>]’
pyogre/ogre/ogre_wrap.cxx:4919: instantiated from ‘static int swig::traits_asptr<std::map<K, T, std::less<_Key>, std::allocator<std::pair<const _Key, _Tp> > > >::asptr(PyObject*,
std::map<K, T, std::less<_Key>, std::allocator<std::pair<const _Key, _Tp> > >**) [with K = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, T = Ogre::Animat
ionState*]’
pyogre/ogre/ogre_wrap.cxx:3927: instantiated from ‘int swig::asptr(PyObject*, Type**) [with Type = std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >
, Ogre::AnimationState*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits
<char>, std::allocator<char> >, Ogre::AnimationState*> > >]’
pyogre/ogre/ogre_wrap.cxx:183274: instantiated from here
pyogre/ogre/ogre_wrap.cxx:4056: error: no type named ‘category’ in ‘struct swig::traits<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::Anim
ationState*> >’
pyogre/ogre/ogre_wrap.cxx: In function ‘const char* swig::type_name() [with Type = long unsigned int]’:
pyogre/ogre/ogre_wrap.cxx:3843: instantiated from ‘static swig_type_info* swig::traits_info<Type>::type_info() [with Type = long unsigned int]’
pyogre/ogre/ogre_wrap.cxx:3850: instantiated from ‘swig_type_info* swig::type_info() [with Type = long unsigned int]’
pyogre/ogre/ogre_wrap.cxx:3884: instantiated from ‘static PyObject* swig::traits_from_ptr<Type>::from(Type*, int) [with Type = long unsigned int]’
pyogre/ogre/ogre_wrap.cxx:3890: instantiated from ‘static PyObject* swig::traits_from<Type>::from(const Type&) [with Type = long unsigned int]’
pyogre/ogre/ogre_wrap.cxx:3902: instantiated from ‘PyObject* swig::from(const Type&) [with Type = long unsigned int]’
pyogre/ogre/ogre_wrap.cxx:6941: instantiated from here
pyogre/ogre/ogre_wrap.cxx:3833: error: ‘type_name’ is not a member of ‘swig::traits<long unsigned int>’
pyogre/ogre/ogre_wrap.cxx: In function ‘const char* swig::type_name() [with Type = Ogre::SharedPtr<Ogre::Resource>]’:
pyogre/ogre/ogre_wrap.cxx:3843: instantiated from ‘static swig_type_info* swig::traits_info<Type>::type_info() [with Type = Ogre::SharedPtr<Ogre::Resource>]’
pyogre/ogre/ogre_wrap.cxx:3850: instantiated from ‘swig_type_info* swig::type_info() [with Type = Ogre::SharedPtr<Ogre::Resource>]’
pyogre/ogre/ogre_wrap.cxx:3884: instantiated from ‘static PyObject* swig::traits_from_ptr<Type>::from(Type*, int) [with Type = Ogre::SharedPtr<Ogre::Resource>]’
pyogre/ogre/ogre_wrap.cxx:3890: instantiated from ‘static PyObject* swig::traits_from<Type>::from(const Type&) [with Type = Ogre::SharedPtr<Ogre::Resource>]’
pyogre/ogre/ogre_wrap.cxx:3902: instantiated from ‘PyObject* swig::from(const Type&) [with Type = Ogre::SharedPtr<Ogre::Resource>]’
pyogre/ogre/ogre_wrap.cxx:6958: instantiated from here
pyogre/ogre/ogre_wrap.cxx:3833: error: ‘type_name’ is not a member of ‘swig::traits<Ogre::SharedPtr<Ogre::Resource> >’
pyogre/ogre/ogre_wrap.cxx: In function ‘Type swig::as(PyObject*, bool) [with Type = std::pair<long unsigned int, Ogre::SharedPtr<Ogre::Resource> >]’:
pyogre/ogre/ogre_wrap.cxx:4598: instantiated from ‘swig::PySequence_Ref<T>::operator T() const [with T = std::pair<long unsigned int, Ogre::SharedPtr<Ogre::Resource> >]’
pyogre/ogre/ogre_wrap.cxx:4658: instantiated from ‘swig::PySequence_ArrowProxy<T> swig::PySequence_InputIterator<T, Reference>::operator->() const [with T = std::pair<long unsign
ed int, Ogre::SharedPtr<Ogre::Resource> >, Reference = const swig::PySequence_Ref<std::pair<long unsigned int, Ogre::SharedPtr<Ogre::Resource> > >]’
pyogre/ogre/ogre_wrap.cxx:4908: instantiated from ‘void swig::assign(const PySeq&, std::map<K, T, std::less<K>, std::allocator<std::pair<const K, T> > >*) [with PySeq = swig::PyS
equence_Cont<std::pair<long unsigned int, Ogre::SharedPtr<Ogre::Resource> > >, K = long unsigned int, T = Ogre::SharedPtr<Ogre::Resource>]’
pyogre/ogre/ogre_wrap.cxx:4843: instantiated from ‘static int swig::traits_asptr_stdseq<Seq, T>::asptr(PyObject*, Seq**) [with Seq = std::map<long unsigned int, Ogre::SharedPtr<O
gre::Resource>, std::less<long unsigned int>, std::allocator<std::pair<const long unsigned int, Ogre::SharedPtr<Ogre::Resource> > > >, T = std::pair<long unsigned int, Ogre::Shared
Ptr<Ogre::Resource> >]’
pyogre/ogre/ogre_wrap.cxx:4919: instantiated from ‘static int swig::traits_asptr<std::map<K, T, std::less<_Key>, std::allocator<std::pair<const _Key, _Tp> > > >::asptr(PyObject*,
std::map<K, T, std::less<_Key>, std::allocator<std::pair<const _Key, _Tp> > >**) [with K = long unsigned int, T = Ogre::SharedPtr<Ogre::Resource>]’
pyogre/ogre/ogre_wrap.cxx:3927: instantiated from ‘int swig::asptr(PyObject*, Type**) [with Type = std::map<long unsigned int, Ogre::SharedPtr<Ogre::Resource>, std::less<long uns
igned int>, std::allocator<std::pair<const long unsigned int, Ogre::SharedPtr<Ogre::Resource> > > >]’
pyogre/ogre/ogre_wrap.cxx:109760: instantiated from here
pyogre/ogre/ogre_wrap.cxx:4035: error: no type named ‘category’ in ‘struct swig::traits<std::pair<long unsigned int, Ogre::SharedPtr<Ogre::Resource> > >’
pyogre/ogre/ogre_wrap.cxx: In function ‘const char* swig::type_name() [with Type = std::pair<long unsigned int, Ogre::SharedPtr<Ogre::Resource> >]’:
pyogre/ogre/ogre_wrap.cxx:4603: instantiated from ‘swig::PySequence_Ref<T>::operator T() const [with T = std::pair<long unsigned int, Ogre::SharedPtr<Ogre::Resource> >]’
pyogre/ogre/ogre_wrap.cxx:4658: instantiated from ‘swig::PySequence_ArrowProxy<T> swig::PySequence_InputIterator<T, Reference>::operator->() const [with T = std::pair<long unsign
ed int, Ogre::SharedPtr<Ogre::Resource> >, Reference = const swig::PySequence_Ref<std::pair<long unsigned int, Ogre::SharedPtr<Ogre::Resource> > >]’
pyogre/ogre/ogre_wrap.cxx:4908: instantiated from ‘void swig::assign(const PySeq&, std::map<K, T, std::less<K>, std::allocator<std::pair<const K, T> > >*) [with PySeq = swig::PyS
equence_Cont<std::pair<long unsigned int, Ogre::SharedPtr<Ogre::Resource> > >, K = long unsigned int, T = Ogre::SharedPtr<Ogre::Resource>]’
pyogre/ogre/ogre_wrap.cxx:4843: instantiated from ‘static int swig::traits_asptr_stdseq<Seq, T>::asptr(PyObject*, Seq**) [with Seq = std::map<long unsigned int, Ogre::SharedPtr<O
gre::Resource>, std::less<long unsigned int>, std::allocator<std::pair<const long unsigned int, Ogre::SharedPtr<Ogre::Resource> > > >, T = std::pair<long unsigned int, Ogre::Shared
Ptr<Ogre::Resource> >]’
pyogre/ogre/ogre_wrap.cxx:4919: instantiated from ‘static int swig::traits_asptr<std::map<K, T, std::less<_Key>, std::allocator<std::pair<const _Key, _Tp> > > >::asptr(PyObject*,
std::map<K, T, std::less<_Key>, std::allocator<std::pair<const _Key, _Tp> > >**) [with K = long unsigned int, T = Ogre::SharedPtr<Ogre::Resource>]’
pyogre/ogre/ogre_wrap.cxx:3927: instantiated from ‘int swig::asptr(PyObject*, Type**) [with Type = std::map<long unsigned int, Ogre::SharedPtr<Ogre::Resource>, std::less<long uns
igned int>, std::allocator<std::pair<const long unsigned int, Ogre::SharedPtr<Ogre::Resource> > > >]’
pyogre/ogre/ogre_wrap.cxx:109760: instantiated from here
pyogre/ogre/ogre_wrap.cxx:3833: error: ‘type_name’ is not a member of ‘swig::traits<std::pair<long unsigned int, Ogre::SharedPtr<Ogre::Resource> > >’
pyogre/ogre/ogre_wrap.cxx: In function ‘Type swig::as(PyObject*, bool) [with Type = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::Animatio
nState*>]’:
pyogre/ogre/ogre_wrap.cxx:4598: instantiated from ‘swig::PySequence_Ref<T>::operator T() const [with T = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<
char> >, Ogre::AnimationState*>]’
pyogre/ogre/ogre_wrap.cxx:4658: instantiated from ‘swig::PySequence_ArrowProxy<T> swig::PySequence_InputIterator<T, Reference>::operator->() const [with T = std::pair<std::basic_
string<char, std::char_traits<char>, std::allocator<char> >, Ogre::AnimationState*>, Reference = const swig::PySequence_Ref<std::pair<std::basic_string<char, std::char_traits<char>
, std::allocator<char> >, Ogre::AnimationState*> >]’
pyogre/ogre/ogre_wrap.cxx:4908: instantiated from ‘void swig::assign(const PySeq&, std::map<K, T, std::less<K>, std::allocator<std::pair<const K, T> > >*) [with PySeq = swig::PyS
equence_Cont<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::AnimationState*> >, K = std::basic_string<char, std::char_traits<char>, std::al
locator<char> >, T = Ogre::AnimationState*]’
pyogre/ogre/ogre_wrap.cxx:4843: instantiated from ‘static int swig::traits_asptr_stdseq<Seq, T>::asptr(PyObject*, Seq**) [with Seq = std::map<std::basic_string<char, std::char_tr
aits<char>, std::allocator<char> >, Ogre::AnimationState*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::b
asic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::AnimationState*> > >, T = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
Ogre::AnimationState*>]’
pyogre/ogre/ogre_wrap.cxx:4919: instantiated from ‘static int swig::traits_asptr<std::map<K, T, std::less<_Key>, std::allocator<std::pair<const _Key, _Tp> > > >::asptr(PyObject*,
std::map<K, T, std::less<_Key>, std::allocator<std::pair<const _Key, _Tp> > >**) [with K = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, T = Ogre::Animat
ionState*]’
pyogre/ogre/ogre_wrap.cxx:3927: instantiated from ‘int swig::asptr(PyObject*, Type**) [with Type = std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >
, Ogre::AnimationState*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits
<char>, std::allocator<char> >, Ogre::AnimationState*> > >]’
pyogre/ogre/ogre_wrap.cxx:183274: instantiated from here
pyogre/ogre/ogre_wrap.cxx:4035: error: no type named ‘category’ in ‘struct swig::traits<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::Anim
ationState*> >’
pyogre/ogre/ogre_wrap.cxx: In function ‘const char* swig::type_name() [with Type = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::Animation
State*>]’:
pyogre/ogre/ogre_wrap.cxx:4603: instantiated from ‘swig::PySequence_Ref<T>::operator T() const [with T = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<
char> >, Ogre::AnimationState*>]’
pyogre/ogre/ogre_wrap.cxx:4658: instantiated from ‘swig::PySequence_ArrowProxy<T> swig::PySequence_InputIterator<T, Reference>::operator->() const [with T = std::pair<std::basic_
string<char, std::char_traits<char>, std::allocator<char> >, Ogre::AnimationState*>, Reference = const swig::PySequence_Ref<std::pair<std::basic_string<char, std::char_traits<char>
, std::allocator<char> >, Ogre::AnimationState*> >]’
pyogre/ogre/ogre_wrap.cxx:4908: instantiated from ‘void swig::assign(const PySeq&, std::map<K, T, std::less<K>, std::allocator<std::pair<const K, T> > >*) [with PySeq = swig::PyS
equence_Cont<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::AnimationState*> >, K = std::basic_string<char, std::char_traits<char>, std::al
locator<char> >, T = Ogre::AnimationState*]’
pyogre/ogre/ogre_wrap.cxx:4843: instantiated from ‘static int swig::traits_asptr_stdseq<Seq, T>::asptr(PyObject*, Seq**) [with Seq = std::map<std::basic_string<char, std::char_tr
aits<char>, std::allocator<char> >, Ogre::AnimationState*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::b
asic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::AnimationState*> > >, T = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
Ogre::AnimationState*>]’
pyogre/ogre/ogre_wrap.cxx:4919: instantiated from ‘static int swig::traits_asptr<std::map<K, T, std::less<_Key>, std::allocator<std::pair<const _Key, _Tp> > > >::asptr(PyObject*,
std::map<K, T, std::less<_Key>, std::allocator<std::pair<const _Key, _Tp> > >**) [with K = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, T = Ogre::Animat
ionState*]’
pyogre/ogre/ogre_wrap.cxx:3927: instantiated from ‘int swig::asptr(PyObject*, Type**) [with Type = std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >
, Ogre::AnimationState*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const
<char>, std::allocator<char> >, Ogre::AnimationState*> > >]’
pyogre/ogre/ogre_wrap.cxx:183274: instantiated from here
pyogre/ogre/ogre_wrap.cxx:3833: error: ‘type_name’ is not a member of ‘swig::traits<std::pair<std::basic_string<char, std::char_traits<char
nState*> >’
pyogre/ogre/ogre_wrap.cxx: At global scope:
pyogre/ogre/ogre_wrap.cxx:372510: warning: ‘void* _p_p_Ogre__MultiRenderTargetTo_p_p_Ogre__RenderTarget(void*)’ defined but not used
pyogre/ogre/ogre_wrap.cxx:372513: warning: ‘void* _p_p_Ogre__RenderWindowTo_p_p_Ogre__RenderTarget(void*)’ defined but not used
pyogre/ogre/ogre_wrap.cxx:372516: warning: ‘void* _p_p_Ogre__RenderTextureTo_p_p_Ogre__RenderTarget(void*)’ defined but not used
pyogre/ogre/ogre_wrap.cxx:372639: warning: ‘void* _p_p_Ogre__ManualObjectFactoryTo_p_p_Ogre__MovableObjectFactory(void*)’ defined but not u
pyogre/ogre/ogre_wrap.cxx:372642: warning: ‘void* _p_p_Ogre__LightFactoryTo_p_p_Ogre__MovableObjectFactory(void*)’ defined but not used
pyogre/ogre/ogre_wrap.cxx:372645: warning: ‘void* _p_p_Ogre__BillboardSetFactoryTo_p_p_Ogre__MovableObjectFactory(void*)’ defined but not u
pyogre/ogre/ogre_wrap.cxx:372648: warning: ‘void* _p_p_Ogre__BillboardChainFactoryTo_p_p_Ogre__MovableObjectFactory(void*)’ defined but not
pyogre/ogre/ogre_wrap.cxx:372651: warning: ‘void* _p_p_Ogre__EntityFactoryTo_p_p_Ogre__MovableObjectFactory(void*)’ defined but not used
pyogre/ogre/ogre_wrap.cxx:372654: warning: ‘void* _p_p_Ogre__RibbonTrailFactoryTo_p_p_Ogre__MovableObjectFactory(void*)’ defined but not us
pyogre/ogre/ogre_wrap.cxx:372657: warning: ‘void* _p_p_Ogre__ParticleSystemFactoryTo_p_p_Ogre__MovableObjectFactory(void*)’ defined but not
error: command 'gcc' failed with exit status 1
BlackJack

Beitragvon BlackJack » Sonntag 31. Dezember 2006, 18:48

Die ersten Zeilen deuten ja schon recht deutlich darauf hin, dass PyOgre gerne Ogre 1.0.6 hätte, Du aber was neueres installiert hast.

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder