LNK2001 error in C++ Project Build

Asked

Viewed 79 times

1

I’m trying to build a project in Visual Studio and this error is appearing:

Severity    Code    Description Project File    Line    Suppression State
Error   LNK2001 unresolved external symbol "class CPSock ListenSocket" (?ListenSocket@@3VCPSock@@A) TMSrv   C:\Users\Hudson\Documents\Visual Studio 2015\Projects\W2PP\Code\TMSrv\Server.obj    1   

Severity    Code    Description Project File    Line    Suppression State
Error   LNK1120 1 unresolved externals  TMSrv   C:\Users\Hudson\Documents\Visual Studio 2015\Projects\W2PP\Build\Debug\Server\TMSrv\run\TMSrv.exe   1   

Does anyone know what it can be ?

1 answer

2


Some implementation files are missing, apparently from the Cpsock::Listensocket class, and from Tmsrv, which may be an external variable or a function.

Either files are missing from the compilation, or link-edit.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.