Read OSC messages FOSCMessage

Hello all,

I’m trying to use the new OSC plugin in my c++ project. I’ve been able to set up my server and have a working receiving event but I’m having trouble reading the message. Currently I’m trying to use the FOSCStream object like this:

void AOSCActorServer::HandleOSCMessage(const FOSCAddress & AddressPattern, const FOSCMessage & Message)
FOSCStream Stream;

However doing so gives me a linking compile error:

CompilerResultsLog: Error: OSCActorServer.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl FOSCStream::FOSCStream(void)" (??0FOSCStream@@QEAA@XZ) referenced in function "protected: void __cdecl AOSCActorServer::HandleOSCMessage(struct FOSCAddress const &,struct FOSCMessage const &)" (?HandleOSCMessage@AOSCActorServer@@IEAAXAEBUFOSCAddre
CompilerResultsLog: Error: C:\Users\jnoonan\Documents\Unreal Projects
DisplayTest\Binaries\Win64\UE4Editor-nDisplayTest-5121.dll : fatal error LNK1120: 1 unresolved externals

I believe I have correctly included the plugin into my build as everything else works, and using Blueprints also works. Does anyone have any advice on receiving messages using c++ OSC?


FOSCStream is not exported OSC_API.


class FOSCStream // --> class OSC_API FOSCStream ???

Thanks for the response @empty2fill. I tried this but couldn’t figure out how to recompile the plugin. I rebuilt my solution but I don’t think that affects the engine. What do I do to recompile the engine plugins?