Dealing with Linker Errors?

Ok, so I ran into unresolved references once again. This time I’m trying to use a struct called FAlphaBlend. I need it to write a custom blend-node for the AnimGraph.

I included AlphaBlend.h and checked on the API-website what module I need. As far as I can tell, it should all be in “Engine” which is already in my build.cs file.

Any ideas please?

Please help, I’m completely stuck. How can I use FAlphaBlend’s member functions without getting linker errors? :frowning:

This looks like it’ll be fixed in 4.11

In 4.10 it’s defined like struct FAlphaBlend https://github.com/EpicGames/UnrealEngine/blob/4.10/Engine/Source/Runtime/Engine/Public/AlphaBlend.h

In 4.11 it’s defined like struct ENGINE_API FAlphaBlend https://github.com/EpicGames/UnrealEngine/blob/4.11/Engine/Source/Runtime/Engine/Public/AlphaBlend.h

If you’re working with the source you can add the changes or just wait it out a bit for the 4.11 release.

Thanks a bunch. Self-solving problems are the best :slight_smile:

I can work on other things in the meantime.

Does that mean that any engine-struct/class that lacks some kind of API-definition will cause linker errors? Just so I know next time…

No worries! Hope I’m right!. If not let us know.

I believe so. I haven’t done too much with this but I had a same problem a while back.

https://docs.unrealengine.com/latest/INT/Programming/Modules/API/index.html