开发者

Using log4cxx with Visual Studio 2010. Application initialization error

I have succeeded to build the log4cxx library both in debug and release mode and created log4cxxd.lib and log4cxx.lib files. But when I try to开发者_StackOverflow中文版 use them with static linking in my visual C++ 2010 project I get

The application failed to initialize properly (0xc0150002).

in debug mode. In release mode it just works fine. For debug configuration, I've added log4cxxd.lib as additional dependency and for release configuration I've added log4cxx.lib. I think it should also work in debug mode, but it does not.

Any ideas?


Use the Dependency Walker on your application to determine what library is missing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜