Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在我的代码中使用log4cpp库进行日志记录。但是,对于 windows 平台,我不知道如何配置库。我正在使用Visual Studio 2008。 任何帮助将不胜感激。
使用子目录 msvc8 中的工作区和项目文件。(您可能需要根据您的特定需要调整 include/log4cpp/config-win32.h 和项目文件)。
您还可以选择使用 cygwin 编译源代码并从库中调用导出的函数。