【问题标题】:Corona SDK OpenSSL plugin issueCorona SDK OpenSSL 插件问题
【发布时间】:2014-06-19 05:06:27
【问题描述】:

我在我的 corona 项目中包含 OpenSSL 插件时遇到问题。

在这条线上

local openssl = require "plugin.openssl"

项目因错误而崩溃:

> module 'plugin_openssl' not found:resource (plugin_openssl.lu) does
> not exist in archive no field package.preload['plugin_openssl'] no
> file '/Users/Apple/Library/Application
> Support/Corona/Simulator/Plugins/plugin_openssl.lua' no file
> '/Users/Apple/Library/Application
> Support/luaglider2/dev/ProjectBuilds/___________(Builds)/___________(default)/___________/plugin_openssl.lua' no file '/Applications/CoronaSDK/Corona
> Simulator.app/Contents/Resources/plugin_openssl.lua' no file
> '/Users/Apple/Library/Application
> Support/Corona/Simulator/Plugins/plugin_openssl.dylib' no file
> './plugin_openssl.dylib' no file '/Applications/CoronaSDK/Corona
> Simulator.app/Contents/Resources/plugin_openssl.dylib'

在我的build.settings

plugins = {
     ["plugin.openssl"] = {publisherId = "com.coronalabs"},
},

任何人都可以遇到这个问题。

谢谢

【问题讨论】:

  • 您是专业用户还是企业用户?您使用的是什么版本的 Corona SDK?

标签: lua openssl coronasdk


【解决方案1】:

解决了!

在应用 Corona 启动时需要下载插件。但是在我的工作场所代理上阻止了下载。

【讨论】:

    【解决方案2】:

    这是一个老问题,但目前 OpenSSL 插件可能需要 VS2013 x86 可再发行组件 https://aka.ms/highdpimfc2013x86enu 才能工作。如果您的错误提示“从文件 '....\plugin_openssl.dll' 加载 'plugin_openssl' 时出错”,这将有所帮助。 Erro 说它找到了 dll,但无法加载它。 Redist 可以解决这个问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-08-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多