Crossbridge-Recast-Navigation icon indicating copy to clipboard operation
Crossbridge-Recast-Navigation copied to clipboard

build recastnavigation.internal_api failed

Open yoahuili opened this issue 10 years ago • 2 comments

In run.bat error:undefined refence to "_ZHK13dtQueryFilter10passFilter....... and I delete tow function _dtQueryFilter_passFilter _dtQueryFilter_getCost in detour.cpp , it build sussus but the SWC cannot use ,no api in it.

yoahuili avatar Nov 19 '14 09:11 yoahuili

I remember having same issue. In original recast navigation code try changing this:

inline bool dtQueryFilter::passFilter(...

to this:

bool dtQueryFilter::passFilter(...

And this:

inline float dtQueryFilter::getCost(...

to this:

float dtQueryFilter::getCost(

Version of CrossBridge which I used during development does not support some C++ features. I hope someday I will switch to community edition.

Let me know if it worked.

And you can always use compiled SWC from repository.

Rokannon avatar Nov 19 '14 09:11 Rokannon

I need use some C++ function to find a smooth path in 3D game ,just like original recast navigation demo,RecastDemo,in NavMeshTesterTool.cpp ,the FirstToolMode,PATHFIND_FOLLOW. So,I want to Build SWC by myselft.Or can you send your version of CrossBridge to me.

yoahuili avatar Nov 19 '14 12:11 yoahuili