Top "Lnk2001" questions

LNK2001 is a common Visual Studio linker error condition indicating that the linker is unable to locate or find the symbol being referenced.

Linker error when calling a C function from C++ code in different VS2010 project

I'm trying to include some C code I found in our C++ project. The function is defined like this in …

c++ c visual-studio-2010 extern lnk2001
When using fstream in a library I get linker errors in the executable

When I add #include <fstream> and try to use std::ifstream (i.e. std::ifstream ifile(pDest)) in …

c++ visual-c++ lnk2019 lnk2001
Linking error LNK2001: unresolved external symbol (Visual Studio 2008)

I have 3 linking errors where I cannot get rid off. I have defined some static public class constants of an …

c++ linker-errors unresolved-external lnk2001
error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __thiscall QString::operator=(class QString &&)"

I'm desperate about finding any information about the mentioned error. I'm working on visual studio 2010. When I compile my project (…

c++ visual-studio-2010 qstring lnk2001
LNK2001 and LNK2019 errors - DirectX unresolved external symbols

I am following along with the book "Introduction to 3D Game Programming with DirectX11" by Frank D. Luna. And I …

c++ directx linker-errors lnk2019 lnk2001