Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Contributor
ImperialPenguin
Posts: 20
Registered: ‎07-15-2012
My Device: Developer
Accepted Solution

bbndk-env.sh not working

Okay, I have another problem. I'm trying to build a project from the command line, but bbndk-env isn't setting the variables. I'm sure I could go in and do it by hand but that is far less than ideal. 

I am on a Mac, using bbndk 2.0.0. Here is my terminal output showing the problem:

john-garrisons-imac:~ hemimg$ cd /Developer/SDKs/bbndk-2.0.0/
john-garrisons-imac:bbndk-2.0.0 hemimg$ ./bbndk-env.sh
john-garrisons-imac:bbndk-2.0.0 hemimg$ echo $QNX_HOST

john-garrisons-imac:bbndk-2.0.0 hemimg$ 
Any idea what is going on? I've looked at the script, and I don't see anything wrong with it, but it certainly isn't working.
Contributor
ImperialPenguin
Posts: 20
Registered: ‎07-15-2012
My Device: Developer

Re: bbndk-env.sh not working

Nevermind, I didn't see the part about having to run "source bbndk-sh.env".  It works now.