# Linker error LNK2019 and LNK2001

**URL:** <https://forums.unrealengine.com/t/linker-error-lnk2019-and-lnk2001/358108>\
**Category:** Platform & Builds\
**Tags:** libraries, build, linker-error, unreal-engine, UE4, CPP, question\
**Created:** [May 21, 2016, 11:42am UTC](https://forums.unrealengine.com/t/linker-error-lnk2019-and-lnk2001/358108 "2016-05-21T11:42:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Muffinlasher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Muffinlasher](https://forums.unrealengine.com/u/Muffinlasher)\
**Post date:** [May 21, 2016, 11:42am UTC](https://forums.unrealengine.com/t/linker-error-lnk2019-and-lnk2001/358108/1 "2016-05-21T11:42:56Z")

</div>

Hi Guys and Girls

I am currently trying to use the Accidental Noise Library and i am getting these errors. It confusing me as it is connecting to the .lib file but to be honest im not totally sure what the error is telling me. I have had a google around and i have not been able to find a resolution as a lot of online forums say to edit the linker setting which we can not so within unreal. Here is the full error i am getting

Creating library D:\Unreal\SpaceWorld\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-SpaceWorld.lib and object D:\Unreal\SpaceWorld\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-SpaceWorld.exp  
2\>SpaceWorldActor.cpp.obj : error LNK2019: unresolved external symbol “\_\_declspec(dllimport) void \_\_cdecl std::\_Debug\_message(wchar\_t const \*,wchar\_t const \*,unsigned int)” (\__imp_?\_Debug\_message@std@@YAXPEB\_W0I@Z) referenced in function “void \_\_cdecl std::\_Debug\_pointer(float \*,wchar\_t const \*,unsigned int)” (??$\_Debug\_pointer@M@std@@YAXPEAMPEB\_WI@Z)  
2\>ANL.lib(vm.obj) : error LNK2001: unresolved external symbol “\_\_declspec(dllimport) void \_\_cdecl std::\_Debug\_message(wchar\_t const \*,wchar\_t const \*,unsigned int)” (\__imp_?\_Debug\_message@std@@YAXPEB\_W0I@Z)  
2\>ANL.lib(kernel.obj) : error LNK2001: unresolved external symbol “\_\_declspec(dllimport) void \_\_cdecl std::\_Debug\_message(wchar\_t const \*,wchar\_t const \*,unsigned int)” (\__imp_?\_Debug\_message@std@@YAXPEB\_W0I@Z)  
2\>ANL.lib(noise\_gen.obj) : error LNK2001: unresolved external symbol “\_\_declspec(dllimport) void \_\_cdecl std::\_Debug\_message(wchar\_t const \*,wchar\_t const \*,unsigned int)” (\__imp_?\_Debug\_message@std@@YAXPEB\_W0I@Z)  
2\>D:\Unreal\SpaceWorld\Binaries\Win64\UE4Editor-SpaceWorld.dll : fatal error LNK1120: 1 unresolved externals  
2\> -------- End Detailed Actions Stats -----------------------------------------------------------  
2\>ERROR : UBT error : Failed to produce item: D:\Unreal\SpaceWorld\Binaries\Win64\UE4Editor-SpaceWorld.dll  
2\> Total build time: 23.77 seconds  
2\>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(42,5): error MSB3075: The command ““D:\Epic Games\4.11\Engine\Build\BatchFiles\Rebuild.bat” SpaceWorldEditor Win64 Development “D:\Unreal\SpaceWorld\SpaceWorld.uproject” -waitmutex -2015” exited with code 5. Please verify that you have sufficient rights to run this command.  
========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========

If anyone has any ideas on how to correct this that would be absolutely amazing.

Thanks in advanced
