Can't include plugin in game
So, I've been searching around the answers section here and have found a few solutions. However, none of these seem to work for me. I have a project, Project and a plugin Plugin and the Plugin resides in the project directory under Plugins/Plugin/Source/Plugin. I have my file that I want to include SourceFile.h in the \Plugins\Plugin\Source\Plugin\Private directory and I have marked the class with PLUGIN_API and in my games Build.cs file I have specified:
(These were the solutions I found here on the answerhub) However when I try to include the header SourceFile.h in my game the Build Tool doesn't find it.
What am I doing wrong here?
asked Feb 06 '16 at 12:52 PM in C++ Programming
In case anyone is having the same issues. I fixed this by moving the header files from the plugin from the /Private folder into the /Public folder. I guess the header files of a plugin just don't get "exported" if you don't put them in the /Public folder.
answered Feb 07 '16 at 11:25 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here