[go: up one dir, main page]

Menu

#678 FTBFS with libogre-1.9-dev

SVN
open
nobody
None
5
2015-05-23
2014-11-19
onlyjob
No

Current SVN FTBFS on Debain "Jessie" (with libogre-1.9-dev):

/mnt/tmp/src/vegastrike/vegastrike-0.5.1.1/objconv/mesher/to_OgreMesh.cpp: In function void OgreMeshConverter::AutoOrganiseBuffers(Ogre::VertexData*, Ogre::MeshPtr): 
/mnt/tmp/src/vegastrike/vegastrike-0.5.1.1/objconv/mesher/to_OgreMesh.cpp:1084:91: error: no matching function for call to Ogre::VertexDeclaration::getAutoOrganisedDeclaration(bool, bool) 
             mesh->hasSkeleton(), mesh->hasVertexAnimation() || (mesh->getPoseCount() > 0) ); 
                                                                                           ^ 
/mnt/tmp/src/vegastrike/vegastrike-0.5.1.1/objconv/mesher/to_OgreMesh.cpp:1084:91: note: candidate is: 
In file included from /usr/include/OGRE/OgreKeyFrame.h:36:0, 
                 from /usr/include/OGRE/OgreAnimationTrack.h:35, 
                 from /usr/include/OGRE/OgreAnimation.h:36, 
                 from /usr/include/OGRE/Ogre.h:33, 
                 from /mnt/tmp/src/vegastrike/vegastrike-0.5.1.1/objconv/mesher/to_OgreMesh.cpp:5: 
/usr/include/OGRE/OgreHardwareVertexBuffer.h:391:28: note: Ogre::VertexDeclaration* Ogre::VertexDeclaration::getAutoOrganisedDeclaration(bool, bool, bool) const 
         VertexDeclaration* getAutoOrganisedDeclaration(bool skeletalAnimation, 
                            ^ 
/usr/include/OGRE/OgreHardwareVertexBuffer.h:391:28: note:   candidate expects 3 arguments, 2 provided 
/mnt/tmp/src/vegastrike/vegastrike-0.5.1.1/objconv/mesher/to_OgreMesh.cpp: In function void OgreMeshConverter::Optimize(void*): 
/mnt/tmp/src/vegastrike/vegastrike-0.5.1.1/objconv/mesher/to_OgreMesh.cpp:1104:20: warning: unused variable idx [-Wunused-variable] 
     unsigned short idx = 0; 
                    ^ 
/mnt/tmp/src/vegastrike/vegastrike-0.5.1.1/objconv/mesher/to_OgreMesh.cpp: In function void OgreMeshConverter::AutoLOD(void*, bool, int, float, float): 
/mnt/tmp/src/vegastrike/vegastrike-0.5.1.1/objconv/mesher/to_OgreMesh.cpp:1119:21: error: ProgressiveMesh in namespace Ogre does not name a type 
         const Ogre::ProgressiveMesh::VertexReductionQuota quota = Ogre::ProgressiveMesh::VRQ_PROPORTIONAL; 
                     ^ 
/mnt/tmp/src/vegastrike/vegastrike-0.5.1.1/objconv/mesher/to_OgreMesh.cpp:1138:18: error: class Ogre::Mesh has no member named generateLodLevels 
         newMesh->generateLodLevels( distanceList, quota, reduction ); 
                  ^ 
/mnt/tmp/src/vegastrike/vegastrike-0.5.1.1/objconv/mesher/to_OgreMesh.cpp:1138:51: error: quota was not declared in this scope 
         newMesh->generateLodLevels( distanceList, quota, reduction ); 
                                                   ^ 
objconv/CMakeFiles/mesh_tool.dir/build.make:169: recipe for target 'objconv/CMakeFiles/mesh_tool.dir/mesher/to_OgreMesh.cpp.o' failed 
make[3] *** [objconv/CMakeFiles/mesh_tool.dir/mesher/to_OgreMesh.cpp.o] Error 1 

Discussion

  • Turbo Beholder

    Turbo Beholder - 2014-12-28

    It's not a bug, it's improper setup. Configure with cmake/ccmake before compiling.
    CCmake will give a warning (" -- Ogre Not Found: compiling without").
    Or get to that variable in cmake and manually enter the correct path.
    But it's not really required to build VS. Or even mesher - which itself is only needed for conversion of models to/from VS internal format.

     
  • onlyjob

    onlyjob - 2014-12-29

    Thanks for the hint to build using cmake -- I reckon I got carried away trying to fix old build system... However even with cmake it still FTBFS:

    /usr/include/boost/python/object/py_function.hpp:48:35:   required from boost::python::detail::py_func_sig_info boost::python::objects::caller_py_function_impl<Caller>::signature() const [with Caller = boost::python::detail::caller<QVector (UnitWrapper::*)(), boost::python::default_call_policies, boost::mpl::vector2<QVector, UnitWrapper&> >] 
    /mnt/tmpssd/src/vegastrike/vegastrike/src/python/unit_exports.h:91:1:   required from here 
    /usr/include/boost/python/detail/caller.hpp:102:109: error: struct boost::python::to_python_value<const QVector&> has no member named get_pytype 
             return create_result_converter((PyObject*)0, (ResultConverter *)0, (ResultConverter *)0).get_pytype(); 
                                                                                                                 ^ 
    /usr/include/boost/python/detail/caller.hpp: In instantiation of static const PyTypeObject* boost::python::detail::converter_target_type<ResultConverter>::get_pytype() [with ResultConverter = boost::python::to_python_value<const Vector&>; PyTypeObject = _typeobject]: 
    /usr/include/boost/python/detail/caller.hpp:240:19:   required from static boost::python::detail::py_func_sig_info boost::python::detail::caller_arity<2u>::impl<F, Policies, Sig>::signature() [with F = Vector (UnitWrapper::*)(UnitWrapper); Policies = boost::python::default_call_policies; Sig = boost::mpl::vector3<Vector, UnitWrapper&, UnitWrapper>] 
    /usr/include/boost/python/object/py_function.hpp:48:35:   required from boost::python::detail::py_func_sig_info boost::python::objects::caller_py_function_impl<Caller>::signature() const [with Caller = boost::python::detail::caller<Vector (UnitWrapper::*)(UnitWrapper), boost::python::default_call_policies, boost::mpl::vector3<Vector, UnitWrapper&, UnitWrapper> >] 
    /mnt/tmpssd/src/vegastrike/vegastrike/src/python/unit_exports.h:91:1:   required from here 
    /usr/include/boost/python/detail/caller.hpp:102:109: error: struct boost::python::to_python_value<const Vector&> has no member named get_pytype 
    CMakeFiles/engine_com.dir/build.make:1230: recipe for target 'CMakeFiles/engine_com.dir/src/python/unit_exports1.cpp.o' failed 
    make[3] *** [CMakeFiles/engine_com.dir/src/python/unit_exports1.cpp.o] Error 1 
    

    This is with Boost 1.55 on Debian "Jessie". Any ideas?

     
  • Vincent Legoll

    Vincent Legoll - 2015-05-23

    Does [r13682] allows you to compile without OGRE and still run the game ?

     

    Related

    Commit: [r13682]

  • Anonymous

    Anonymous - 2015-05-23

    No, not even close to get a build. It fails either as follows (with libpython 2.7.10rc1):

    [ 20%] Building CXX object CMakeFiles/engine_com.dir/src/python/unit_exports1.o
    /usr/lib/ccache/c++   -D__STDC_CONSTANT_MACROS -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -I/mnt/tmpssd/src/vegastrike/vegastrike-0.5.1.1/src -I/mnt/tmpssd/src/vegastrike/vegastrike-0.5.1.1/src/cmd -I/mnt/tmpssd/src/vegastrike/vegastrike-0.5.1.1/obj-x86_64-linux-gnu -I/usr/include/python2.7 -I/usr/include/AL -I/usr/include/SDL -I/usr/include/vorbis -I/usr/include/ogg -I/usr/include/libavcodec -I/usr/include/libavformat -I/usr/include/libswscale    -o CMakeFiles/engine_com.dir/src/python/unit_exports1.o -c /mnt/tmpssd/src/vegastrike/vegastrike-0.5.1.1/src/python/unit_exports1.cpp
    In file included from /usr/include/boost/python/object/function_handle.hpp:8:0,
                     from /usr/include/boost/python/converter/arg_to_python.hpp:19,
                     from /usr/include/boost/python/call.hpp:15,
                     from /usr/include/boost/python/object_core.hpp:14,
                     from /usr/include/boost/python/object.hpp:9,
                     from /mnt/tmpssd/src/vegastrike/vegastrike-0.5.1.1/src/python/python_class.h:25,
                     from /mnt/tmpssd/src/vegastrike/vegastrike-0.5.1.1/src/python/unit_exports.h:1,
                     from /mnt/tmpssd/src/vegastrike/vegastrike-0.5.1.1/src/python/unit_exports1.cpp:3:
    /usr/include/boost/python/detail/caller.hpp: In instantiation of static const PyTypeObject* boost::python::detail::converter_target_type<ResultConverter>::get_pytype() [with ResultConverter = boost::python::to_python_value<const QVector&>; PyTypeObject = _typeobject]:
    /usr/include/boost/python/detail/caller.hpp:240:19:   required from static boost::python::detail::py_func_sig_info boost::python::detail::caller_arity<1u>::impl<F, Policies, Sig>::signature() [with F = QVector (UnitWrapper::*)(); Policies = boost::python::default_call_policies; Sig = boost::mpl::vector2<QVector, UnitWrapper&>]
    /usr/include/boost/python/object/py_function.hpp:48:35:   required from boost::python::detail::py_func_sig_info boost::python::objects::caller_py_function_impl<Caller>::signature() const [with Caller = boost::python::detail::caller<QVector (UnitWrapper::*)(), boost::python::default_call_policies, boost::mpl::vector2<QVector, UnitWrapper&> >]
    /mnt/tmpssd/src/vegastrike/vegastrike-0.5.1.1/src/python/unit_exports.h:91:1:   required from here
    /usr/include/boost/python/detail/caller.hpp:102:109: error: struct boost::python::to_python_value<const QVector&> has no member named get_pytype
             return create_result_converter((PyObject*)0, (ResultConverter *)0, (ResultConverter *)0).get_pytype();
                                                                                                                 ^
    /usr/include/boost/python/detail/caller.hpp: In instantiation of static const PyTypeObject* boost::python::detail::converter_target_type<ResultConverter>::get_pytype() [with ResultConverter = boost::python::to_python_value<const Vector&>; PyTypeObject = _typeobject]:
    /usr/include/boost/python/detail/caller.hpp:240:19:   required from static boost::python::detail::py_func_sig_info boost::python::detail::caller_arity<2u>::impl<F, Policies, Sig>::signature() [with F = Vector (UnitWrapper::*)(UnitWrapper); Policies = boost::python::default_call_policies; Sig = boost::mpl::vector3<Vector, UnitWrapper&, UnitWrapper>]
    /usr/include/boost/python/object/py_function.hpp:48:35:   required from boost::python::detail::py_func_sig_info boost::python::objects::caller_py_function_impl<Caller>::signature() const [with Caller = boost::python::detail::caller<Vector (UnitWrapper::*)(UnitWrapper), boost::python::default_call_policies, boost::mpl::vector3<Vector, UnitWrapper&, UnitWrapper> >]
    /mnt/tmpssd/src/vegastrike/vegastrike-0.5.1.1/src/python/unit_exports.h:91:1:   required from here
    /usr/include/boost/python/detail/caller.hpp:102:109: error: struct boost::python::to_python_value<const Vector&> has no member named get_pytype
    CMakeFiles/engine_com.dir/build.make:1230: recipe for target 'CMakeFiles/engine_com.dir/src/python/unit_exports1.o' failed
    make[3]: *** [CMakeFiles/engine_com.dir/src/python/unit_exports1.o] Error 1
    

    or

    as follows (with libpython 3.4.3+):

    [  9%] Building CXX object CMakeFiles/engine_com.dir/src/cmd/ai/aggressive.o
    /usr/lib/ccache/c++   -D__STDC_CONSTANT_MACROS -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -I/mnt/tmpssd/src/vegastrike/vegastrike-0.5.1.1/src -I/mnt/tmpssd/src/vegastrike/vegastrike-0.5.1.1/src/cmd -I/mnt/tmpssd/src/vegastrike/vegastrike-0.5.1.1/obj-x86_64-linux-gnu -I/usr/include/python3.4m -I/usr/include/AL -I/usr/include/SDL -I/usr/include/vorbis -I/usr/include/ogg -I/usr/include/libavcodec -I/usr/include/libavformat -I/usr/include/libswscale    -o CMakeFiles/engine_com.dir/src/cmd/ai/aggressive.o -c /mnt/tmpssd/src/vegastrike/vegastrike-0.5.1.1/src/cmd/ai/aggressive.cpp
    In file included from /mnt/tmpssd/src/vegastrike/vegastrike-0.5.1.1/src/cmd/ai/aggressive.cpp:25:0:
    /mnt/tmpssd/src/vegastrike/vegastrike-0.5.1.1/src/python/python_compile.h: In member function PyObject* PythonBasicType::NewObject() const:
    /mnt/tmpssd/src/vegastrike/vegastrike-0.5.1.1/src/python/python_compile.h:43:57: error: PyString_FromString was not declared in this scope
                 return PyString_FromString( objects.c_str() );
                                                             ^
    CMakeFiles/engine_com.dir/build.make:57: recipe for target 'CMakeFiles/engine_com.dir/src/cmd/ai/aggressive.o' failed
    make[3]: *** [CMakeFiles/engine_com.dir/src/cmd/ai/aggressive.o] Error 1
    

    Ogre library is not installed; r13682 applied on top of v0.5.1.1.

     

Anonymous
Anonymous

Add attachments
Cancel