Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[koneki-dev] 回复: Problem while using mihini-0.8 ExecutionEnvironment in LDT 0.9 with Win 7

Hi Benjamin,

Thank you very much!

I may know the reason.

I will follow your advice to complete my test!

Best Regards
Yong-Jie


------------------ 原始邮件 ------------------
发件人: "Benjamin Cabé"<bcabe@xxxxxxxxxxxxxxxxxx>;
发送时间: 2013年4月9日(星期二) 下午5:45
收件人: "General development dicussions for the Koneki project"<koneki-dev@xxxxxxxxxxx>;
主题: Re: [koneki-dev] Problem while using mihini-0.8 ExecutionEnvironment in LDT 0.9 with Win 7

Hi Yong-Jie,

You actually configured your Mihini execution environment correctly. It is what makes the Koneki IDE aware of what autocomplete you have access to, how your default project should look like (your "default_main.jpg" screenshot)

However, what probably got you confused is that Koneki suggested you to run this default Mihini app locally, using a regular Lua VM, which does not make sense for a Mihini app that actually relies on the Mihini VM to run.
So in order to actually test Mihini application, you need to have Mihini correctly compiled for your Linux target (yup, sorry, no Windows support for the Mihini runtime itself as of today).
You can retrieve a pre-built binary here https://hudson.eclipse.org/hudson/job/mihini-nightly/lastSuccessfulBuild/artifact/ ; and in general if you follow the following instructions http://wiki.eclipse.org/Mihini/Run_Mihini_on_an_Open_Hardware_platform you should have a better understanding of the steps for running your first Mihini Hello World ;-)

Let us know if you need further assistance!
Benjamin--


De : 木头欣心o <334627855@xxxxxx>
Répondre à : General development dicussions for the Koneki project <koneki-dev@xxxxxxxxxxx>
Date : mardi 9 avril 2013 10:06
À : koneki-dev <koneki-dev@xxxxxxxxxxx>
Objet : [koneki-dev] Problem while using mihini-0.8 Execution Environment in LDT 0.9 with Win 7

Hi all,

I am new to LDT and Mihini.
This is my LDT Lua Execution Environment:
Then I created a new Lua project with Execution Environment mihini-0.8:


When I click finish, it will generate a default main.lua:
 

When I run it, the problem happen:
Exception in thread "main" com.naef.jnlua.LuaRuntimeException: C:\wood\work\workspaces\koneki_ldt\test\src\main.lua:1: module 'sched' not found:
no field package.preload['sched']
no file 'C:\wood\work\workspaces\koneki_ldt\test\src\sched.lua'
no file 'C:\wood\work\workspaces\koneki_ldt\test\src\sched\init.lua'
no file 'C:\wood\work\workspaces\koneki_ldt\test\src\sched.luac'
no file 'C:\wood\work\workspaces\koneki_ldt\test\src\sched\init.luac'
no file '.\sched.dll'
no file '.\sched51.dll'
no file 'C:\Program Files (x86)\Java\jdk1.6.0_24\jre\bin\sched.dll'
no file 'C:\Program Files (x86)\Java\jdk1.6.0_24\jre\bin\sched51.dll'
no file 'C:\Program Files (x86)\Java\jdk1.6.0_24\jre\bin\clibs\sched.dll'
no file 'C:\Program Files (x86)\Java\jdk1.6.0_24\jre\bin\clibs\sched51.dll'
no file 'C:\Program Files (x86)\Java\jdk1.6.0_24\jre\bin\loadall.dll'
no file 'C:\Program Files (x86)\Java\jdk1.6.0_24\jre\bin\clibs\loadall.dll'
at com.naef.jnlua.LuaState.lua_pcall(Native Method)
at com.naef.jnlua.LuaState.call(LuaState.java:555)
at org.eclipse.koneki.ldt.support.lua51.internal.interpreter.JNLuaLauncher.run(JNLuaLauncher.java:122)
at org.eclipse.koneki.ldt.support.lua51.internal.interpreter.JNLuaLauncher.main(JNLuaLauncher.java:137)


Can you help me ?

Best Regards
Yong-Jie


Back to the top