Linker error LNK2019 and LNK2001

Muffinlasher
Sat, 21 May 2016 11:42:56 +0000
Platform & Builds

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

1 post - 1 participant