Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

module 'plugin_openssl' not found
Started by yuval_forish Dec 09 2015 08:00 AM

5 replies to this topic
openssl plugin module not found module plugin_openssl not f download
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

yuval_forish

[GLOBAL: userInfoPane.html]
yuval_forish
  • Enthusiast

  • 67 posts
  • Corona SDK

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'


[TOPIC: post.html]
#2

happymongoose

[GLOBAL: userInfoPane.html]
happymongoose
  • Contributor

  • 351 posts
  • Corona SDK

Hi Yuval,

 

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

 

 

Simon



[TOPIC: post.html]
#3

yuval_forish

[GLOBAL: userInfoPane.html]
yuval_forish
  • Enthusiast

  • 67 posts
  • Corona SDK

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 }
        }
    }
}



[TOPIC: post.html]
#4

yuval_forish

[GLOBAL: userInfoPane.html]
yuval_forish
  • Enthusiast

  • 67 posts
  • Corona SDK

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



[TOPIC: post.html]
#5

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,786 posts
  • Enterprise

What happens if you try and build your app?



[TOPIC: post.html]
#6

yuval_forish

[GLOBAL: userInfoPane.html]
yuval_forish
  • Enthusiast

  • 67 posts
  • Corona SDK

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"
        },



[topic_controls]
[/topic_controls]