Skip to content

Dll link error #66

Description

@Reveares

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions