4 Replies Latest reply on Nov 6, 2014 2:29 PM by userc_11153

    Eclipse MAC install for SDK 3.1.1

      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. Re: Eclipse MAC install for SDK 3.1.1

          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?

          • 2. Re: Eclipse MAC install for SDK 3.1.1

            Fixed!

             

            Only the file .project is required.

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

            • 3. Re: Eclipse MAC install for SDK 3.1.1
              CaWo_1798781

              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

              • 4. Re: Eclipse MAC install for SDK 3.1.1

                Thanks CaWo_1798781!

                 

                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.