I am using a plugin in a Unreal C++ project. I am trying to create a new class that derives from a class in the plugin. When I use the unreal wizard to do so, the generated source file has compiler errors complaining about how the super class cannot be found.
How can I include the library and dll files from the plugin in my project? I’m new to unreal and unsure if there are extra steps involved. I have included the plugins dll and lib files in the VS project’s Include Directories and Library Directories.
In the end, what I did was I created a new class that could act completely independently from any plugin. Then, I created a blueprint that called methods on this independent class depending on what the plugin’s own blueprints etc were doing, thus acting like a mediator between the plugin and my new class.
I understand this might not be what suits your project, but thankfully I was able to get away with it.
I had the same problem using RunebergVRPlugin. I wanted to derive a pawn class from RunebergVR_Pawn and there were compile errors. I had tried many things including adding paths in the project settings, but nothing worked. Finally I found the following page on the wiki and at first it did not solve my problem. So I undid all my experiments, removed paths from project settings and did only what the wiki page said and finally my project compiled.
FYI: Even though everything compiles, there are errors showing on the VS Error List window and squiggly lines are showing from missing intellisense. There are no errors in the Build Output though, so seems better than not compiling at all.