Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mihini-dev] How to create a launcher in mihini?

Hi Benjamin,

Thank you very much, I am also new to linux.

So I don't know what's the grammar should the run file must be follow.

Could you show me an example about run file?

Best Regards
Yong-Jie


------------------ Original ------------------
From:  "Benjamin Cabé"<bcabe@xxxxxxxxxxxxxxxxxx>;
Date:  Thu, Apr 11, 2013 11:47 PM
To:  "Mihini project developer discussions"<mihini-dev@xxxxxxxxxxx>;
Subject:  Re: [mihini-dev] How to create a launcher in mihini?

Hi Yon-Jie,

You actually have to create that file, and put in it the content that is mentioned here http://wiki.eclipse.org/Mihini/Run_Mihini_on_an_Open_Hardware_platform#Create_a_launcher

You may want to use emacs or nano or your editor of choice for creating this file. Also I think you will probably need to make it executable.
Feel very free to improve the instructions on the wiki if you find out something is missing!

Thanks for the very kind words! :-)
Benjamin--


De : <He>, Yong-Jie <334627855@xxxxxx>
Répondre à : Mihini project developer discussions <mihini-dev@xxxxxxxxxxx>
Date : jeudi 11 avril 2013 17:26
À : mihini-dev <mihini-dev@xxxxxxxxxxx>
Objet : [mihini-dev] How to create a launcher in mihini?

Hi All,

I am new to mihini, I think it's amazing!

to finish my first application with mihini.

But  I have problem at Step 5.

Create a launcher

Mihini Application container runs executables. To run a Lua application, we need to set some variables beforehand and then lauch your application. In order to do so lets create the proper launcher. In the Mihini world, it is an executable file called run. Here is its content:


But after I execute /home/pi/mihini/bin/lua main.lua

There is no proper launcher with name run in my folder.


Could some give help to guide me how to create a launcher?


Thanks!


Best Regards

Yong-Jie



Back to the top