|
|
Choosing A Webhost: |
Re: Building and using log4cxx 0.9.8 on Visual Studio 2003...: msg#00019apache.logging.log4cxx.user
Hi, Andreas! Thanks for your looking into this matter! The example with the working solution of log4cxx is a Console Application It's true, as you said, we've used the VS IDE to build the projects (Visual Studio 2003): The second example, in my first email (I've sent a second one, correcting a mistake in the first one), was a console application. So, I've created from New Project -> win32 console application. I cannot remove "stdafx.h". I tried replacing, like you said, _tmain(...) with main(), but I get the same errors.. The example in the second email I've sent is part of a MFC application (New Project -> MFC Application). It seems that it does not depend on the type of the application.. At the end we get the same error with unresolved symbols. We built the log4cxx with Ant.. I don't remember exactly how we built it - what were the parameters, the settings... Thank you! Sorin ----- Original Message ---- From: Andreas Fester <afester@xxxxxxxxxx> To: sorro192@xxxxxxxxx Cc: Log4CXX User <log4cxx-user@xxxxxxxxxxxxxxxxxx> Sent: Monday, November 27, 2006 11:06:54 PM Subject: Re: Building and using log4cxx 0.9.8 on Visual Studio 2003... Hi, I dont currently have a Windows environment available (can try tomorrow), but I suspect that your second application is an MFC application, which seems to use different compiler parameters when compiling the application than when the log4cxx library was built. In your second example, have you already tried letting away the stdafx.h include and using int main() instead of int _tmain(int argc, _TCHAR* argv[]) ? I also suppose that you were using the Visual Studio IDE to create your application project, right? Can you shortly desribe the types of projects you used for each of the two programs? (e.g. Console application / WIN32 Application / MFC etc.) Andreas Sorin POPA wrote: > Hello, friends! > > > > Mi amigos and I are trying to use log4cxx in a Visual C++ project, in Visual > Studio 2003. > > We have built the library with Ant (following the indications in the INSTALL > guide) and we can use it now. > > Still we have some questions, which may find answers here. > > > [...] ____________________________________________________________________________________ Yahoo! Music Unlimited Access over 1 million songs. http://music.yahoo.com/unlimited
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Question on Unicode strings, Sorin POPA |
|---|---|
| Next by Date: | TimeBasedRollingPolicy problem, Ron Hashimshony |
| Previous by Thread: | Re: Building and using log4cxx 0.9.8 on Visual Studio 2003..., Andreas Fester |
| Next by Thread: | Re: Building and using log4cxx 0.9.8 on Visual Studio 2003... - UPDATE, Sorin POPA |
| 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 |