10 Replies Latest reply on Nov 29, 2015 7:25 AM by garageio

    (Important note) Build Issue on MAC 2.1.1

      I see the following while trying to build the hello_sensor on MAC using the 2.1.1 IDE.

       

       

      **** Build of configuration Release for project WICED-Smart-SDK ****

      "/Users/user/Documents/Electronics Software/WICED Broadcom/WICED-Smart-SDK/make" hello_sensor-BCM920736TAG_Q32 download

      Unknown host

      Linux32 uname: ""

      Linux64 uname: ""

      OSX uname: ""

      Win32 uname: ""

      Build Finished (took 223ms)

        • 1. Re: Build Issue on MAC 2.1.1
          VikramR_26

          Hi Sambhav,

           

          I tried reproducing and was not successful, could you kindly make sure the installation was successful, also I'm guessing in your installation path "Electronics Software/WICED Broadcom/" there are spaces and this might be causing it. Could you kindly re install and avoid spaces in your folder names, check these and let us know if you still see the issue.


          thnx,

          vik86

          • 2. Re: Build Issue on MAC 2.1.1

            Hi,

             

            I changed the folder and the installation was successful. But while building the helo_sensor this is the error

             

            make[2]: *** No rule to make target `base'.  Stop.

            make[1]: *** [../tier2/brcm/mandatory/bld//patch.symdefs] Error 2

            make[1]: *** Waiting for unfinished jobs....

            make: *** [hello_sensor-BCM920736TAG_Q32] Error 2

            • 3. Re: Build Issue on MAC 2.1.1
              VikramR_26

              Could you paste the complete error . Also could you tell me your mac os version.

               

              Thanks,

              vik86

              • 4. Re: Build Issue on MAC 2.1.1

                My mac version is 10.10.

                 

                The console prints this:

                 

                 

                03:12:20 **** Build of configuration Release for project WICED-Smart-SDK ****

                /Users/feetlost/Documents/WICED/WICED-Smart-SDK-2.1.1/WICED-Smart-SDK/make ibeacon_device-BCM920736TAG_Q32 download

                dyld: Library not loaded: /System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/libperl.dylib

                  Referenced from: /Users/feetlost/Documents/WICED/WICED-Smart-SDK-2.1.1/WICED-Smart-SDK/Wiced-Smart/spar/../../Tools/common/OSX/perl

                  Reason: image not found

                make[1]: *** No rule to make target `../tier2/brcm/libraries/lib//additional_advertisement_control.a', needed by `../../build/ibeacon_device-BCM920736TAG_Q32-rom-ram-Wiced-release/lib_installer.c'.  Stop.

                make[1]: *** Waiting for unfinished jobs....

                make[2]: *** No rule to make target `base'.  Stop.

                make[1]: *** [../tier2/brcm/mandatory/bld//patch.symdefs] Error 2

                make: *** [ibeacon_device-BCM920736TAG_Q32] Error 2

                 

                03:12:21 Build Finished (took 453ms)

                 

                In the problems window I see this

                 

                DescriptionResourcePathLocationType
                make[1]: *** No rule to make target `../tier2/brcm/libraries/lib//additional_advertisement_control.a', needed by `../../build/ibeacon_device-BCM920736TAG_Q32-rom-ram-Wiced-release/lib_installer.c'.  Stop.WICED-Smart-SDKC/C++ Problem
                make[1]: *** Waiting for unfinished jobs....WICED-Smart-SDKC/C++ Problem
                make[2]: *** No rule to make target `base'.  Stop.WICED-Smart-SDKC/C++ Problem
                make[1]: *** [../tier2/brcm/mandatory/bld//patch.symdefs] Error 2WICED-Smart-SDKC/C++ Problem
                make: *** [ibeacon_device-BCM920736TAG_Q32] Error 2WICED-Smart-SDKC/C++ Problem

                 

                Hope this helps. Let me know if you need anything else!

                • 5. Re: Build Issue on MAC 2.1.1

                  Please try building hello_sensor-BCM920736TAG_Q32 first.

                   

                  ibeacon_device-BCM920736TAG_Q32 requires a library that will be provided only to MFi licensee.

                  Please read README.txt carefully.

                  1 of 1 people found this helpful
                  • 6. Re: Build Issue on MAC 2.1.1
                    VikramR_26

                    There is an issue with the sdk and would be fixed in next release, related to perl version on new Mac OSX .As a quick workaround,

                    1)Rename Tools/common/OSX/perl to perl.old

                    2)Create a symbolic link from from Tools/common/OSX/perl to the system's perl

                    ln -s /usr/bin/perl Tools/common/OSX/perl

                    and you can try hello_sensor to verify it works

                    thnx

                    vik86

                    1 of 1 people found this helpful
                    • 7. Re: Build Issue on MAC 2.1.1

                      I had the same issue.  Thanks vik86 for the instructions . . .fixed!

                      • 8. Re: Build Issue on MAC 2.1.1

                        This worked! Thanks!

                        1 of 1 people found this helpful
                        • 9. Re: (Important note) Build Issue on MAC 2.1.1
                          StBa_721356
                          1 of 1 people found this helpful
                          • 10. Re: Build Issue on MAC 2.1.1

                            This also worked for me! I am running OSX 10.11.1 and using the WICED Smart SDK 2.2.0. Thanks VikramR_26!

                            1 of 1 people found this helpful