module 'plugin_openssl' not found

Hi,

I am getting the bellow error. (It encounter when getting the code :
local openssl = require( “plugin.openssl” ) .

How can I download this plugin to my PC and MAC (Currently for simulator)

module ‘plugin_openssl’ not found:

no field package.preload[‘plugin_openssl’]

no file ‘C:\Users\Yuval\AppData\Roaming\Corona Labs\Corona Simulator\Plugins\plugin_openssl.lua’

no file ‘C:\GameDev\plugin_openssl.lua’

no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\Resources\plugin_openssl.lua’

no file ‘.\plugin_openssl.lua’

no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\lua\plugin_openssl.lua’

no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\lua\plugin_openssl\init.lua’

no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_openssl.lua’

no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_openssl\init.lua’

no file ‘C:\Users\Yuval\AppData\Roaming\Corona Labs\Corona Simulator\Plugins\plugin_openssl.dll’

no file ‘.\plugin_openssl.dll’

no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\Resources\plugin_openssl.dll’

no file ‘.\plugin_openssl.dll’

no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_openssl.dll’

no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\loadall.dll’

no file ‘C:\Users\Yuval\AppData\Roaming\Corona Labs\Corona Simulator\Plugins\plugin_openssl.dll’

no file ‘.\plugin_openssl.dll’

no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\Resources\plugin_openssl.dll’

no file ‘.\plugin_openssl.dll’

no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_openssl.dll’

no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\loadall.dll’

Hi Yuval,

Have you included the plug-in in your build.settings file as shown here?

Simon

Yes I did,

Here is my buid.settings.

(BTW I had the same problem but with plugin.facebook.v4 - The reselution was to download the plag-in  manually (suggested in the forum)

settings = { --------------------- Oriantation ---------------------------------------- -------------------------------------------------------------------------- orientation = { default = "portrait", --initial launch orientation content = "", --locked orientation of the Corona stage, independent of Native UI elements (iOS only) ?? supported = {"portrait"}, --table of allowed options for auto-orientation }, --------------------- plugins -------------------------------------------- -------------------------------------------------------------------------- plugins = { ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true } }, ["plugin.openssl"] = { publisherId = "com.coronalabs", supportedPlatforms = { android = true, iphone = true, ["mac-sim"] = true, ["win32-sim"] = true }, }, }, --------------------- iPhone --------------------------------------------- -------------------------------------------------------------------------- iphone = { skipPNGCrush = false, plist = { UILaunchImageSize = { { -- iPhone 4 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320,480}" }, { -- iPhone 5 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320,568}" }, { -- iPad Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Portrait", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{768,1024}" }, { -- iPhone 6 Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{375,667}" }, { -- iPhone 6 Plus Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = " ", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{414,736}" } }, CFBundleIconFiles = { "Icon-60@3x.png", -- \>= 8.0 180 × 180 App Icon — iPhone 6 Plus "Icon-60.png", -- \>= 7.0 60 × 60 App Icon — iPhone "Icon-60@2x.png", -- \>= 7.0 120 × 120 App Icon — Retina iPhone "Icon-76.png", -- \>= 7.0 76 × 76 App Icon — iPad "Icon-76@2x.png", -- \>= 7.0 152 × 152 App Icon — Retina iPad "Icon.png", -- \<= 6.1 57 × 57 App Icon — iPhone "Icon@2x.png", -- \<= 6.1 114 × 114 App Icon — Retina iPhone "Icon-72.png", -- \<= 6.1 72 × 72 App Icon — iPad "Icon-72@2x.png" -- \<= 6.1 144 × 144 App Icon — Retina iPad }, UIApplicationExitsOnSuspend = false, UIPrerenderedIcon = true, --Don't apply shibe to the game Icon by Apple UIStatusBarHidden = true, UIAppFonts = { "Komika\_Hand.ttf"}, MinimumOSVersion ="6.0", } }, --------------------- Android ------------------------------------------- -------------------------------------------------------------------------- android = { versionCode = "1", --In each upgrade to market increased the versionCode usesPermissions = { "android.permission.INTERNET", "android.permission.WRITE\_EXTERNAL\_STORAGE", "android.permission.ACCESS\_FINE\_LOCATION", "android.permission.ACCESS\_COURSE\_LOCATION" }, usesFeatures = { { name = "android.hardware.camera", required = false }, { name = "android.hardware.location", required = false }, { name = "android.hardware.location.gps", required = false } } } }

I have noticed that the plugin is not located in the folder :C:\Users\Yuval\AppData\Roaming\Corona Labs\Corona Simulator\Plugins.

I am using Corona build : 2105.2786. Can it be manually installed ?

Yuval

What happens if you try and build your app?

I was able to fix the problem. I don’t know why its help but it did. Instead of 

["plugin.openssl"] = { publisherId = "com.coronalabs", supportedPlatforms = { android = true, iphone = true, ["mac-sim"] = true, ["win32-sim"] = true }, },

I delete the second line :

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

Hi Yuval,

Have you included the plug-in in your build.settings file as shown here?

Simon

Yes I did,

Here is my buid.settings.

(BTW I had the same problem but with plugin.facebook.v4 - The reselution was to download the plag-in  manually (suggested in the forum)

settings = { --------------------- Oriantation ---------------------------------------- -------------------------------------------------------------------------- orientation = { default = "portrait", --initial launch orientation content = "", --locked orientation of the Corona stage, independent of Native UI elements (iOS only) ?? supported = {"portrait"}, --table of allowed options for auto-orientation }, --------------------- plugins -------------------------------------------- -------------------------------------------------------------------------- plugins = { ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true } }, ["plugin.openssl"] = { publisherId = "com.coronalabs", supportedPlatforms = { android = true, iphone = true, ["mac-sim"] = true, ["win32-sim"] = true }, }, }, --------------------- iPhone --------------------------------------------- -------------------------------------------------------------------------- iphone = { skipPNGCrush = false, plist = { UILaunchImageSize = { { -- iPhone 4 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320,480}" }, { -- iPhone 5 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320,568}" }, { -- iPad Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Portrait", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{768,1024}" }, { -- iPhone 6 Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{375,667}" }, { -- iPhone 6 Plus Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = " ", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{414,736}" } }, CFBundleIconFiles = { "Icon-60@3x.png", -- \>= 8.0 180 × 180 App Icon — iPhone 6 Plus "Icon-60.png", -- \>= 7.0 60 × 60 App Icon — iPhone "Icon-60@2x.png", -- \>= 7.0 120 × 120 App Icon — Retina iPhone "Icon-76.png", -- \>= 7.0 76 × 76 App Icon — iPad "Icon-76@2x.png", -- \>= 7.0 152 × 152 App Icon — Retina iPad "Icon.png", -- \<= 6.1 57 × 57 App Icon — iPhone "Icon@2x.png", -- \<= 6.1 114 × 114 App Icon — Retina iPhone "Icon-72.png", -- \<= 6.1 72 × 72 App Icon — iPad "Icon-72@2x.png" -- \<= 6.1 144 × 144 App Icon — Retina iPad }, UIApplicationExitsOnSuspend = false, UIPrerenderedIcon = true, --Don't apply shibe to the game Icon by Apple UIStatusBarHidden = true, UIAppFonts = { "Komika\_Hand.ttf"}, MinimumOSVersion ="6.0", } }, --------------------- Android ------------------------------------------- -------------------------------------------------------------------------- android = { versionCode = "1", --In each upgrade to market increased the versionCode usesPermissions = { "android.permission.INTERNET", "android.permission.WRITE\_EXTERNAL\_STORAGE", "android.permission.ACCESS\_FINE\_LOCATION", "android.permission.ACCESS\_COURSE\_LOCATION" }, usesFeatures = { { name = "android.hardware.camera", required = false }, { name = "android.hardware.location", required = false }, { name = "android.hardware.location.gps", required = false } } } }

I have noticed that the plugin is not located in the folder :C:\Users\Yuval\AppData\Roaming\Corona Labs\Corona Simulator\Plugins.

I am using Corona build : 2105.2786. Can it be manually installed ?

Yuval

What happens if you try and build your app?

I was able to fix the problem. I don’t know why its help but it did. Instead of 

["plugin.openssl"] = { publisherId = "com.coronalabs", supportedPlatforms = { android = true, iphone = true, ["mac-sim"] = true, ["win32-sim"] = true }, },

I delete the second line :

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