Including Engine Header Error (Recast.h)
I want to process data from Recast in a Actor Subclass. In detail i want to process rcCompactHeightfield Data. So i tried to include Recast.h and it is found though my class won`t compile. How could i possibly circumvent this problem?
Obviously he has problem with the "NAVMESH_API" and so do i since i don`t understand at the moment where it is coming from.
Thanks in advance, alex
I am sorry to hear about your problem.
Please note that usage of some Unreal Engine 4 classes requires extra modules that may not be added to your project by default.
In this situation, it is most likely that the problem occurs because "Navmesh" module is not included.
Thus, please open
In general, when you are going to use a class in your project for the first time, it is a good practise to check what module is class implemented in, and see if it is included in your project. To find a module, please go to class declaration (header file) or use online documentation (https://docs.unrealengine.com). At the bottom of the page, there is a "References" section, where you can obtain information about headers and modules that should be used:
Hope this helped! Have a great day!
Follow this question
Once you sign in you will be able to subscribe for any updates here