Adding new class that derives from plugin class
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.
asked Dec 23 '14 at 12:02 PM in C++ Programming
Bring the code into your project. The whole point of a plugin is that you can compile your code with or without it. What I was asking would have made it not a plugin in the true sense.
answered Mar 10 '15 at 04:55 PM
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.
answered Jul 08 '17 at 09:20 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here