lua(1)Envirement

本文介绍了Lua语言的安装步骤及使用SciTE进行简单程序测试的方法,并详细记录了尝试在Eclipse C/C++环境中配置Lua插件遇到的问题及错误信息。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

lua(1)Envirement

1. Install the tool
download the files
http://luaforwindows.googlecode.com/files/LuaForWindows_v5.1.4-45.exe
Double click this file to install lua on my system.

This tool includes these parts:
Lua Interpreter
Lua Reference Manual
Quick Lua Tour
Examples
Libraries with documentation
SciTE

Have a try with what we installed.
Create a new file with name hello.lua in SciTE. The content is very easy as follow:
print("hello,luohua")
press F5 to run this application.

2. Build Application with Eclipse
Download the latest Eclipse IDE for C/C++ Developers
http://ftp.neu.edu.cn/mirrors/eclipse/technology/epp/downloads/release/indigo/SR1/eclipse-cpp-indigo-SR1-incubation-win32-x86_64.zip

http://archive.eclipse.org/technology/epp/downloads/release/galileo/R/eclipse-cpp-galileo-win32.zip

http://mirror.bit.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-cpp-helios-SR2-win32-x86_64.zip

Eclipse plugin URL
http://luaeclipse.luaforge.net/update-site
install these features:
Lua Development Tool 1.1.0.200710012327
LuaProfiler Support for LuaEclipse 1.0.0.20080222021

Create a New Lua Project in Eclipse, but I get an error information.
error messages:
Errors occurred during the build.
Errors running builder 'Lua Project Builder' on project 'easylua'.
D:\tool\eclipse-cpp\configuration\org.eclipse.osgi\bundles\320\1\.cp\luajava-1.1.dll: Can't find dependent libraries

No solution for this right now.

I tried eclipse 3.5, but there is no 64 bit version, so I even can not run it on my 64-bit windows system.

I tried eclipse 3.6, and try to install luaeclipse plugin 1.2, but get these error informations:
error message:
Cannot complete the install because some dependencies are not satisfiable
org.keplerproject.ldt.feature.feature.group [1.2.0.200802220021] cannot be installed in this environment because its filter is not applicable.

Cannot complete the install because some dependencies are not satisfiable
org.keplerproject.ldt.feature_x64.feature.group [1.2.0.200802220021] cannot be installed in this environment because its filter is not applicable.

http://files.luaforge.net/releases/luaeclipse/luaeclipse/LuaEclipse1.3Beta
http://files.luaforge.net/releases/luaeclipse/luaeclipse/LuaEclipse1.3Beta/luaeclipse-1.3.0.beta.zip

even, luaeclipse1.3 can not fix this problem.

error message:
Could not initialize class org.keplerproject.ldt.core.compiler.LuaResourceDeltaVisitor

Sorry, I do not continous to try eclipse with lua.

I will use SciTE as my tool.

references:
http://tech.it168.com/zt/lua/index.html
http://www.lua.org/
http://code.google.com/p/luaforwindows/
http://www.lua.org/docs.html
http://www.lua.org/manual/5.1/
http://blog.youkuaiyun.com/comicray/article/details/3970833
http://mobile.51cto.com/iphone-286198.htm
http://www.ibm.com/developerworks/cn/linux/l-lua.html
http://luaeclipse.luaforge.net/
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值