12-25-2013 07:18 AM
I tried running sample code from this link http://http://blackberry.github.io/Cascades-Sample
Any idea what's wrong?
Solved! Go to Solution.
12-25-2013 04:50 PM
Did you include libbps in your app?
"Project->Add Library...->Standard BlackBerry application library->Next" then make sure "BlackBerry Platform Services" is checked in the "Platform" section.
12-26-2013 10:12 AM
12-26-2013 11:29 AM
Ok, as BBSJdev reports, you can add this library directly to your .pro file, but I'm curious what IDE you are using if you don't have that setting on your menu? An older version of Momentics, or perhaps QtCreator or other alternate IDE?
Well I can't find that path in my ide. Thanks for help though.
12-26-2013 12:20 PM
12-26-2013 12:45 PM
12-26-2013 12:50 PM
Ok, then I think I know what the problem is... in my instructions I forgot to mention that you need to have the project highlighted in the project explorer before you will see the "Add Library..." menu option. In the project explorer in the left panel click on the project you want to add the library to, then go to "Project->Add Library..." on the main Momentics menu.
My bad, sorry.
I'm using ver 2.0
12-26-2013 03:10 PM
That's because you have to tweak the name of the library a little in the .pro file. You need to drop the "lib" part and then preface the remainder with "-l", so the correct syntax is:
LIBS += -lbps
One small issue has just crept in, I'm getting the error like "cannot find -libbps" after adding "LIBS += -libbps" in .pro file