User Tag List

Results 1 to 2 of 2

Thread: Compilation 4.3.4 to tools

  1. #1
    Emulation Addict
    Join Date
    Aug 2016
    Posts
    28
    XP
    497
    Level
    5
    Thanks
    3
    Thanked 1 Time in 1 Post

    Question Compilation 4.3.4 to tools

    Hello everybody. Need help with compiling 4.3.4 on ubuntu 14.04

    I'm trying to compile a tools, produces 98% of such a mistake here;

    Code:
    ../game/libgame.a(GameObject.cpp.o): In function `GameObject::UpdateModel()':
    GameObject.cpp:(.text+0xdef): undefined reference to `GameObjectModel::~GameObjectModel()'
    GameObject.cpp:(.text+0xdff): undefined reference to `GameObjectModel::Create(GameObject const&)'
    ../game/libgame.a(GameObject.cpp.o): In function `GameObject::~GameObject()':
    GameObject.cpp:(.text+0x19f2): undefined reference to `GameObjectModel::~GameObjectModel()'
    ../game/libgame.a(GameObject.cpp.o): In function `GameObject::Create(unsigned int, unsigned int, Map*, unsigned int, float, float, float, float, float, float, float, float, unsigned int, GOState, unsigned int)':
    GameObject.cpp:(.text+0x5024): undefined reference to `GameObjectModel::Create(GameObject const&)'
    ../game/libgame.a(World.cpp.o): In function `World::SetInitialWorldSettings()':
    World.cpp:(.text+0xabda): undefined reference to `LoadGameObjectModelList()'
    ../collision/libcollision.a(DynamicTree.cpp.o): In function `DynamicMapTree::isInLineOfSight(float, float, float, float, float, float, unsigned int) const':
    DynamicTree.cpp:(.text+0x8f8): undefined reference to `GameObjectModel::intersectRay(G3D::Ray const&, float&, bool, unsigned int) const'
    DynamicTree.cpp:(.text+0x11bd): undefined reference to `GameObjectModel::intersectRay(G3D::Ray const&, float&, bool, unsigned int) const'
    ../collision/libcollision.a(DynamicTree.cpp.o): In function `DynamicMapTree::getHeight(float, float, float, float, unsigned int) const':
    DynamicTree.cpp:(.text+0x1afa): undefined reference to `GameObjectModel::intersectRay(G3D::Ray const&, float&, bool, unsigned int) const'
    ../collision/libcollision.a(DynamicTree.cpp.o): In function `DynamicMapTree::getObjectHitPos(unsigned int, G3D::Vector3 const&, G3D::Vector3 const&, G3D::Vector3&, float) const':
    DynamicTree.cpp:(.text+0x269b): undefined reference to `GameObjectModel::intersectRay(G3D::Ray const&, float&, bool, unsigned int) const'
    DynamicTree.cpp:(.text+0x31ac): undefined reference to `GameObjectModel::intersectRay(G3D::Ray const&, float&, bool, unsigned int) const'
    ../collision/libcollision.a(DynamicTree.cpp.o):DynamicTree.cpp:(.text._ZNK3BIH12intersectRayIN7BIHWrapI15GameObjectModel11BoundsTraitIS2_EE11MDLCallbackI31DynamicTreeIntersectionCallbackEEEEvRKN3G3D3RayERT_Rfb[_ZNK3BIH12intersectRayIN7BIHWrapI15GameObjectModel11BoundsTraitIS2_EE11MDLCallbackI31DynamicTreeIntersectionCallbackEEEEvRKN3G3D3RayERT_Rfb]+0x26a): more undefined references to `GameObjectModel::intersectRay(G3D::Ray const&, float&, bool, unsigned int) const' follow
    collect2: error: ld returned 1 exit status
    make[2]: *** [src/server/worldserver/worldserver] Error 1
    make[1]: *** [src/server/worldserver/CMakeFiles/worldserver.dir/all] Error 2
    make: *** [all] Error 2
    Although, no tools, Campiglio rules without error.
    What's the trouble?

  2. #2
    Founder <span style='color: #FF4500'>Tommy</span>'s Avatar
    Join Date
    Apr 2013
    Posts
    7,391
    XP
    3,449,104
    Level
    378
    Thanks
    889
    Thanked 1,856 Times in 1,119 Posts
    Never seen those errors before so I'm not really sure. It does say "undefined reference to" so I'd assume where that code is being called it either doesn't have all the included files or some other cause. When you say TrinityCore 4.3.4 do you mean the official currently unsupported TrinityCore 4.3.4 or a derived third party source (e.g. Skyfire, etc)?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •