Re: how to compile log4cpp properly in visual studio
- From: "Atiz" <fleetfoot18@xxxxxxxxx>
- Date: 28 Dec 2006 18:32:20 -0800
Hi Anton,
First of all, sorry I replied so late :p
Can I point you to another logger - log4cplus instead?
After having problems with this, i decided to use another log4cplus and
it is much better to use (At least I can use it lol)
You can d/l it here:
http://log4cplus.sourceforge.net/
If you have any problems with using it, let me know. I'll try to help
:)
Cheers,
Atiz
Anton Hinds wrote:
I am having the same issue. I think the problem is that the following
path does not resolve and the Appender error is just ancillary:
C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\..\..\VC98\Bin\link.exe
I think VC98 should be just be VC. Any idea how to change the path in
the generated build script?
-Anton
Stuart Redmann wrote:
Atiz wrote:
Creating temporary file "c:\Documents and
Settings\hfyap\Desktop\log4cpp-0.3.5rc3\msvc6\log4cppDLL\Release\BAT0000033000744.bat"
with contents
[
@echo off
if not exist .\Release md .\Release
"C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\..\..\VC98\Bin\mc.exe" -h .\Release -r .\Release
c:\Documents and
Settings\hfyap\Desktop\log4cpp-0.3.5rc3\msvc6\log4cppDLL\..\NTEventLogCategories.mc
"C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Bin\RC.exe" -r
-fo .\Release\NTEventLogCategories.res
.\Release\NTEventLogCategories.rc
"C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\..\..\VC98\Bin\link.exe" /MACHINE:IX86 -dll -noentry
-out:.\Release\NTEventLogAppender.dll
.\Release\NTEventLogCategories.res
> Hi, the 2 errors are :
>
> Error 1 error PRJ0019: A tool returned an error code from
"Performing
> Custom Build Step" log4cppDLL
> Error 2 error BK1506 : cannot open file '.\Debug\Appender.sbr':
No such
> file or directory BSCMAKE
Is Appender the name of your project? If so, you might be interested in
http://support.microsoft.com/kb/102664/en-us (this explains an build
error that occurs if you try to build an project that contains no .cpp
source files).
Regards,
Stuart
.
- References:
- Re: how to compile log4cpp properly in visual studio
- From: Anton Hinds
- Re: how to compile log4cpp properly in visual studio
- Prev by Date: Re: Windows vista
- Next by Date: Suggest me a book for learning COM / DCOM / ActiveX using MFC
- Previous by thread: Re: how to compile log4cpp properly in visual studio
- Next by thread: Tail Recursion to Looping structures
- Index(es):
Loading