-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Milestone
Description
Hey! I'm getting the following linking error both using the GH version and 0.12.1 version. This is using VS 2022 on Windows 11. Same issue in both Debug and Release.
Try any example, like imageSubsectionExample
.
2>------ Build started: Project: imageSubsectionExample, Configuration: Debug x64 ------
2>main.cpp
2>ofApp.cpp
2>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/FORCE' specification
2> Creating library bin\imageSubsectionExample_debug.lib and object bin\imageSubsectionExample_debug.exp
2>FreeImageD.lib(IPTC.obj) : error LNK2019: unresolved external symbol __std_search_1 referenced in function "char const * __cdecl std::_Search_vectorized<char const ,char const >(char const * const,char const * const,char const * const,unsigned __int64)" (??$_Search_vectorized@$$CBD$$CBD@std@@YAPEBDQEBD00_K@Z)
2>bin\imageSubsectionExample_debug.exe : fatal error LNK1120: 1 unresolved externals
2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1127,5): error MSB6006: "link.exe" exited with code 1120.
2>Done building project "imageSubsectionExample.vcxproj" -- FAILED.
FWIW If I swap in the FreeImage dir from 0.11 it works fine. That library only has a FreeImage.lib
, no FreeImageD.lib
.
Metadata
Metadata
Assignees
Labels
No labels