Install Luasec etc.

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
feelixe
Prole
Posts: 36
Joined: Tue Aug 20, 2013 10:29 am

Install Luasec etc.

Post by feelixe »

Hello, im trying to install luasec in my project but im getting really frustrated. https://github.com/brunoos/luasec
It seems that you usally use LuaRocks for this but I haven't got that installed and i couldn't understand the instructions for windows.
The instructions says to:
On Windows:

- Use the Visual C++ project to compile the library.

- Copy the 'ssl.lua' file to some place in your LUA_PATH.

- Copy the 'ssl.dll' file to some place in your LUA_CPATH.

- Create a directory 'ssl' in your LUA_PATH and copy 'https.lua' to it.
I downloaded Visual Studio to compile it but it wouldn't work. The ssl.lua and https.lua is included but ssl.dll is not in the directory.

Any help is veeery appriciated! :awesome:

https://github.com/brunoos/luasec
User avatar
s-ol
Party member
Posts: 1077
Joined: Mon Sep 15, 2014 7:41 pm
Location: Cologne, Germany
Contact:

Re: Install Luasec etc.

Post by s-ol »

You need to open the .vcproj with visual studio, build a release build and copy the resulting 'ssl.dll' where it belongs.

Alternatively luarocks does everything for you and it should be fairly easy to install.

s-ol.nu /blog  -  p.s-ol.be /st8.lua  -  g.s-ol.be /gtglg /curcur

Code: Select all

print( type(love) )
if false then
  baby:hurt(me)
end
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest