Buildig objecthandler: building log4cxx 0.9.7c error: Cannot open include file: 'log4cxx/config.h'

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Buildig objecthandler: building log4cxx 0.9.7c error: Cannot open include file: 'log4cxx/config.h'

silhouette.n
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Buildig objecthandler: building log4cxx 0.9.7c error: Cannot open include file: 'log4cxx/config.h'

eric ehlers
Hi Yulei,

I see that you are working from the ObjectHandler installation
document.  That text is somewhat terse, apologies for the confusion.

That exact same log4cxx build step is described more explicitly in the
QuantLibXL build tutorial:

http://quantlib.org/quantlibaddin/build_tutorial.html#sec_build_log4cxx

The text assumes the use of Visual Studio 2005 (VC8), for Visual
Studio 2003 (VC7) it's the same except the log4cxx solution file is
called log4cxx.sln instead of log4cxx_vc8.sln.

Regards,
Eric

On 3/21/07, Yulei Gong <[hidden email]> wrote:

> Hi All,
> When I was trying to build log4cxx 0.9.7c, following the instruction page as
> :
>
> {Before building ObjectHandler you need to build log4cxx 0.9.7c.
>
>
> 1.download the log4cxx 0.9.7c zip from the QuantLib downloads page
> 2.log4cxx should be unzipped to a path containing no spaces as the library
> seems to complain otherwise
> 3.choose project static, configuration Win32 Release.
> 4.build the chosen log4cxx project. The resulting lib file is written to
> directory log4cxx-0.9.7\msvc\Lib
> 5.you need to manually set environment variable LOG4CXX_DIR to the top level
> log4cxx directory e.g. C:\log4cxx-0.9.7c
> 6.if VC is running you need to restart it to pick up the new environment
> variable. }
>
> Step 3 and 4 are confusing to me,  Which project file in the instruction is
> referring to to build?? should I open the project first and then set it to
> be static and where to set the configuration Win32 Release?
> I tried to build some of the vcproj file, such as static.vcproj, and it
> gives out error message as "Cannot open include file: 'log4cxx/config.h',
> and I really don't see this header file in the folder.  Could someone shed
> some light on the clarity on this building please?
>
> Thanks
> Yulei
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users