Eclipse MAC install for SDK 3.1.1

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I have downloaded and uncompressed the SDK 3.1.1.

It is at /Applications/WICED/WICED-SDK-3.1.1

From the Eclipse IDE, I select "Import Project" and points it to /Applications/WICED/WICED-SDK-3.1.1

Eclipse does not import it, with the error message "No projects are found to import"

What am I doing wrong?

1 Solution
Anonymous
Not applicable

Fixed!

Only the file .project is required.

I changed it from 2.4.1 to 3.1.1, and the project loaded correctly.

View solution in original post

4 Replies
Anonymous
Not applicable

I think I found the problem: the package is missing a few files:

.cproject

.project

.gdbinit

Can you get us those missing files?

Or can I use the 2.4.1 files as templates and create my own 3.1.1 files?

0 Likes
Anonymous
Not applicable

Fixed!

Only the file .project is required.

I changed it from 2.4.1 to 3.1.1, and the project loaded correctly.

To import existing code from scratch (without .project), do the following:

  1. Create a new "Makefile Project from Existing Code"
  2. Browse to the top level directory of the source
  3. The project name will automatically be populated with the folder's name; change as you like
  4. Check 'C' and uncheck 'C++' under languages
  5. Select <none> under toolchain (haven't experimented with others)

.gdbinit is not project related and is made during the build process

0 Likes
Anonymous
Not applicable

Thanks cary.wong!

Please note that I was not talking about importing existing code into a "regular" project. I was talking about installing the 3.1.1 SDK API, on MAC.

The package from Broadcom was missing some files, I had to add them in order to install the SDK.

Furthermore, I cannot compile anything.

For example, if I try to make the target snip.scan-BCM943362WCD4

I receive the following error:

-----------------------------------------------------------------------

Errors occurred during the build.

Errors running builder 'CDT Builder' on project 'WICED-SDK-3.1.1'.

java.lang.NullPointerException

-----------------------------------------------------------------------

Do you know how to fix that?

I reverted to using a previous version in the meantime.

0 Likes