How to access engine code from a game plugin?
I'm a bit new to plugin development, so it's entirely possible I'm making a really basic mistake. I have a game plugin in which I am trying to procedurally create a skeletal mesh. I'm trying to call: FStaticLODModel::InitResources, which compiles fine, but then I get a linker error for it being unresolved. According to the docs, this code looks like it's in the engine module, so I've included it (along with several others) in the dependencies list in my Build.cs file. I'm even setting them in both the public and private dependencies to just try and get it working:
Any ideas? :)
asked Oct 19 '16 at 08:02 PM in C++ Programming
Ah, I believe this is actually because the function I'm using isn't prefixed with ENGINE_API. Other methods in that file that are prefixed with it do work. :)
answered Oct 19 '16 at 08:39 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here