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

SDL Core, could not be installed, No appender could be found for logger (SDLMain). log4cxx: Please initialize the log4cxx system properly

我是 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.

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

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