|
|
Choosing A Webhost: |
Re: Log4cxx in my project, unresolved symbols despite hours of work: msg#00062apache.logging.log4cxx.user
On Nov 28, 2007, at 8:37 AM, Eborn, Eric D wrote: I had figured as much, that I wouldn’t need to use that directive if using shared libs, but it cleaned up a few errors of the following form: First the easiest, TransmitFile is provided by mswsock.lib. If you are linking against log4cxx as a static library, you also need to link against all of the libraries that is uses (advapi32, odbc32, ws2_32 and mswsock). I've noticed that your unresolved symbols all have the __stdcall decoration. The log4cxx headers do not explicitly declare a calling convention, so they should not have the __stdcall convention unless the filter DLL was built with the /Gz option (same as setting the calling convention in Project Settings/C++/Code Generation in VC6 to __stdcall). It is likely that you built the log4cxx DLL using the __cdecl calling convention and are trying to use it from a project where the default calling convention is __stdcall. The default calling conventions have to be consistent. p.s.: Could you describe the std::vector<_ty> issues that you ran into and how you fixed them.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: On Static Linking - Could not instantiate class [org.apache.log4j.ConsoleAppender], Curt Arnold |
|---|---|
| Next by Date: | Re: NTEventLogAppender events not showing., Vic Simkus |
| Previous by Thread: | RE: Log4cxx in my project, unresolved symbols despite hours of work, Eborn, Eric D |
| Next by Thread: | RE: Log4cxx in my project, unresolved symbols despite hours of work, Eborn, Eric D |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |