I’m porting some software to the Legato. Some of the software is built as a static library (for a number of reasons).
If I try to create a ‘New C++ project’ of type ‘Static Library’ (or Dynamic Library for that matter) using the ‘Legato Linux GCC’ toolchain, the wizard pops up an ‘Project cannot be created error’ box with a java.lang.NullPointerException message and the creation fails.
However, if I create a standard C++ project an then change the properties to be a static library, all is good.
Have you seen this? Can you reproduce this? Is this a SiWi problem, or a upstream CDT/Eclipse problem?
Just made the test, and reproducing it here…
This one is on our side; fortunately you have a workaround for it, but as soon as we have a fix, I’ll push a patch here.
We’ve released a patch to fix this problem.
Install instructions:
[ul]
[li] Go to Help > Install New Software…[/li]
[li] Click the Add… button, and add the [b]http://updatesite.sierrawireless.com/developerStudio3/patches[/b] URL[/li]
[li] Uncheck the Group items by category checkbox[/li]
[li] Select the C/C++ project management patch item in the list[/li]
[li] Click Finish and follow the steps[/li]
[li] Restart DS when required[/li][/ul]
After that you should be able to create library projects with the Legato Linux toolchain.
Note: this patch will have to be uninstalled if you upgrade your DS install later.