代码之家  ›  专栏  ›  技术社区  ›  Santhosh

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

  •  0
  • Santhosh  · 技术社区  · 8 年前

    我是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 回复  |  直到 8 年前
        1
  •  1
  •   Joel Fischer    8 年前

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

    log4cxx 未在系统上正确安装。你可以看到 known dependency issues cmake 您的SDL核心。