(Important note) Build Issue on MAC 2.1.1

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

cross mob
Anonymous
Not applicable

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 Solution

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

View solution in original post

10 Replies
VikramR_26
Employee
Employee
25 sign-ins 10 sign-ins 10 comments on KBA

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

0 Likes
Anonymous
Not applicable

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

0 Likes

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

Thanks,

vik86

0 Likes
Anonymous
Not applicable

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!

0 Likes
Anonymous
Not applicable

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.

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

Anonymous
Not applicable

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

0 Likes
Anonymous
Not applicable

This worked! Thanks!

Anonymous
Not applicable

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