Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Building and using log4cxx 0.9.8 on Visual Studio 2003...: msg#00019

apache.logging.log4cxx.user

Subject: Re: Building and using log4cxx 0.9.8 on Visual Studio 2003...

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>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation