Dependency modules & identifier errors
I am developing a plugin for Unreal Engine but when I include "PostProcess/PostProcessing.h" in an empty header that is not included by any other files except its also empty associated .cpp I get multiple C2061 errors (and other identifier errors like C4430, C4183, etc.) like this:
I believe the problem is that I need to add a dependency module (Core, Engine, RHI, etc.) in my .Build.cs but they don't seem to be documented at all, thus making it pretty hard to find.
The question: Which module is required ? (Unless I'm wrong and it is something else, then solutions to those errors are welcome)
asked Jul 09 '15 at 06:25 PM in C++ Programming
Short answer: I believe the module you're looking for is Renderer.
Usually I would search the type I am getting an error for in the documentation and at the very bottom of the doc it says which module it is apart of. However,
Even if you have a broken link the module name is in the URL of the doc. Take the broken link above for example.
You can also see what module it is apart of (generally) from the error message. Just look for the folder it's within. That is usually the module name.
Hope this helps you, and don't forget to regenerate your project files once you've added a dependency!
Edit: Here's a gif of finding the module for AActor. This should work for any type. I personally would prefer it if Epic put the module and the header file at the top of the doc so you can easily find it.
Follow this question
Once you sign in you will be able to subscribe for any updates here