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;
Although, no tools, Campiglio rules without error.
What's the trouble?
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?