wget.exe
in your PATH
.unzip.exe
in your PATH
.For Visual Studio:
c:\openssl-1.1.0f-vs20xx
, so that c:\openssl-1.1.0f-vs20xx\include
exists.(deprecated) For earlier versions of Visual Studio:
Win32OpenSSL-1_0_2g.exe
to c:\OpenSSL-Win32
.Win64OpenSSL-1_0_2g.exe
to c:\OpenSSL-Win64
.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.CreateVS2017Workspace.bat
- Create a Visual Studio 2017-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
d:\luaplus\Src\modules.jambuild>getpcre.bat
If you want to build from an IDE:
build201x\_workspace_\vs201x\
(replace the vs201x
with the IDE version your are building for) and open LuaPlus.sln
.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
[~]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
FILL ME IN
If you want to build from an IDE:
~/luaplus/.build/_workspace_/xcode/LuaPlus.xcworkspace
.!BuildWorkspace-macosx64-release
.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
As an example, a fresh install of Ubuntu 17.10 will require the following packages.
sudo apt install git build-essential libreadline-dev uuid-dev libssl-dev libcurl4-openssl-dev
[~]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 for Ubuntu (or the equivalent for your Linux):
sudo apt install libcurl4-openssl-dev
FILL ME IN
To build from the command-line, use:
# Builds to ~/luaplus/.build/bin.lua5x-luaplus.gcc.linux64 [~/luaplus/.build]./jam # or this: [~/luaplus/.build]./jam c.toolchain=linux64/release
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。