Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build recastnavigation.internal_api failed #1

Open
yoahuili opened this issue Nov 19, 2014 · 2 comments
Open

build recastnavigation.internal_api failed #1

yoahuili opened this issue Nov 19, 2014 · 2 comments

Comments

@yoahuili
Copy link

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.

@Rokannon
Copy link
Owner

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.

@yoahuili
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants