05-06-2012 10:29 PM
After installing the BB10 NDK - no errors or problems with the installation - I attempted to build a simple hello world app under Mac OSX Lion
When I build it for a device, it compiles and links correctly.
When I set the active build config to the simulator, everything compiles correctly but I get several linker errors:
Sample of errors:
(And so on, for six or seven mroe libs)
These libs are present in x86 form, under the x86 target directory.
Do I need to manually set up the library path for mac/x86? And if so, how? I've been through all the options I can find for the project/workspace, and whlie I see the settings for changing include path, I've not found anything for lib path.
Any suggestions are appreciated.
Solved! Go to Solution.
05-07-2012 01:11 AM
I had this same problem and found out that it was caused by a persistent qmake variable called QNX_STAGE
I was able to check by running this command:
usr/bin/qmake -query QNX_STAGE
and the new BB10 has one of its base build conf files (/Developer/SDKs/bbndk-10.0.4-beta/target/qnx6/usr
I was able to unset the variable by running this command, and then everything worked afterwards:
usr/bin/qmake -unset QNX_STAGE
05-07-2012 09:22 AM
Excellent, thank you! This did the trick.