gpt4 book ai didi

c++ - 大量 Unresolved external symbol 错误

转载 作者:行者123 更新时间:2023-12-03 06:55:03 27 4
gpt4 key购买 nike

我来这里是因为我的项目有一段时间的问题了......

这是一个在 Visual Studio Express Windows 应用程序下使用 DirectX 11 运行的视频游戏项目。

在功能出现问题后,我想尝试发布版本......但是,回到Debug版本后,发生了一些可怕的事情......

每次尝试编译时,我都会被 Unresolved external symbol 错误淹没。我尝试做的事情都没有成功,比如重新编译、清理等等……我检查了配置,似乎没有任何改变(至少我知道的配置,我仍然不是专家,所以……)

我检查了目录、库,但在这一点上一切似乎都正常......你能帮帮我吗?

所以你可以了解我的问题,这是我的错误......

Severity Code Description Project File Line Suppression State Error LNK2001 unresolved external symbol _Platform_CoCreateFreeThreadedMarshaler@8 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\main.obj 1
Error LNK2001 unresolved external symbol ___Platform_CoCreateFreeThreadedMarshaler@8 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\Texture.obj 1
Error LNK2001 unresolved external symbol ___Platform_CoCreateFreeThreadedMarshaler@8 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(__Platform__CoCreateFreeThreadedMarshaler@8.obj) 1
Error LNK2001 unresolved external symbol ___Platform_CoCreateFreeThreadedMarshaler@8 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\Element.obj 1
Error LNK2001 unresolved external symbol ___Platform_CoCreateFreeThreadedMarshaler@8 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\GameWindow.obj 1
Error LNK2001 unresolved external symbol ___Platform_CoCreateFreeThreadedMarshaler@8 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\LevelEditor.obj 1
Error LNK2019 unresolved external symbol ___Platform_WindowsDeleteString@4 referenced in function "void __cdecl __abi_details::__abi_delete_String(class Platform::String ^)" (?__abi_delete_String@__abi_details@@YAXP$AAVString@Platform@@@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\Element.obj 1
Error LNK2001 unresolved external symbol ___Platform_WindowsDeleteString@4 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\GameWindow.obj 1
Error LNK2001 unresolved external symbol ___Platform_WindowsDeleteString@4 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\LevelEditor.obj 1
Error LNK2001 unresolved external symbol ___Platform_WindowsDeleteString@4 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(__Platform__WindowsDeleteString@4.obj) 1
Error LNK2019 unresolved external symbol ___Platform_WindowsDuplicateString@8 referenced in function "void __cdecl Platform::Details::DuplicateString(struct HSTRING
*,struct HSTRING__ * *)" (?DuplicateString@Details@Platform@@YAXPAUHSTRING__@@PAPAU3@@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\Element.obj 1
Error LNK2001 unresolved external symbol _Platform_WindowsDuplicateString@8 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\GameWindow.obj 1
Error LNK2001 unresolved external symbol ___Platform_WindowsDuplicateString@8 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\LevelEditor.obj 1
Error LNK2001 unresolved external symbol ___Platform_WindowsDuplicateString@8 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(__Platform__WindowsDuplicateString@8.obj) 1
Error LNK2019 unresolved external symbol ___Platform_CoTaskMemAlloc@4 referenced in function "protected: static class Platform::String ^ * __cdecl Platform::WriteOnlyArray::AllocateAndZeroInitialize(unsigned int)" (?AllocateAndZeroInitialize@?$WriteOnlyArray@P$AAVString@Platform@@$00@Platform@@KAPAP$AAVString@2@I@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\Element.obj 1
Error LNK2001 unresolved external symbol ___Platform_CoTaskMemAlloc@4 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\GameWindow.obj 1
Error LNK2001 unresolved external symbol ___Platform_CoTaskMemAlloc@4 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(__Platform__CoTaskMemAlloc@4.obj) 1
Error LNK2019 unresolved external symbol ___Platform_CoTaskMemFree@4 referenced in function "public: static void __cdecl Platform::Details::array_helper::DestructElementsAndFree(class Platform::String ^ *,unsigned int)" (?DestructElementsAndFree@?$array_helper@P$AAVString@Platform@@$0A@@Details@Platform@@SAXPAP$AAVString@3@I@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\Element.obj 1
Error LNK2001 unresolved external symbol ___Platform_CoTaskMemFree@4 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\GameWindow.obj 1
Error LNK2001 unresolved external symbol ___Platform_CoTaskMemFree@4 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(__Platform__CoTaskMemFree@4.obj) 1
Error LNK2019 unresolved external symbol ___Platform_WindowsGetStringRawBuffer@8 referenced in function "public: wchar_t const * __cdecl Platform::String::Data(void)" (?Data@String@Platform@@Q$AAAPB_WXZ) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\GameWindow.obj 1
Error LNK2001 unresolved external symbol ___Platform_WindowsGetStringRawBuffer@8 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\LevelEditor.obj 1
Error LNK2001 unresolved external symbol ___Platform_WindowsGetStringRawBuffer@8 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(__Platform__WindowsGetStringRawBuffer@8.obj) 1
Error LNK2019 unresolved external symbol ___Platform_WindowsGetStringLen@4 referenced in function "public: unsigned int __cdecl Platform::String::Length(void)" (?Length@String@Platform@@Q$AAAIXZ) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\LevelEditor.obj 1
Error LNK2001 unresolved external symbol ___Platform_WindowsGetStringLen@4 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(__Platform__WindowsGetStringLen@4.obj) 1
Error LNK2019 unresolved external symbol ___Platform_WindowsCreateStringReference@16 referenced in function "void __cdecl Platform::Details::CreateStringReference(wchar_t const *,unsigned int,struct __Platform_Details_HSTRING_HEADER *,struct HSTRING
* *)" (?CreateStringReference@Details@Platform@@YAXPB_WIPAU__Platform_Details_HSTRING_HEADER@@PAPAUHSTRING__@@@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\LevelEditor.obj 1
Error LNK2001 unresolved external symbol _Platform_WindowsCreateStringReference@16 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(__Platform__WindowsCreateStringReference@16.obj) 1
Error LNK2019 unresolved external symbol __imp__ReadFile@20 referenced in function "long __cdecl LoadTextureDataFromFile(wchar_t const *,class std::unique_ptr > &,struct DirectX::DDS_HEADER * *,unsigned char * *,unsigned int *)" (?LoadTextureDataFromFile@@YAJPB_WAAV?$unique_ptr@$$BY0A@EU?$default_delete@$$BY0A@E@std@@@std@@PAPAUDDS_HEADER@DirectX@@PAPAEPAI@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\DirectXTK.lib(DDSTextureLoader.obj) 1
Error LNK2019 unresolved external symbol __imp__CreateFile2@20 referenced in function "long __cdecl LoadTextureDataFromFile(wchar_t const *,class std::unique_ptr > &,struct DirectX::DDS_HEADER * *,unsigned char * *,unsigned int *)" (?LoadTextureDataFromFile@@YAJPB_WAAV?$unique_ptr@$$BY0A@EU?$default_delete@$$BY0A@E@std@@@std@@PAPAUDDS_HEADER@DirectX@@PAPAEPAI@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\DirectXTK.lib(DDSTextureLoader.obj) 1
Error LNK2019 unresolved external symbol __imp__CloseHandle@4 referenced in function "public: void __thiscall DirectX::handle_closer::operator()(void *)" (??Rhandle_closer@DirectX@@QAEXPAX@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\DirectXTK.lib(DDSTextureLoader.obj) 1
Error LNK2001 unresolved external symbol __imp__CloseHandle@4 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(thread_safe_statics.obj) 1
Error LNK2019 unresolved external symbol __imp__GetLastError@0 referenced in function "long __cdecl LoadTextureDataFromFile(wchar_t const *,class std::unique_ptr > &,struct DirectX::DDS_HEADER * *,unsigned char * *,unsigned int *)" (?LoadTextureDataFromFile@@YAJPB_WAAV?$unique_ptr@$$BY0A@EU?$default_delete@$$BY0A@E@std@@@std@@PAPAUDDS_HEADER@DirectX@@PAPAEPAI@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\DirectXTK.lib(DDSTextureLoader.obj) 1
Error LNK2001 unresolved external symbol __imp__GetLastError@0 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(pdblkup.obj) 1
Error LNK2019 unresolved external symbol __imp__GetFileInformationByHandleEx@16 referenced in function "long __cdecl LoadTextureDataFromFile(wchar_t const *,class std::unique_ptr > &,struct DirectX::DDS_HEADER * *,unsigned char * *,unsigned int *)" (?LoadTextureDataFromFile@@YAJPB_WAAV?$unique_ptr@$$BY0A@EU?$default_delete@$$BY0A@E@std@@@std@@PAPAUDDS_HEADER@DirectX@@PAPAEPAI@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\DirectXTK.lib(DDSTextureLoader.obj) 1
Error LNK2019 unresolved external symbol __imp__WideCharToMultiByte@32 referenced in function "long __cdecl DirectX::CreateDDSTextureFromFileEx(struct ID3D11Device *,struct ID3D11DeviceContext *,wchar_t const *,unsigned int,enum D3D11_USAGE,unsigned int,unsigned int,unsigned int,bool,struct ID3D11Resource * *,struct ID3D11ShaderResourceView * *,enum DirectX::DDS_ALPHA_MODE *)" (?CreateDDSTextureFromFileEx@DirectX@@YAJPAUID3D11Device@@PAUID3D11DeviceContext@@PB_WIW4D3D11_USAGE@@III_NPAPAUID3D11Resource@@PAPAUID3D11ShaderResourceView@@PAW4DDS_ALPHA_MODE@1@@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\DirectXTK.lib(DDSTextureLoader.obj) 1
Error LNK2001 unresolved external symbol __imp__WideCharToMultiByte@32 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(error.obj) 1
Error LNK2019 unresolved external symbol __imp__DecodePointer@4 referenced in function "bool __cdecl Microsoft::WRL::Details::TerminateMap(class Microsoft::WRL::Details::ModuleBase *,wchar_t const *,bool)" (?TerminateMap@Details@WRL@Microsoft@@YA_NPAVModuleBase@123@PB_W_N@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(init.obj) 1
Error LNK2019 unresolved external symbol __imp__ReleaseSRWLockExclusive@4 referenced in function "public: static void __cdecl Microsoft::WRL::Wrappers::HandleTraits::SRWLockExclusiveTraits::Unlock(struct _RTL_SRWLOCK *)" (?Unlock@SRWLockExclusiveTraits@HandleTraits@Wrappers@WRL@Microsoft@@SAXPAU_RTL_SRWLOCK@@@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(init.obj) 1
Error LNK2019 unresolved external symbol __imp__AcquireSRWLockExclusive@4 referenced in function "public: static class Microsoft::WRL::Wrappers::Details::SyncLockT __cdecl Microsoft::WRL::Wrappers::SRWLock::LockExclusive(struct _RTL_SRWLOCK *)" (?LockExclusive@SRWLock@Wrappers@WRL@Microsoft@@SA?AV?$SyncLockT@USRWLockExclusiveTraits@HandleTraits@Wrappers@WRL@Microsoft@@@Details@234@PAU_RTL_SRWLOCK@@@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(init.obj) 1
Error LNK2019 unresolved external symbol _SetRestrictedErrorInfo@4 referenced in function "void __cdecl Platform::Details::ReportUnhandledError(class Platform::Exception ^)" (?ReportUnhandledError@Details@Platform@@YAXP$AAVException@2@@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(init.obj) 1
Error LNK2019 unresolved external symbol _RoFailFastWithErrorContext@4 referenced in function "void __cdecl Platform::Details::ReportUnhandledError(class Platform::Exception ^)" (?ReportUnhandledError@Details@Platform@@YAXP$AAVException@2@@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(init.obj) 1
Error LNK2019 unresolved external symbol _RoReportUnhandledError@4 referenced in function "void __cdecl Platform::Details::ReportUnhandledError(class Platform::Exception ^)" (?ReportUnhandledError@Details@Platform@@YAXP$AAVException@2@@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(init.obj) 1
Error LNK2019 unresolved external symbol _WindowsCreateString@12 referenced in function "long __stdcall __winRT::__windowsCreateString(wchar_t const *,int,struct HSTRING
* *)" (?windowsCreateString@__winRT@@YGJPB_WHPAPAUHSTRING@@@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(compiler.obj) 1
Error LNK2001 unresolved external symbol _WindowsCreateString@12 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(climain.obj) 1
Error LNK2001 unresolved external symbol _CoCreateFreeThreadedMarshaler@8 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(Platform__CoCreateFreeThreadedMarshaler@8.obj) 1
Error LNK2001 unresolved external symbol _WindowsDeleteString@4 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(__Platform__WindowsDeleteString@4.obj) 1
Error LNK2001 unresolved external symbol _WindowsDeleteString@4 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(climain.obj) 1
Error LNK2001 unresolved external symbol _WindowsDuplicateString@8 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(__Platform__WindowsDuplicateString@8.obj) 1
Error LNK2001 unresolved external symbol _WindowsDuplicateString@8 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(climain.obj) 1
Error LNK2001 unresolved external symbol _CoTaskMemAlloc@4 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(__Platform__CoTaskMemAlloc@4.obj) 1
Error LNK2001 unresolved external symbol _CoTaskMemFree@4 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(__Platform__CoTaskMemFree@4.obj) 1
Error LNK2001 unresolved external symbol _WindowsGetStringRawBuffer@8 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(__Platform__WindowsGetStringRawBuffer@8.obj) 1
Error LNK2001 unresolved external symbol _WindowsGetStringLen@4 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(__Platform__WindowsGetStringLen@4.obj) 1
Error LNK2001 unresolved external symbol _WindowsCreateStringReference@16 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(__Platform__WindowsCreateStringReference@16.obj) 1
Error LNK2019 unresolved external symbol __imp__EnterCriticalSection@4 referenced in function __Init_thread_lock Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(thread_safe_statics.obj) 1
Error LNK2019 unresolved external symbol __imp__LeaveCriticalSection@4 referenced in function __Init_thread_unlock Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(thread_safe_statics.obj) 1
Error LNK2019 unresolved external symbol __imp__InitializeCriticalSectionEx@12 referenced in function "int __cdecl __scrt_initialize_thread_safe_statics(void)" (?__scrt_initialize_thread_safe_statics@@YAHXZ) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(thread_safe_statics.obj) 1
Error LNK2019 unresolved external symbol __imp__DeleteCriticalSection@4 referenced in function "void __cdecl __scrt_uninitialize_thread_safe_statics(void)" (?__scrt_uninitialize_thread_safe_statics@@YAXXZ) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(thread_safe_statics.obj) 1
Error LNK2019 unresolved external symbol __imp__InitializeConditionVariable@4 referenced in function "int __cdecl __scrt_initialize_thread_safe_statics(void)" (?__scrt_initialize_thread_safe_statics@@YAHXZ) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(thread_safe_statics.obj) 1
Error LNK2019 unresolved external symbol __imp__WakeAllConditionVariable@4 referenced in function "int __cdecl __scrt_initialize_thread_safe_statics(void)" (?__scrt_initialize_thread_safe_statics@@YAHXZ) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(thread_safe_statics.obj) 1
Error LNK2019 unresolved external symbol __imp__SleepConditionVariableCS@12 referenced in function "int __cdecl __scrt_initialize_thread_safe_statics(void)" (?__scrt_initialize_thread_safe_statics@@YAHXZ) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(thread_safe_statics.obj) 1
Error LNK2019 unresolved external symbol __imp__SetEvent@4 referenced in function __Init_thread_notify Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(thread_safe_statics.obj) 1
Error LNK2019 unresolved external symbol __imp__ResetEvent@4 referenced in function __Init_thread_notify Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(thread_safe_statics.obj) 1
Error LNK2019 unresolved external symbol __imp__WaitForSingleObjectEx@12 referenced in function __Init_thread_wait Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(thread_safe_statics.obj) 1
Error LNK2001 unresolved external symbol _SleepConditionVariableCS@12 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(thread_safe_statics.obj) 1
Error LNK2001 unresolved external symbol _WakeAllConditionVariable@4 Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(thread_safe_statics.obj) 1
Error LNK2019 unresolved external symbol __imp__IsDebuggerPresent@0 referenced in function "void __cdecl failwithmessage(void *,int,int,char const *)" (?failwithmessage@@YAXPAXHHPBD@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(error.obj) 1
Error LNK2019 unresolved external symbol __imp__RaiseException@16 referenced in function "int __cdecl DebuggerProbe(unsigned long)" (?DebuggerProbe@@YAHK@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(error.obj) 1
Error LNK2019 unresolved external symbol __imp__MultiByteToWideChar@24 referenced in function "void __cdecl failwithmessage(void *,int,int,char const *)" (?failwithmessage@@YAXPAXHHPBD@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(error.obj) 1
Error LNK2019 unresolved external symbol _IsProcessorFeaturePresent@4 referenced in function ___isa_available_init Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(_cpu_disp_.obj) 1
Error LNK2019 unresolved external symbol __imp__RoInitialize@4 referenced in function ___scrt_initialize_winrt Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(utility_app.obj) 1
Error LNK2019 unresolved external symbol __imp__QueryPerformanceCounter@4 referenced in function ___security_init_cookie Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(gs_support.obj) 1
Error LNK2019 unresolved external symbol __imp__GetCurrentProcessId@0 referenced in function ___security_init_cookie Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(gs_support.obj) 1
Error LNK2019 unresolved external symbol __imp__GetCurrentThreadId@0 referenced in function ___security_init_cookie Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(gs_support.obj) 1
Error LNK2019 unresolved external symbol __imp__GetSystemTimeAsFileTime@4 referenced in function ___security_init_cookie Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(gs_support.obj) 1
Error LNK2019 unresolved external symbol __imp__InitializeSListHead@4 referenced in function "void __cdecl __scrt_initialize_type_info(void)" (?__scrt_initialize_type_info@@YAXXZ) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(tncleanup.obj) 1
Error LNK2019 unresolved external symbol __imp__HeapAlloc@12 referenced in function "int __cdecl _RTC_GetSrcLine(unsigned char *,wchar_t *,unsigned long,int *,wchar_t *,unsigned long)" (?_RTC_GetSrcLine@@YAHPAEPA_WKPAH1K@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(pdblkup.obj) 1
Error LNK2019 unresolved external symbol __imp__HeapFree@12 referenced in function "int __cdecl _RTC_GetSrcLine(unsigned char *,wchar_t *,unsigned long,int *,wchar_t *,unsigned long)" (?_RTC_GetSrcLine@@YAHPAEPA_WKPAH1K@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(pdblkup.obj) 1
Error LNK2019 unresolved external symbol __imp__GetProcessHeap@0 referenced in function "int __cdecl _RTC_GetSrcLine(unsigned char *,wchar_t *,unsigned long,int *,wchar_t *,unsigned long)" (?_RTC_GetSrcLine@@YAHPAEPA_WKPAH1K@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(pdblkup.obj) 1
Error LNK2019 unresolved external symbol __imp__VirtualQuery@12 referenced in function "int __cdecl _RTC_GetSrcLine(unsigned char *,wchar_t *,unsigned long,int *,wchar_t *,unsigned long)" (?_RTC_GetSrcLine@@YAHPAEPA_WKPAH1K@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(pdblkup.obj) 1
Error LNK2019 unresolved external symbol __imp__FreeLibrary@4 referenced in function "struct HINSTANCE
* cdecl GetPdbDllFromInstallPath(void)" (?GetPdbDllFromInstallPath@@YAPAUHINSTANCE@@XZ) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(pdblkup.obj) 1
Error LNK2019 unresolved external symbol imp__GetProcAddress@8 referenced in function "struct HINSTANCE * cdecl GetPdbDllFromInstallPath(void)" (?GetPdbDllFromInstallPath@@YAPAUHINSTANCE@@XZ) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\MSVCRTD.lib(pdblkup.obj) 1
Error LNK2019 unresolved external symbol __imp__CoCreateFreeThreadedMarshaler@8 referenced in function "public: long __stdcall __abi_FTMWeakRefData::__abi_QueryInterface(class Platform::Guid &,void * *)" (?__abi_QueryInterface@__abi_FTMWeakRefData@@QAGJAAVGuid@Platform@@PAPAX@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(climain.obj) 1
Error LNK2019 unresolved external symbol __imp__CoTaskMemAlloc@4 referenced in function "protected: static class Platform::String ^ * __cdecl Platform::WriteOnlyArray::AllocateAndZeroInitialize(unsigned int)" (?AllocateAndZeroInitialize@?$WriteOnlyArray@P$AAVString@Platform@@$00@Platform@@KAPAP$AAVString@2@I@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(climain.obj) 1
Error LNK2019 unresolved external symbol __imp__CoTaskMemFree@4 referenced in function "public: static void __cdecl Platform::Details::array_helper::DestructElementsAndFree(class Platform::String ^ *,unsigned int)" (?DestructElementsAndFree@?$array_helper@P$AAVString@Platform@@$0A@@Details@Platform@@SAXPAP$AAVString@3@I@Z) Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Game level editor\vccorlibd.lib(climain.obj) 1
Error LNK1120 60 unresolved externals Game level editor C:\Users\Drake\Documents\Visual Studio 2015\Projects\Game level editor\Debug\Game level editor\Game level editor.exe 1

最佳答案

好吧,似乎一个选项从属性中消失了(属性 > 链接器 > 命令行)。与刚刚创建的项目进行比较后,我注意到“WindowsApp.lib”已经消失了...我将其添加为附加选项并且它再次运行。

好吧,还是谢谢你试图帮助我。 :3

关于c++ - 大量 Unresolved external symbol 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36168193/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com