link errors while building a project using static lib of log4cxx in VS 2010

2013-04-23 Thread Madhu Gowda
Hi All, I am trying to build my application using static version of log4cxx in Visual Studio 2010. I am able to build the log4cxx.lib. Now, when i try to build my application, it gives 1000's of link errors as follows: Error    795    error LNK2001: unresolved external symbol @__security_check_

Re: link errors while building a project using static lib of log4cxx in VS 2010

2013-04-23 Thread chand priyankara
Try disabling *'Buffer Security Checks'*. The /GS and /GS- switches should be supported in your version of Visual Studio 2010. Right-click on your project and select Properties. Go to Configuration Properties -> C/C++ -> Code Generation-> Buffer Security Check. Change from Yes (/GS) to No (/GS-) C