Hi, We are facing below linker error while using log4cxx with our application. We took latest apr-1.6.5 and apr-util-1.6.1 and log4cxx-0.10.0 . We build it with VS2017 on Windows10. Please do suggest any respective solution or usage...
Severity Code Description Project File Line Suppression State Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl log4cxx::PatternLayout::PatternLayout(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??0PatternLayout@log4cxx@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "void __cdecl Secant::BaseLogging::BeginBootLog(bool)" (?BeginBootLog@BaseLogging@Secant@@YAX_N@Z) BaseSet C:\views\j1007356_tm_2019_sql_view\secant\cees.35\baseset\bLogging.obj 1 NOTE: We ensured that log4cxx.lib is in linker options... Regards, Niranjan. Check out the video for Luminate ControlTower - JDA's transformational, end-to-end digital control tower! > Watch it now! <https://jda.com/knowledge-center/collateral/luminate-control-tower-video> To the extent permitted by law, we may monitor electronic communications for the purposes of ensuring compliance with our legal and regulatory obligations and internal policies. We may also collect email traffic headers for analyzing patterns of network traffic and managing client relationships. For additional information see https://jda.com/privacy-policy.
