are you compiling VScode?
No, I tested Ubutntu16.04 by using leaf shell.
Have you done a “make clean” before compilation?
“make clean” was failed (male: *** No rule to make target ‘clean’. Stop.)
And I also failed mkapp -t wp76xx helloWorld.adef, it was shown “ninja: error”…
(1) Download leaf shell
(2) leaf setup
(3) Compile toolchain
(4) execute (3)
(5) try to mkapp -t wp76xx helloWorld.adef, but it was failed as above.
jyijyi
October 5, 2020, 6:00am
11
seems this is not related to printf(), can you try to comment out printf() and see if you can make clean and mkapp???
I remember you used Developer studio before, you can switch back to Developer studio and see if you can compile first
20201005_ds.log (18.3 KB)
Please check the above console log, my helloWorld project was failed build in developer studio.
BTW, the test module was installed legato 20.04, but DS was 19.02, because there is no selection as 20.04 in DS.
jyijyi
October 5, 2020, 7:16am
13
i think you need to install the developer studio again as previously you can build helloworld app.
Here also teaches you how to import new legato package to DS:
Also you can consider to use VSCODE to compile helloworld app.
Thank you for information about installing latest version, but DS could not show any files when I select “leaf-data” for toolchain and legato…
**
Also you can consider to use VSCODE to compile helloworld app.
Currently, I would like to focus on the using leaf or dev studio, because I have never been confirmed VSCODE.
jyijyi
October 5, 2020, 8:03am
15
In DS, go to the Package Manager perspective
In Window > Preferences, untick the Developer Studio > Package Manager > Work only with baseline packages option
Thanks a lot!.
However, adding toolchain and legato could not be selected in “New → Create legato Application”…
jyijyi
October 5, 2020, 8:16am
17
Please see here, espeacially on step 3( for your case, you need to click “Create” instead of “Duplicate”):
Hi @lichen
First of all, to explain why the latest Legato version available in DS for WP85/WP75 is still 16.10.3, please have a look at the release information for the Legato Framework:
http://legato.io/legato-docs/latest/aboutReleaseInfo.html#releaseInfo_LegatoAFReleases
To summarize: DS proposes by default only the packages matching with products official releases, for each supported module. The last release for WP85/75 is still Release 14, embedding Legato 16.10.3
In the meantime, the Leg…
you’ll need to select both the new Toolchain and the Application Framework in the Package selection tabs.
you’ll need to select both the new Toolchain and the Application Framework in the Package selection tabs.
Adding toolchain and legato could not see in “Package selection”…
jyijyi
October 5, 2020, 8:40am
19
did you really install the toolchain and legato framework?
Maybe you can also see this document and see if there is any missing steps.
DevStudio - Import Leaf Package.docx (394.4 KB)
Thanks, I can setup new toolchain and legato.
However, build error was still happened as follows…
jyijyi
October 5, 2020, 8:48am
21
You should see the “console” tab, not the “problems” tab.
Can you compile out the hello.update file?
If yes, you can ignore those errors.
No, .update was NOT created.
And “console” tab show as follows, it seems there is no Error message…
New Empty File.log (8.4 KB)
jyijyi
October 5, 2020, 8:56am
23
The .update file should be in “home/macnica/Downloads/DeveloperStudio/workspace/helloWorld_ds/Target_Legato_Debug”
Please check again.
Oh, I confirmed! Sorry for mistake.
I confirmed helloWorld app was shown the message of LE_INFO correctly.
Next step, I add printf() in this helloWorld, instead of LE_INFO.
Build was succeeded, but there is no message of printf() as follows.
printf_console.log (7.6 KB)
jyijyi
October 5, 2020, 9:07am
25
Do you see this problem in official r13?
I suggest you start with r13 which is official release
Build was succeeded, but .update file was not created as follows.
(It’s same result when LE_INFO was used.)
jyijyi
October 5, 2020, 9:33am
27
There is no helloWorld_dsComponent folder in your project!
Also there is no adef file…
I re-created new project that was used official R13.
However, build was failed as the follows…
Should I connect Device before building?
jyijyi
October 5, 2020, 9:43am
29
seems it is corrupted from your console message.
no idea on this as this is a straight forward task where R13 package can be downloaded in package manager in Developer studio.
Maybe you can try another PC.