Compilation ERROR
When I try to compile rel20 I get errors since some days:
[code]
../../dep/lualib/liblualib.a(loslib.c.o): In function `os_tmpname':
loslib.c:(.text+0x2ac): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
../game/libgame.a(Level2.cpp.o): In function `ChatHandler::HandleMmapLocCommand(char*)':
Level2.cpp:(.text+0x634b): undefined reference to `dtNavMeshQuery::findNearestPoly(float const*, float const*, dtQueryFilter const*, unsigned long*, float*) const'
Level2.cpp:(.text+0x6365): undefined reference to `dtNavMesh::getTileAndPolyByRef(unsigned long, dtMeshTile const**, dtPoly const**) const'
../game/libgame.a(PathFinder.cpp.o): In function `PathFinder::getPathPolyByPosition(unsigned long const*, unsigned int, float const*, float*) const':
PathFinder.cpp:(.text+0x6c): undefined reference to `dtNavMeshQuery::closestPointOnPoly(unsigned long, float const*, float*, bool*) const'
../game/libgame.a(PathFinder.cpp.o): In function `PathFinder::getPolyByLocation(float const*, float*) const':
PathFinder.cpp:(.text+0x1c2): undefined reference to `dtNavMeshQuery::findNearestPoly(float const*, float const*, dtQueryFilter const*, unsigned long*, float*) const'
PathFinder.cpp:(.text+0x24b): undefined reference to `dtNavMeshQuery::findNearestPoly(float const*, float const*, dtQueryFilter const*, unsigned long*, float*) const'
../game/libgame.a(PathFinder.cpp.o): In function `PathFinder::getSteerTarget(float const*, float const*, float, unsigned long const*, unsigned int, float*, unsigned char&, unsigned long&)':
PathFinder.cpp:(.text+0x6e7): undefined reference to `dtNavMeshQuery::findStraightPath(float const*, float const*, unsigned long const*, int, float*, unsigned char*, unsigned long*, int*, int, int) const'
../game/libgame.a(PathFinder.cpp.o): In function `PathFinder::findSmoothPath(float const*, float const*, unsigned long const*, unsigned int, float*, int*, unsigned int)':
PathFinder.cpp:(.text+0x954): undefined reference to `dtNavMeshQuery::closestPointOnPolyBoundary(unsigned long, float const*, float*) const'
PathFinder.cpp:(.text+0x991): undefined reference to `dtNavMeshQuery::closestPointOnPolyBoundary(unsigned long, float const*, float*) const'
PathFinder.cpp:(.text+0xb83): undefined reference to `dtNavMeshQuery::moveAlongSurface(unsigned long, float const*, float const*, dtQueryFilter const*, float*, unsigned long*, int*, int) const'
PathFinder.cpp:(.text+0xbc5): undefined reference to `dtNavMeshQuery::getPolyHeight(unsigned long, float const*, float*) const'
PathFinder.cpp:(.text+0xe2c): undefined reference to `dtNavMesh::getOffMeshConnectionPolyEndPoints(unsigned long, unsigned long, float*, float*) const'
PathFinder.cpp:(.text+0xeca): undefined reference to `dtNavMeshQuery::getPolyHeight(unsigned long, float const*, float*) const'
../game/libgame.a(PathFinder.cpp.o): In function `PathFinder::BuildPointPath(float const*, float const*)':
PathFinder.cpp:(.text+0x1658): undefined reference to `dtNavMeshQuery::findStraightPath(float const*, float const*, unsigned long const*, int, float*, unsigned char*, unsigned long*, int*, int, int) const'
../game/libgame.a(PathFinder.cpp.o): In function `PathFinder::BuildPolyPath(G3D::Vector3 const&, G3D::Vector3 const&)':
PathFinder.cpp:(.text+0x1bad): undefined reference to `dtNavMeshQuery::closestPointOnPoly(unsigned long, float const*, float*, bool*) const'
PathFinder.cpp:(.text+0x1cbf): undefined reference to `dtNavMeshQuery::findPath(unsigned long, unsigned long, float const*, float const*, dtQueryFilter const*, unsigned long*, int*, int) const'
PathFinder.cpp:(.text+0x1edb): undefined reference to `dtNavMeshQuery::closestPointOnPoly(unsigned long, float const*, float*, bool*) const'
PathFinder.cpp:(.text+0x1f35): undefined reference to `dtNavMeshQuery::findPath(unsigned long, unsigned long, float const*, float const*, dtQueryFilter const*, unsigned long*, int*, int) const'
PathFinder.cpp:(.text+0x2413): undefined reference to `dtNavMeshQuery::closestPointOnPoly(unsigned long, float const*, float*, bool*) const'
../game/libgame.a(MoveMap.cpp.o): In function `MMAP::MMapManager::unloadMap(unsigned int)':
MoveMap.cpp:(.text+0x13f6): undefined reference to `dtNavMesh::removeTile(unsigned long, unsigned char**, int*)'
../game/libgame.a(MoveMap.cpp.o): In function `MMAP::MMapManager::loadMap(unsigned int, int, int)':
MoveMap.cpp:(.text+0x1d28): undefined reference to `dtNavMesh::addTile(unsigned char*, int, int, unsigned long, unsigned long*)'
../game/libgame.a(MoveMap.cpp.o): In function `MMAP::MMapManager::unloadMap(unsigned int, int, int)':
MoveMap.cpp:(.text+0x2584): undefined reference to `dtNavMesh::removeTile(unsigned long, unsigned char**, int*)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/mangosd/mangosd] Error 1
make[1]: *** [src/mangosd/CMakeFiles/mangosd.dir/all] Error 2
make: *** [all] Error 2
[/code]
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now