[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [koneki-dev] Problem while using mihini-0.8 Execution Environment 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

Attachment: 6E0C286B@F13BA906.17CC6351.jpg
Description: 6E0C286B@F13BA906.17CC6351.jpg

Attachment: 257247B8@F13BA906.17CC6351.jpg
Description: 257247B8@F13BA906.17CC6351.jpg

Attachment: ADABC2F8@F13BA906.17CC6351.jpg
Description: ADABC2F8@F13BA906.17CC6351.jpg