Mkapp: Command can not found


#1

hi,
i have a problem with the mkapp command :
mkapp -t wp85 helloWorld.adef
mkapp: command not found

Can you give me advises? Thank you.


#2

Each time you start a new terminal, you have to make sure that your build environment is setup correctly.
First step: please can you tell how you installed your Legato environment?


#3

hi,daav,
sorry for late reply.
My legato environment was build on the Ubuntu 16.04.1 for Legato 16.07 virtual machine, download from mangoh.io home link (Legato 16.07 for windows):
http://mangoh.io/getting-started.html

Best regards!


#4

Hi @lumao

If you’re on Windows, you can give a try with the installer for Windows available here: https://source.sierrawireless.com/resources/airprime/software/legato_application_development_kit_windows/

I suggest you to start by giving a try with the Developer Studio IDE.
If you prefer use the command line, there is a command-line mode for Windows as well.


#5

You just have to run bin/legs to set up your shell environment.

$ cd dir/where/legato/installed
$ bin/legs

Then you can try building the helloWorld app.

$ cd apps/sample/helloWorld
$ mkapp -t wp85 helloWorld.adef

#6

hi daav,
Thank you for your information. i will try to reinstall my IDE.

Best Regards!


#7

hi, jchitty,

Thanks for your info. i will have a try to do it.

Best Regards.