poco icon indicating copy to clipboard operation
poco copied to clipboard

unresolved external symbol _guard_check_icall_$fo$

Open htartisan opened this issue 1 year ago • 3 comments

Describe the bug While trying to build the "Foundation" libraries (all) using the MS Visual Studio 2019 compiler, I encountered the following error for 4 of the library versions:

libucrtd.lib(checkcfg.obj) : error LNK2001: unresolved external symbol guard_check_icall$fo$ bin64\static_mt\TestAppd.exe : fatal error LNK1120: 1 unresolved externals

To Reproduce Copy the latest Poco libraries (all) to a source folder. Go the the "CppUint" folder and load the "CppUnit_vs160.sln" solution file with MS Visual Studio 2019. Go to the Build->Batch Build dialog, select all output targets, and press the "build" button. Go the the "Foundation" folder and load the "Foundation_vs160.sln" solution file with MS Visual Studio 2019. Go to the Build->Batch Build dialog, select all output targets, and press the "build" button.

Expected behavior All output binaries should build without errors.

Logs ------ Rebuild All started: Project: TestApp, Configuration: debug_static_mt x64 ------ TestApp.cpp libucrtd.lib(checkcfg.obj) : error LNK2001: unresolved external symbol guard_check_icall$fo$ bin64\static_mt\TestAppd.exe : fatal error LNK1120: 1 unresolved externals Done building project "TestApp_vs160.vcxproj" -- FAILED.

Screenshots If applicable, add screenshots to help explain your problem.

Please add relevant environment information:

  • OS Type and Version: Windows 11
  • POCO Version: 1.13.3
  • Third-party product (eg. database or library) type and version

Additional context Add any other context about the problem here.

htartisan avatar Jul 20 '24 18:07 htartisan

if you want this fixed, send a pull request

aleks-f avatar Jul 30 '24 05:07 aleks-f

Are you using windows sdk 26100?

yanzhuo0323 avatar Aug 01 '24 07:08 yanzhuo0323

VS2019(V142) use SDK 22621

wddiddddddd avatar Aug 05 '24 07:08 wddiddddddd

VS2019(V142) use SDK 22621

This one definitely worked for me.

FCode-hub avatar Sep 02 '24 18:09 FCode-hub