- Download Wget. One location to grab it from is http://users.ugent.be/~bpuype/wget/. Put
wget.exe
in yourPATH
. - Download unzip from http://www.info-zip.org/UnZip.html. Put
unzip.exe
in yourPATH
.
For Visual Studio:
- From http://www.npcglib.org/~stathis/blog/precompiled-openssl/, download openssl-1.0.2f-vs20xx.7z (where the 'xx' is replaced with your version of Visual Studio). Extract it to
c:\openssl-1.0.2f-vs20xx
, so thatc:\openssl-1.0.2f-vs20xx\include
exists.
(deprecated) For earlier versions of Visual Studio:
- From https://slproweb.com/products/Win32OpenSSL.html, download Win32 OpenSSL v1.0.2g. Install
Win32OpenSSL-1_0_2g.exe
toc:\OpenSSL-Win32
. - From https://slproweb.com/products/Win32OpenSSL.html, download Win64 OpenSSL v1.0.2g. Install
Win64OpenSSL-1_0_2g.exe
toc:\OpenSSL-Win64
.
- If you haven't already, clone LuaPlus from GitHub with:
d:\>git clone https://github.com/jjensen/luaplus51-all.git luaplus
-
To create a workspace and bootstrap the build environment, run one of the following batch files.
CreateVS2010Workspace.bat
- Create a Visual Studio 2010-capable workspace.CreateVS2012Workspace.bat
- Create a Visual Studio 2012-capable workspace.CreateVS2013Workspace.bat
- Create a Visual Studio 2013-capable workspace.CreateVS2015Workspace.bat
- Create a Visual Studio 2015-capable workspace.
-
Choose the version of Lua to build within the workspace. Note that the -luaplus versions build additional LuaPlus-specific features into the Lua environment; these are the preferred environments for LuaPlus.
-
If you want lua-curl support, run the following (where build201x is your own build directory):
d:\luaplus\build201x>jam download:curl
- If you want the PCRE module to build, run the following (where build201x is your own build directory):
d:\luaplus\Src\modules.jambuild>getpcre.bat
If you want to build from an IDE:
- Within Visual Studio, navigate to
build201x\_workspace_\vs201x\
(replace thevs201x
with the IDE version your are building for) and openLuaPlus.sln
. - Build the solution.
If you want to build from the command-line, use:
rem Builds to d:\luaplus\build201x\bin.lua5x-luaplus.vs20xx.win32 d:\luaplus\build201x>jam c.toolchain=win32/release rem Builds to d:\luaplus\build201x\bin.lua5x-luaplus.vs20xx.win32 d:\luaplus\build201x>jam c.toolchain=win32/debug rem Builds to d:\luaplus\build201x\bin.lua5x-luaplus.vs20xx.win64 d:\luaplus\build201x>jam c.toolchain=win64/release rem Builds to d:\luaplus\build201x\bin.lua5x-luaplus.vs20xx.win64 d:\luaplus\build201x>jam c.toolchain=win64/debug
- FILL ME IN.
- If you haven't already, clone LuaPlus from GitHub with:
[~]git clone https://github.com/jjensen/luaplus51-all.git luaplus
-
To create a workspace and bootstrap the build environment, run
~/luaplus/CreateJamXcodeWorkspace.sh
. -
Choose the version of Lua to build within the workspace. Note that the -luaplus versions build additional LuaPlus-specific features into the Lua environment; these are the preferred environments for LuaPlus.
-
If you want lua-curl support, run the following:
FILL ME IN
- If you want the PCRE module to build, run the following:
FILL ME IN
If you want to build from an IDE:
- Open
~/luaplus/.build/_workspace_/xcode/LuaPlus.xcworkspace
. - Change the active scheme to
!BuildWorkspace-macosx64-release
. - Build.
If you want to build from the command-line, use:
# Builds to ~/luaplus/.build/bin.lua5x-luaplus.clang.macosx64 [~/luaplus/.build]./jam c.toolchain=macosx64/release
- FILL ME IN.
- If you haven't already, clone LuaPlus from GitHub with:
[~]git clone https://github.com/jjensen/luaplus51-all.git luaplus
-
To create a workspace and bootstrap the build environment, run
~/luaplus/CreateJamLinuxWorkspace.sh
. -
Choose the version of Lua to build within the workspace. Note that the -luaplus versions build additional LuaPlus-specific features into the Lua environment; these are the preferred environments for LuaPlus.
-
If you want lua-curl support, run the following:
FILL ME IN
- If you want the PCRE module to build, run the following:
FILL ME IN
To build from the command-line, use:
# Builds to ~/luaplus/.build/bin.lua5x-luaplus.gcc.linux64 [~/luaplus/.build]./jam c.toolchain=linux64/release