Linking a program to target SLikeNetDLL and #include "slikenet/peer.h" results in
LNK2019 unresolved external symbol "public: __cdecl SLNet::BPSTracker::TimeAndValue2::~TimeAndValue2(void)" (??1TimeAndValue2@BPSTracker@SLNet@@QEAA@XZ) referenced in function "public: void * __cdecl SLNet::BPSTracker::TimeAndValue2::`vector deleting destructor'(unsigned int)" (??_ETimeAndValue2@BPSTracker@SLNet@@QEAAPEAXI@Z)
SLikeNetLibStatic on the other hand seems to have no problems.
I tested under Windows 10 and Visual Studio 2019.
My thought was that this was a problem with vcpkg but that is not the case. Maybe the issue there results in more infos so I leave it here.
Linking a program to target
SLikeNetDLLand#include "slikenet/peer.h"results inSLikeNetLibStaticon the other hand seems to have no problems.I tested under Windows 10 and Visual Studio 2019.
My thought was that this was a problem with vcpkg but that is not the case. Maybe the issue there results in more infos so I leave it here.