Hi,
I’ve recently installed PGI Fortran Community Edition 19.4 on my desktop computer, as well as VS 2019 and Windows 10 SDK. Well, first off I have no idea yet on how to integrate PGI Fortran with VS 2019, but I can still try the command line compilation:
$ pgfortran hello.f
where hello.f is the simplest Fortran code one could come up with:
Program Hello
print *, "hello"
End Program Hello
Based on an example given here https://www.pgroup.com/resources/docs/19.7/x86/pgi-user-guide/index.htm:
But I end up getting a quite long list of error messages (see below). What could the problem be?
Thanks in advance.
Fausto
libpgf90.lib(async.obj) : error LNK2019: unresolved external symbol __imp_ReOpenFile referenced in function Fio_asy_open
libpgf90.lib(async.obj) : error LNK2019: unresolved external symbol __imp_ReadFile referenced in function Fio_asy_read
libucrt.lib(ftell.obj) : error LNK2001: unresolved external symbol __imp_ReadFile
libucrt.lib(read.obj) : error LNK2001: unresolved external symbol __imp_ReadFile
libvcruntime.lib(winapi_downlevel.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(argv_wildcards.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(spawnv.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(createprocessa.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(setenvironmentvariablea.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(chsize.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(getlocaleinfoa.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libvcruntime.lib(per_thread_data.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(commit.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(open.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(wctomb.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(initcon.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(mbstowcs.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(winapi_thunks.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(waccess.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(wunlink.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(per_thread_data.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(lseek.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(read.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(free_base.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(osfinfo.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(close.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(signal.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(getmodulefilenamea.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libpgf90.lib(async.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(write.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(access.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libucrt.lib(unlink.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
libpgf90.lib(async.obj) : error LNK2019: unresolved external symbol __imp_WriteFile referenced in function Fio_asy_write
libucrt.lib(write.obj) : error LNK2001: unresolved external symbol __imp_WriteFile
libucrt.lib(report_runtime_error.obj) : error LNK2001: unresolved external symbol __imp_WriteFile
libpgc.lib(init_nt.obj) : error LNK2001: unresolved external symbol __imp_CloseHandle
libucrt.lib(spawnv.obj) : error LNK2001: unresolved external symbol __imp_CloseHandle
libpgf90.lib(async.obj) : error LNK2001: unresolved external symbol __imp_CloseHandle
libucrt.lib(close.obj) : error LNK2001: unresolved external symbol __imp_CloseHandle
libucrt.lib(open.obj) : error LNK2001: unresolved external symbol __imp_CloseHandle
libucrt.lib(initcon.obj) : error LNK2001: unresolved external symbol __imp_CloseHandle
libpgf90.lib(async.obj) : error LNK2019: unresolved external symbol __imp_GetOverlappedResult referenced in function Fio_asy_close
libucrt.lib(assert.obj) : error LNK2019: unresolved external symbol __imp_GetStdHandle referenced in function “void __cdecl common_assert_to_stderr<wchar_t>(wchar_t const * const,wchar_t const * const,unsigned int)” (??$common_assert_to_stderr@_W@@YAXQEB_W0I@Z)
libucrt.lib(report_runtime_error.obj) : error LNK2001: unresolved external symbol __imp_GetStdHandle
libucrt.lib(ioinit.obj) : error LNK2001: unresolved external symbol __imp_GetStdHandle
libucrt.lib(assert.obj) : error LNK2019: unresolved external symbol __imp_GetFileType referenced in function “void __cdecl common_assert_to_stderr<wchar_t>(wchar_t const * const,wchar_t const * const,unsigned int)” (??$common_assert_to_stderr@_W@@YAXQEB_W0I@Z)
libucrt.lib(osfinfo.obj) : error LNK2001: unresolved external symbol __imp_GetFileType
libucrt.lib(ioinit.obj) : error LNK2001: unresolved external symbol __imp_GetFileType
libucrt.lib(open.obj) : error LNK2001: unresolved external symbol __imp_GetFileType
libucrt.lib(assert.obj) : error LNK2019: unresolved external symbol __imp_GetModuleFileNameW referenced in function “void __cdecl common_assert_to_message_box_build_string<wchar_t>(wchar_t * const,unsigned __int64,wchar_t const * const,wchar_t const * const,unsigned int,void * const)” (??$common_assert_to_message_box_build_string@_W@@YAXQEA_W_KQEB_W2IQEAX@Z)
libucrt.lib(report_runtime_error.obj) : error LNK2001: unresolved external symbol __imp_GetModuleFileNameW
libucrt.lib(getmodulefilenamea.obj) : error LNK2001: unresolved external symbol __imp_GetModuleFileNameW
libucrt.lib(argv_parsing.obj) : error LNK2001: unresolved external symbol __imp_GetModuleFileNameW
libucrt.lib(assert.obj) : error LNK2019: unresolved external symbol __imp_GetModuleHandleExW referenced in function “void __cdecl common_assert_to_message_box_build_string(char * const,unsigned __int64,char const * const,char const * const,unsigned int,void * const)” (??$common_assert_to_message_box_build_string@D@@YAXQEAD_KQEBD2IQEAX@Z)
libucrt.lib(exit.obj) : error LNK2001: unresolved external symbol __imp_GetModuleHandleExW
libucrt.lib(assert.obj) : error LNK2019: unresolved external symbol __imp_WriteConsoleW referenced in function “void __cdecl common_assert_to_stderr<wchar_t>(wchar_t const * const,wchar_t const * const,unsigned int)” (??$common_assert_to_stderr@_W@@YAXQEB_W0I@Z)
libucrt.lib(initcon.obj) : error LNK2001: unresolved external symbol __imp_WriteConsoleW
libucrt.lib(write.obj) : error LNK2019: unresolved external symbol __imp_GetConsoleCP referenced in function “struct anonymous namespace'::write_result __cdecl write_double_translated_ansi_nolock(int,char const * const,unsigned int)" (?write_double_translated_ansi_nolock@@YA?AUwrite_result@?A0x17268360@@HQEBDI@Z) libucrt.lib(write.obj) : error LNK2019: unresolved external symbol __imp_GetConsoleMode referenced in function "bool __cdecl write_requires_double_translation_nolock(int)" (?write_requires_double_translation_nolock@@YA_NH@Z) libucrt.lib(read.obj) : error LNK2001: unresolved external symbol __imp_GetConsoleMode libucrt.lib(exit.obj) : error LNK2019: unresolved external symbol __imp_GetCurrentProcess referenced in function "void __cdecl exit_or_terminate_process(unsigned int)" (?exit_or_terminate_process@@YAXI@Z) libucrt.lib(invalid_parameter.obj) : error LNK2001: unresolved external symbol __imp_GetCurrentProcess libcmt.lib(gs_report.obj) : error LNK2001: unresolved external symbol __imp_GetCurrentProcess libucrt.lib(exit.obj) : error LNK2019: unresolved external symbol __imp_ExitProcess referenced in function "void __cdecl exit_or_terminate_process(unsigned int)" (?exit_or_terminate_process@@YAXI@Z) libucrt.lib(exit.obj) : error LNK2019: unresolved external symbol __imp_TerminateProcess referenced in function "void __cdecl exit_or_terminate_process(unsigned int)" (?exit_or_terminate_process@@YAXI@Z) libucrt.lib(invalid_parameter.obj) : error LNK2001: unresolved external symbol __imp_TerminateProcess libcmt.lib(gs_report.obj) : error LNK2001: unresolved external symbol __imp_TerminateProcess libucrt.lib(exit.obj) : error LNK2019: unresolved external symbol __imp_FreeLibrary referenced in function "public: __cdecl __crt_unique_handle_t<struct __crt_hmodule_traits>::~__crt_unique_handle_t<struct __crt_hmodule_traits>(void)" (??1?$__crt_unique_handle_t@U__crt_hmodule_traits@@@@QEAA@XZ) libucrt.lib(winapi_thunks.obj) : error LNK2001: unresolved external symbol __imp_FreeLibrary libvcruntime.lib(winapi_downlevel.obj) : error LNK2001: unresolved external symbol __imp_FreeLibrary libucrt.lib(exit.obj) : error LNK2019: unresolved external symbol __imp_GetModuleHandleW referenced in function "void __cdecl common_exit(int,enum _crt_exit_cleanup_mode,enum _crt_exit_return_mode)" (?common_exit@@YAXHW4_crt_exit_cleanup_mode@@W4_crt_exit_return_mode@@@Z) libcmt.lib(utility_desktop.obj) : error LNK2001: unresolved external symbol __imp_GetModuleHandleW libucrt.lib(exit.obj) : error LNK2019: unresolved external symbol __imp_GetProcAddress referenced in function "void (__cdecl*__cdecl __crt_get_proc_address<void (__cdecl*)(unsigned int)>(struct HINSTANCE__ * const,char const * const))(unsigned int)" (??$__crt_get_proc_address@P6AXI@Z@@YAP6AXI@ZQEAUHINSTANCE__@@QEBD@Z) libucrt.lib(winapi_thunks.obj) : error LNK2001: unresolved external symbol __imp_GetProcAddress libvcruntime.lib(winapi_downlevel.obj) : error LNK2001: unresolved external symbol __imp_GetProcAddress libucrt.lib(clock.obj) : error LNK2019: unresolved external symbol __imp_QueryPerformanceCounter referenced in function __acrt_initialize_clock libcmt.lib(gs_support.obj) : error LNK2001: unresolved external symbol __imp_QueryPerformanceCounter libucrt.lib(clock.obj) : error LNK2019: unresolved external symbol __imp_QueryPerformanceFrequency referenced in function __acrt_initialize_clock libucrt.lib(osfinfo.obj) : error LNK2019: unresolved external symbol __imp_SetStdHandle referenced in function __acrt_lowio_set_os_handle libucrt.lib(osfinfo.obj) : error LNK2019: unresolved external symbol __imp_EnterCriticalSection referenced in function __acrt_lowio_lock_fh libucrt.lib(_file.obj) : error LNK2001: unresolved external symbol __imp_EnterCriticalSection libucrt.lib(locks.obj) : error LNK2001: unresolved external symbol __imp_EnterCriticalSection libvcruntime.lib(locks.obj) : error LNK2001: unresolved external symbol __imp_EnterCriticalSection libucrt.lib(osfinfo.obj) : error LNK2019: unresolved external symbol __imp_LeaveCriticalSection referenced in function __acrt_lowio_unlock_fh libucrt.lib(_file.obj) : error LNK2001: unresolved external symbol __imp_LeaveCriticalSection libucrt.lib(locks.obj) : error LNK2001: unresolved external symbol __imp_LeaveCriticalSection libvcruntime.lib(locks.obj) : error LNK2001: unresolved external symbol __imp_LeaveCriticalSection libvcruntime.lib(locks.obj) : error LNK2001: unresolved external symbol __imp_DeleteCriticalSection libucrt.lib(osfinfo.obj) : error LNK2001: unresolved external symbol __imp_DeleteCriticalSection libucrt.lib(_file.obj) : error LNK2001: unresolved external symbol __imp_DeleteCriticalSection libucrt.lib(locks.obj) : error LNK2001: unresolved external symbol __imp_DeleteCriticalSection libucrt.lib(closeall.obj) : error LNK2001: unresolved external symbol __imp_DeleteCriticalSection libucrt.lib(signal.obj) : error LNK2019: unresolved external symbol __imp_SetConsoleCtrlHandler referenced in function signal libucrt.lib(invalid_parameter.obj) : error LNK2019: unresolved external symbol __imp_RtlCaptureContext referenced in function "void __cdecl capture_current_context(struct _CONTEXT * const)" (?capture_current_context@@YAXQEAU_CONTEXT@@@Z) libcmt.lib(utility_desktop.obj) : error LNK2001: unresolved external symbol __imp_RtlCaptureContext libcmt.lib(gs_report.obj) : error LNK2001: unresolved external symbol __imp_RtlCaptureContext libucrt.lib(invalid_parameter.obj) : error LNK2019: unresolved external symbol __imp_RtlLookupFunctionEntry referenced in function "void __cdecl capture_current_context(struct _CONTEXT * const)" (?capture_current_context@@YAXQEAU_CONTEXT@@@Z) libcmt.lib(utility_desktop.obj) : error LNK2001: unresolved external symbol __imp_RtlLookupFunctionEntry libcmt.lib(gs_report.obj) : error LNK2001: unresolved external symbol __imp_RtlLookupFunctionEntry libvcruntime.lib(risctrnsctrl.obj) : error LNK2001: unresolved external symbol __imp_RtlLookupFunctionEntry libucrt.lib(invalid_parameter.obj) : error LNK2019: unresolved external symbol __imp_RtlVirtualUnwind referenced in function "void __cdecl capture_current_context(struct _CONTEXT * const)" (?capture_current_context@@YAXQEAU_CONTEXT@@@Z) libcmt.lib(utility_desktop.obj) : error LNK2001: unresolved external symbol __imp_RtlVirtualUnwind libcmt.lib(gs_report.obj) : error LNK2001: unresolved external symbol __imp_RtlVirtualUnwind libucrt.lib(invalid_parameter.obj) : error LNK2019: unresolved external symbol __imp_IsDebuggerPresent referenced in function __acrt_call_reportfault libucrt.lib(crtmbox.obj) : error LNK2001: unresolved external symbol __imp_IsDebuggerPresent libcmt.lib(utility_desktop.obj) : error LNK2001: unresolved external symbol __imp_IsDebuggerPresent libucrt.lib(invalid_parameter.obj) : error LNK2019: unresolved external symbol __imp_UnhandledExceptionFilter referenced in function __acrt_call_reportfault libcmt.lib(utility_desktop.obj) : error LNK2001: unresolved external symbol __imp_UnhandledExceptionFilter libcmt.lib(gs_report.obj) : error LNK2001: unresolved external symbol __imp_UnhandledExceptionFilter libucrt.lib(invalid_parameter.obj) : error LNK2019: unresolved external symbol __imp_SetUnhandledExceptionFilter referenced in function __acrt_call_reportfault libcmt.lib(utility_desktop.obj) : error LNK2001: unresolved external symbol __imp_SetUnhandledExceptionFilter libcmt.lib(gs_report.obj) : error LNK2001: unresolved external symbol __imp_SetUnhandledExceptionFilter libucrt.lib(invalid_parameter.obj) : error LNK2019: unresolved external symbol __imp_IsProcessorFeaturePresent referenced in function _invoke_watson libucrt.lib(abort.obj) : error LNK2001: unresolved external symbol __imp_IsProcessorFeaturePresent libucrt.lib(crtmbox.obj) : error LNK2019: unresolved external symbol __imp_OutputDebugStringW referenced in function "int __cdecl common_show_message_box<wchar_t>(wchar_t const * const,wchar_t const * const,unsigned int)" (??$common_show_message_box@_W@@YAHQEB_W0I@Z) libucrt.lib(outputdebugstringa.obj) : error LNK2001: unresolved external symbol __imp_OutputDebugStringW libucrt.lib(ioinit.obj) : error LNK2019: unresolved external symbol __imp_GetStartupInfoW referenced in function "void __cdecl initialize_inherited_file_handles_nolock(void)" (?initialize_inherited_file_handles_nolock@@YAXXZ) libcmt.lib(utility_desktop.obj) : error LNK2001: unresolved external symbol __imp_GetStartupInfoW libucrt.lib(per_thread_data.obj) : error LNK2019: unresolved external symbol __imp_SetLastError referenced in function "public: __cdecl __crt_scoped_get_last_error_reset::~__crt_scoped_get_last_error_reset(void)" (??1__crt_scoped_get_last_error_reset@@QEAA@XZ) libvcruntime.lib(per_thread_data.obj) : error LNK2001: unresolved external symbol __imp_SetLastError libucrt.lib(per_thread_data.obj) : error LNK2019: unresolved external symbol __imp_GetCurrentThread referenced in function __threadhandle libpgc.lib(setaff.obj) : error LNK2001: unresolved external symbol __imp_GetCurrentThread libucrt.lib(per_thread_data.obj) : error LNK2019: unresolved external symbol __imp_GetCurrentThreadId referenced in function __threadid libcmt.lib(gs_support.obj) : error LNK2001: unresolved external symbol __imp_GetCurrentThreadId libpgc.lib(init_nt.obj) : error LNK2001: unresolved external symbol __imp_GetCurrentThreadId libucrt.lib(widechartomultibyte.obj) : error LNK2019: unresolved external symbol __imp_WideCharToMultiByte referenced in function __acrt_WideCharToMultiByte libucrt.lib(lseek.obj) : error LNK2019: unresolved external symbol __imp_SetFilePointerEx referenced in function "long __cdecl common_lseek_nolock<long>(int,long,int)" (??$common_lseek_nolock@J@@YAJHJH@Z) libucrt.lib(_flsbuf.obj) : error LNK2001: unresolved external symbol __imp_SetFilePointerEx libucrt.lib(read.obj) : error LNK2019: unresolved external symbol __imp_ReadConsoleW referenced in function _read_nolock libucrt.lib(calloc_base.obj) : error LNK2019: unresolved external symbol __imp_HeapAlloc referenced in function _calloc_base libucrt.lib(malloc_base.obj) : error LNK2001: unresolved external symbol __imp_HeapAlloc libucrt.lib(free_base.obj) : error LNK2019: unresolved external symbol __imp_HeapFree referenced in function _free_base libucrt.lib(multibytetowidechar.obj) : error LNK2019: unresolved external symbol __imp_MultiByteToWideChar referenced in function __acrt_MultiByteToWideChar libucrt.lib(mbctype.obj) : error LNK2019: unresolved external symbol __imp_IsValidCodePage referenced in function _setmbcp_nolock libucrt.lib(get_qualified_locale.obj) : error LNK2001: unresolved external symbol __imp_IsValidCodePage libucrt.lib(getqloc_downlevel.obj) : error LNK2001: unresolved external symbol __imp_IsValidCodePage libucrt.lib(mbctype.obj) : error LNK2019: unresolved external symbol __imp_GetACP referenced in function "int __cdecl getSystemCP(int)" (?getSystemCP@@YAHH@Z) libucrt.lib(get_qualified_locale.obj) : error LNK2001: unresolved external symbol __imp_GetACP libucrt.lib(getqloc_downlevel.obj) : error LNK2001: unresolved external symbol __imp_GetACP libucrt.lib(mbctype.obj) : error LNK2019: unresolved external symbol __imp_GetOEMCP referenced in function "int __cdecl getSystemCP(int)" (?getSystemCP@@YAHH@Z) libucrt.lib(mbctype.obj) : error LNK2019: unresolved external symbol __imp_GetCPInfo referenced in function "void __cdecl setSBUpLow(struct __crt_multibyte_data *)" (?setSBUpLow@@YAXPEAU__crt_multibyte_data@@@Z) libucrt.lib(comparestringa.obj) : error LNK2001: unresolved external symbol __imp_GetCPInfo libucrt.lib(initctype.obj) : error LNK2001: unresolved external symbol __imp_GetCPInfo libucrt.lib(get_environment_from_os.obj) : error LNK2019: unresolved external symbol __imp_GetEnvironmentStringsW referenced in function __dcrt_get_narrow_environment_from_os libucrt.lib(get_environment_from_os.obj) : error LNK2019: unresolved external symbol __imp_FreeEnvironmentStringsW referenced in function "public: __cdecl __crt_unique_handle_t<struct
anonymous namespace’::environment_strings_traits>::~__crt_unique_handle_t<struct anonymous namespace'::environment_strings_traits>(void)" (??1?$__crt_unique_handle_t@Uenvironment_strings_traits@?A0x1bf47908@@@@QEAA@XZ) libucrt.lib(setenv.obj) : error LNK2019: unresolved external symbol __imp_SetEnvironmentVariableW referenced in function "int __cdecl common_set_variable_in_environment_nolock<wchar_t>(wchar_t * const,int)" (??$common_set_variable_in_environment_nolock@_W@@YAHQEA_WH@Z) libucrt.lib(setenvironmentvariablea.obj) : error LNK2001: unresolved external symbol __imp_SetEnvironmentVariableW libucrt.lib(realloc_base.obj) : error LNK2019: unresolved external symbol __imp_HeapReAlloc referenced in function _realloc_base libucrt.lib(winapi_thunks.obj) : error LNK2019: unresolved external symbol __imp_InitializeCriticalSectionAndSpinCount referenced in function __acrt_InitializeCriticalSectionEx libvcruntime.lib(winapi_downlevel.obj) : error LNK2001: unresolved external symbol __imp_InitializeCriticalSectionAndSpinCount libucrt.lib(winapi_thunks.obj) : error LNK2019: unresolved external symbol __imp_TlsAlloc referenced in function __acrt_FlsAlloc libvcruntime.lib(winapi_downlevel.obj) : error LNK2001: unresolved external symbol __imp_TlsAlloc libucrt.lib(winapi_thunks.obj) : error LNK2019: unresolved external symbol __imp_TlsGetValue referenced in function __acrt_FlsGetValue libvcruntime.lib(winapi_downlevel.obj) : error LNK2001: unresolved external symbol __imp_TlsGetValue libucrt.lib(winapi_thunks.obj) : error LNK2019: unresolved external symbol __imp_TlsSetValue referenced in function __acrt_FlsSetValue libvcruntime.lib(winapi_downlevel.obj) : error LNK2001: unresolved external symbol __imp_TlsSetValue libucrt.lib(winapi_thunks.obj) : error LNK2019: unresolved external symbol __imp_TlsFree referenced in function __acrt_FlsFree libvcruntime.lib(winapi_downlevel.obj) : error LNK2001: unresolved external symbol __imp_TlsFree libucrt.lib(winapi_thunks.obj) : error LNK2019: unresolved external symbol __imp_GetSystemTimeAsFileTime referenced in function __acrt_GetSystemTimePreciseAsFileTime libcmt.lib(gs_support.obj) : error LNK2001: unresolved external symbol __imp_GetSystemTimeAsFileTime libucrt.lib(winapi_thunks.obj) : error LNK2019: unresolved external symbol __imp_LoadLibraryExW referenced in function "struct HINSTANCE__ * __cdecl try_get_first_available_module(enum
anonymous namespace’::module_id const * const,enum anonymous namespace'::module_id const * const)" (?try_get_first_available_module@@YAPEAUHINSTANCE__@@QEBW4module_id@?A0x391cf84c@@0@Z) libvcruntime.lib(winapi_downlevel.obj) : error LNK2001: unresolved external symbol __imp_LoadLibraryExW libucrt.lib(winapi_thunks.obj) : error LNK2019: unresolved external symbol __imp_GetDateFormatW referenced in function __acrt_GetDateFormatEx libucrt.lib(winapi_thunks.obj) : error LNK2019: unresolved external symbol __imp_GetTimeFormatW referenced in function __acrt_GetTimeFormatEx libucrt.lib(winapi_thunks.obj) : error LNK2019: unresolved external symbol __imp_CompareStringW referenced in function __acrt_CompareStringEx libucrt.lib(winapi_thunks.obj) : error LNK2019: unresolved external symbol __imp_LCMapStringW referenced in function __acrt_LCMapStringEx libucrt.lib(winapi_thunks.obj) : error LNK2019: unresolved external symbol __imp_GetLocaleInfoW referenced in function __acrt_GetLocaleInfoEx libucrt.lib(getqloc_downlevel.obj) : error LNK2001: unresolved external symbol __imp_GetLocaleInfoW libucrt.lib(winapi_thunks.obj) : error LNK2019: unresolved external symbol __imp_IsValidLocale referenced in function __acrt_IsValidLocaleName libucrt.lib(getqloc_downlevel.obj) : error LNK2001: unresolved external symbol __imp_IsValidLocale libucrt.lib(winapi_thunks.obj) : error LNK2019: unresolved external symbol __imp_GetUserDefaultLCID referenced in function __acrt_GetUserDefaultLocaleName libucrt.lib(getqloc_downlevel.obj) : error LNK2001: unresolved external symbol __imp_GetUserDefaultLCID libucrt.lib(winapi_thunks.obj) : error LNK2019: unresolved external symbol __imp_EnumSystemLocalesW referenced in function "public: int __cdecl __crt_seh_guarded_call<int>::operator()<class <lambda_48fc4a32460bb0512d3b13f8499328be>,class <lambda_6c3dac0a4f3f9cefca9bb494422f9b77> &,class <lambda_0a2f2c9f9a56eb2b08bfa6ff61d331c5> >(class <lambda_48fc4a32460bb0512d3b13f8499328be> &&,class <lambda_6c3dac0a4f3f9cefca9bb494422f9b77> &,class <lambda_0a2f2c9f9a56eb2b08bfa6ff61d331c5> &&)" (??$?RV<lambda_48fc4a32460bb0512d3b13f8499328be>@@AEAV<lambda_6c3dac0a4f3f9cefca9bb494422f9b77>@@V<lambda_0a2f2c9f9a56eb2b08bfa6ff61d331c5>@@@?$__crt_seh_guarded_call@H@@QEAAH$$QEAV<lambda_48fc4a32460bb0512d3b13f8499328be>@@AEAV<lambda_6c3dac0a4f3f9cefca9bb494422f9b77>@@$$QEAV<lambda_0a2f2c9f9a56eb2b08bfa6ff61d331c5>@@@Z) libucrt.lib(getqloc_downlevel.obj) : error LNK2001: unresolved external symbol __imp_EnumSystemLocalesW libucrt.lib(waccess.obj) : error LNK2019: unresolved external symbol __imp_GetFileAttributesExW referenced in function _waccess_s libucrt.lib(wunlink.obj) : error LNK2019: unresolved external symbol __imp_DeleteFileW referenced in function _wremove libucrt.lib(commit.obj) : error LNK2019: unresolved external symbol __imp_FlushFileBuffers referenced in function "public: int __cdecl __crt_seh_guarded_call<int>::operator()<class <lambda_a37b2b86f63e897a80ea819b0eb08c01>,class <lambda_38ce7e780aa69e748d6df282ebc68efe> &,class <lambda_99fb1378e971ab6e7edea83e3a7a83a2> >(class <lambda_a37b2b86f63e897a80ea819b0eb08c01> &&,class <lambda_38ce7e780aa69e748d6df282ebc68efe> &,class <lambda_99fb1378e971ab6e7edea83e3a7a83a2> &&)" (??$?RV<lambda_a37b2b86f63e897a80ea819b0eb08c01>@@AEAV<lambda_38ce7e780aa69e748d6df282ebc68efe>@@V<lambda_99fb1378e971ab6e7edea83e3a7a83a2>@@@?$__crt_seh_guarded_call@H@@QEAAH$$QEAV<lambda_a37b2b86f63e897a80ea819b0eb08c01>@@AEAV<lambda_38ce7e780aa69e748d6df282ebc68efe>@@$$QEAV<lambda_99fb1378e971ab6e7edea83e3a7a83a2>@@@Z) libucrt.lib(tzset.obj) : error LNK2019: unresolved external symbol __imp_GetTimeZoneInformation referenced in function "void __cdecl tzset_from_system_nolock(void)" (?tzset_from_system_nolock@@YAXXZ) libucrt.lib(open.obj) : error LNK2019: unresolved external symbol __imp_CreateFileW referenced in function "void * __cdecl create_file(wchar_t const * const,struct _SECURITY_ATTRIBUTES * const,struct
anonymous namespace’::file_options)” (?create_file@@YAPEAXQEB_WQEAU_SECURITY_ATTRIBUTES@@Ufile_options@?A0xa9d50aae@@@Z)
libucrt.lib(initcon.obj) : error LNK2001: unresolved external symbol __imp_CreateFileW
libucrt.lib(getstringtypea.obj) : error LNK2019: unresolved external symbol __imp_GetStringTypeW referenced in function __acrt_GetStringTypeA
libucrt.lib(getstringtypew.obj) : error LNK2001: unresolved external symbol __imp_GetStringTypeW
libucrt.lib(heap_handle.obj) : error LNK2019: unresolved external symbol __imp_GetProcessHeap referenced in function __acrt_initialize_heap
libucrt.lib(chsize.obj) : error LNK2019: unresolved external symbol __imp_SetEndOfFile referenced in function _chsize_nolock
libucrt.lib(_flsbuf.obj) : error LNK2019: unresolved external symbol __imp_GetFileSizeEx referenced in function “bool __cdecl stream_is_at_end_of_file_nolock(class __crt_stdio_stream)” (?stream_is_at_end_of_file_nolock@@YA_NV__crt_stdio_stream@@@Z)
libucrt.lib(msize.obj) : error LNK2019: unresolved external symbol __imp_HeapSize referenced in function _msize_base
libucrt.lib(fpexcept.obj) : error LNK2019: unresolved external symbol __imp_RaiseException referenced in function _raise_exc_ex
libvcruntime.lib(frame.obj) : error LNK2001: unresolved external symbol __imp_RaiseException
libvcruntime.lib(throw.obj) : error LNK2001: unresolved external symbol __imp_RaiseException
libcmt.lib(utility_desktop.obj) : error LNK2019: unresolved external symbol IsProcessorFeaturePresent referenced in function __scrt_fastfail
libcmt.lib(gs_report.obj) : error LNK2001: unresolved external symbol IsProcessorFeaturePresent
libcmt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp_GetCurrentProcessId referenced in function __get_entropy
libucrt.lib(getpid.obj) : error LNK2001: unresolved external symbol __imp_GetCurrentProcessId
libucrt.lib(tmpfile.obj) : error LNK2001: unresolved external symbol __imp_GetCurrentProcessId
libcmt.lib(tncleanup.obj) : error LNK2019: unresolved external symbol __imp_InitializeSListHead referenced in function “void __cdecl __scrt_initialize_type_info(void)” (?__scrt_initialize_type_info@@YAXXZ)
libpgc.lib(init_nt.obj) : error LNK2019: unresolved external symbol __imp_CreateThread referenced in function _mp_pcpu_start
libpgc.lib(setaff.obj) : error LNK2019: unresolved external symbol __imp_SetThreadAffinityMask referenced in function _mp_setaff
libvcruntime.lib(riscchandler.obj) : error LNK2019: unresolved external symbol __imp_RtlUnwindEx referenced in function __C_specific_handler
libvcruntime.lib(risctrnsctrl.obj) : error LNK2001: unresolved external symbol __imp_RtlUnwindEx
libvcruntime.lib(jmpuwind.obj) : error LNK2019: unresolved external symbol __imp_RtlUnwind referenced in function _local_unwind
libvcruntime.lib(std_type_info.obj) : error LNK2019: unresolved external symbol __imp_InterlockedPushEntrySList referenced in function __std_type_info_name
libvcruntime.lib(std_type_info.obj) : error LNK2019: unresolved external symbol __imp_InterlockedFlushSList referenced in function __std_type_info_destroy_list
libvcruntime.lib(frame.obj) : error LNK2019: unresolved external symbol __imp_EncodePointer referenced in function “void __cdecl FindHandlerForForeignException(struct EHExceptionRecord *,unsigned __int64 *,struct _CONTEXT *,struct _xDISPATCHER_CONTEXT *,struct _s_FuncInfo const *,int,int,unsigned __int64 *)” (??$FindHandlerForForeignException@V__FrameHandler3@@@@YAXPEAUEHExceptionRecord@@PEA_KPEAU_CONTEXT@@PEAU_xDISPATCHER_CONTEXT@@PEBU_s_FuncInfo@@HH1@Z)
libvcruntime.lib(throw.obj) : error LNK2019: unresolved external symbol __imp_RtlPcToFileHeader referenced in function _CxxThrowException
libucrt.lib(argv_data.obj) : error LNK2019: unresolved external symbol __imp_GetCommandLineA referenced in function __acrt_initialize_command_line
libucrt.lib(argv_data.obj) : error LNK2019: unresolved external symbol __imp_GetCommandLineW referenced in function __acrt_initialize_command_line
libucrt.lib(slbeep.obj) : error LNK2019: unresolved external symbol __imp_Beep referenced in function _beep
libucrt.lib(slbeep.obj) : error LNK2019: unresolved external symbol __imp_Sleep referenced in function _sleep
libucrt.lib(argv_wildcards.obj) : error LNK2019: unresolved external symbol __imp_FindClose referenced in function “int __cdecl common_expand_argv_wildcards<wchar_t>(wchar_t * * const,wchar_t * * * const)” (??$common_expand_argv_wildcards@_W@@YAHQEAPEA_WQEAPEAPEA_W@Z)
libucrt.lib(argv_wildcards.obj) : error LNK2019: unresolved external symbol __imp_FindFirstFileExW referenced in function “int __cdecl common_expand_argv_wildcards<wchar_t>(wchar_t * * const,wchar_t * * * const)” (??$common_expand_argv_wildcards@_W@@YAHQEAPEA_WQEAPEAPEA_W@Z)
libucrt.lib(argv_wildcards.obj) : error LNK2019: unresolved external symbol __imp_FindNextFileW referenced in function “int __cdecl common_expand_argv_wildcards<wchar_t>(wchar_t * * const,wchar_t * * * const)” (??$common_expand_argv_wildcards@_W@@YAHQEAPEA_WQEAPEAPEA_W@Z)
libucrt.lib(spawnv.obj) : error LNK2019: unresolved external symbol __imp_WaitForSingleObject referenced in function “__int64 __cdecl execute_command(int,char const * const,char const * const * const,char const * const * const)” (??$execute_command@D@@YA_JHQEBDQEBQEBD1@Z)
libucrt.lib(spawnv.obj) : error LNK2019: unresolved external symbol __imp_GetExitCodeProcess referenced in function “__int64 __cdecl execute_command(int,char const * const,char const * const * const,char const * const * const)” (??$execute_command@D@@YA_JHQEBDQEBQEBD1@Z)
libucrt.lib(spawnv.obj) : error LNK2019: unresolved external symbol __imp_CreateProcessW referenced in function “public: static int __cdecl __crt_char_traits<wchar_t>::create_process<wchar_t *,wchar_t *,std::nullptr_t,std::nullptr_t,int,unsigned long &,wchar_t *,std::nullptr_t,struct _STARTUPINFOW *,struct _PROCESS_INFORMATION *>(wchar_t * &&,wchar_t * &&,std::nullptr_t &&,std::nullptr_t &&,int &&,unsigned long &,wchar_t * &&,std::nullptr_t &&,struct _STARTUPINFOW * &&,struct _PROCESS_INFORMATION * &&)” (??$create_process@PEA_WPEA_W$$T$$THAEAKPEA_W$$TPEAU_STARTUPINFOW@@PEAU_PROCESS_INFORMATION@@@?$__crt_char_traits@_W@@SAH$$QEAPEA_W0$$QEA$$T1$$QEAHAEAK01$$QEAPEAU_STARTUPINFOW@@$$QEAPEAU_PROCESS_INFORMATION@@@Z)
libucrt.lib(createprocessa.obj) : error LNK2001: unresolved external symbol __imp_CreateProcessW
libucrt.lib(tmpfile.obj) : error LNK2019: unresolved external symbol __imp_GetTempPathW referenced in function “public: static unsigned long __cdecl __crt_char_traits<wchar_t>::get_temp_path<unsigned long,wchar_t * const &>(unsigned long &&,wchar_t * const &)” (??$get_temp_path@KAEBQEA_W@?$__crt_char_traits@_W@@SAK$$QEAKAEBQEA_W@Z)
libucrt.lib(gettemppath.obj) : error LNK2001: unresolved external symbol __imp_GetTempPathW
kernel32.lib : warning LNK4272: library machine type ‘x86’ conflicts with target machine type ‘x64’
hello.exe : fatal error LNK1120: 100 unresolved externals