1, the installation command first installs brew from the Mac AppStore.Brew can only be used by current users. $ Brew Install LUA--with-completion==> Downloading http://www.lua.org/ftp/lua-5.2.3.tar.gz###################################################### ################## 100.0%==> Downloading http://luajit.org/patche
1. LuaOfficial website http://www.lua.org/Download Source Package5.1.X version due to use with Nginxtar xvzf lua-5.1. 5. Tar . gz$ cd LUA-5.1. 5 make do install//must sudo-------Below is the installation output information------CD src mkdir-p/usr/local/bin/usr/local/include/usr/local/lib \/usr/local/man/man1/usr/local/share/
1, the installation command first installs brew from the Mac AppStore.Brew can only be used by current users. $ Brew Install LUA--with-completion==> Downloading http://www.lua.org/ftp/lua-5.2.3.tar.gz###################################################### ################## 100.0%==> Downloading http://luajit.org/patche
: quick-cocos2d-x Tutorial summaryThings to do in the following articleIn fact, this article pen really is also a long time ago things, their contact Cocos also two months, feel also through the most difficult entry period, recently also really is too busy, not to leave their own summary of this two months of things, yes, National day overtime to now, is really tired!Do not spread the negative energy, said the back, in fact, really want to carefully put iOS memory management, block and multi-thr
Download and install Lua: (turn fromHere1. Download the latest version of Lua-5.3.1.tar.gzPlease click (http://www.lua.org/ftp/), then unzip2. Run "terminal" to enter this folder, mainly CD "folder name"3. In "terminal" Enter make MacOSX (carriage return)4. In "terminal" input make test (carriage return)normally it will appear: Src/
Online also by a lot of similar blog to describe how to use the custom C + + file in Lua, but in the specific operation will encounter a variety of egg pain problems, here the specific steps and to note the place to record, convenient for others also convenient for themselves.At first I also explained that I was using a Mac machine.First of all, quick-cocos2d-x3.3final in the binding C + + document Framewor
About Lua
What is Lua-lua is a cross-platform development scripting language.
Lua historySchool University of Rio de JaneiroCountry BrazilAuthor Roberto ierusalimschy,luiz Henrique Figueiredo Waldemar celesGroup of computer Graphics groupsCompany PetrobasGrowth data-entry-language= "sol=="
First we choose to use Openresty, which consists of a nginx core plus a number of third-party modules, the biggest bright spot is the default integration of the LUA development environment, so that nginx can be used as a Web server. With Nginx event-driven models and non-blocking IO, high-performance Web applications can be implemented. And Openresty provides a large number of components such as MySQL, Redis, memcached, and so on, making it easier and
1: Modify Mac OS system time2:mac OS system via proxy InternetVMware 12 Install Mac OS X 10.10 virtual machine Optimization TipsVirtual video card mishap, so it must be optimized to use, the principle of optimization is able to streamline the simplification, can close the effect on the off, do not duang, the following
First, install LUA 5.3.4Downloadhttp://www.lua.org/ftp/lua-5.3. 4 . Tar.gztar xvf Lua-5.3. 4 . TAR.GZCD Lua-5.3. 4Important: Enter the unzipped path CD .../lua-5.3.4/src open the makefile file on the Cflag line to add options-fpic
1. Installing the LUA Compiler
Download Lua, http://www.lua.org/;
After extracting the CD into the folder src directory
Execute make MacOSX in the current folder and enter
CD to previous directory, execute sudo make install
Execute lua-v After completion can be seen:
1. Installing the LUA Compiler
download Lua, http://www.lua.org/;
after decompression, CD into the folder src directory, modify makefile in MacOSX after a row to be MacOSX: $ (make) all mycflags= "-dlua_use_linux-arch i386" mylibs= "-arch i386-lreadline" Save exit.
execute make MacOSX in the current folder and enter
CD to previous directory, execute sudo make
First of all, it is really too busy recently, a long time no blog, and today just have time to write about the recent in the game of some discoveries;In other words, based on the COCOS2DX engine + script to write games, the feeling is that can be incremental updates and instant compilation, and so on, saving a lot of time; okay, no more nonsense, go to the point;Here I take cocos2d-x-2.2.2 as an example Today I will say how to use cocos2d-x3.2 in Cocos-console to bulk encrypt
Cocos2dx 3.1.1 porting Android apk (in mac environment for lua project cross-compilation)Cocos2dx 3.1.1 This article is based on ant, sdk, ndk, adt and other software and environment in the mac environment of Android cross-compiling for lua project.1 \ create a project and run the following command on the
To download Lua First, you can use the command under the Terminal: Brew Install LUA (you need to install brew first); Then download install sublime Text 2, open tools-build system-New build system, enter in edit area: {"cmd": ["/usr/local/bin/
Some files require how to do dragonbones Lua bindings (VisualStudio) support a. Will Dragonbones (cocos2d_libs), Lua_dragonbones_ AUTO.CPP,LUA_DRAGONBONES_AUTO.HPP (Cocos2d_lua_bindings/auto) added to Project b. cocos2d_libs/project/build Settings/search paths/user Header Search Paths add $ (srcroot)/... /cocos/editor-support/dragonbones $ (srcroot)/. /cocos/editor-support/dragonbones/renderer/cocos2d-x-3.x $ (srcroot)/. /external/
Install the lua development environment in linux
I have introduced the establishment of the nginx + lua environment. Here we will learn about the installation of the lua development environment.
Currently, the lua version has been updated to lua5.3, but we have installed lua
system, New Build system, add generation{ "cmd": ["/usr/local/bin/lua","$file"], "File_regex":"^(...*?):( [0-9]*):? ([0-9]*)", "selector":"Source.lua" }View CodeThen save as Lua.sublime-build.Fourth step: Create a new Helloworld.lua file, enter the statement, and choose Lua as the build System, and click Command+bA small procedure is attached:Ademacbook-pro:lua_dev apple$ Vim Hel.lua-- Fibonacci sequence w
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.