无法安装SDL Core,无法找到记录器(SDLMain)的appender。 log4cxx:请正确初始化log4cxx系统

时间:2017-07-12 10:54:47

标签: ubuntu log4cxx smartdevicelink

我是Smartdevicelink框架的新手,我正在尝试通过tcp连接我的Android应用程序,其中当我尝试在我的本地系统中安装SDL Core时,我遇到了以下错误...

log4cxx: Could not instantiate class [SafeFileAppender].
log4cxx: Class not found: SafeFileAppender
log4cxx: Could not instantiate appender named "SmartDeviceLinkCoreLogFile".
log4cxx: Could not instantiate class [SafeFileAppender].
log4cxx: Class not found: SafeFileAppender
log4cxx: Could not instantiate appender named "ProtocolFordHandlingLogFile".
log4cxx: Could not instantiate class [SafeFileAppender].
log4cxx: Class not found: SafeFileAppender
log4cxx: Could not instantiate appender named "ProtocolFordHandlingLogFile".
log4cxx: Could not instantiate class [SafeFileAppender].
log4cxx: Class not found: SafeFileAppender
log4cxx: Could not instantiate appender named "ProtocolFordHandlingLogFile".
log4cxx: Could not instantiate class [SafeFileAppender].
log4cxx: Class not found: SafeFileAppender
log4cxx: Could not instantiate appender named "ProtocolFordHandlingLogFile".
log4cxx: Could not instantiate class [SafeFileAppender].
log4cxx: Class not found: SafeFileAppender
log4cxx: Could not instantiate appender named "TransportManagerLogFile".
log4cxx: No appender could be found for logger (SDLMain).
log4cxx: Please initialize the log4cxx system properly.

1 个答案:

答案 0 :(得分:1)

如果您想避免所有这些问题,我建议您使用Manticore web app,它允许您通过网络浏览器使用SDL Core。

否则,您的错误似乎与log4cxx未正确安装在系统上有关。您可以查看SDL Core README的known dependency issues部分以获取更多详细信息。要点是,在尝试cmake SDL Core之前,您可能必须删除系统上现有的log4cxx。