11-13-2012 06:36 AM - edited 11-13-2012 06:49 AM
Hi guys, I'm currently experimenting (well, learning) the BBM social platform library for BB10 native development.
I'm trying to implement the example from http://developer.blackberry.com/native/beta/refere
But I run into some problem, the first one is undefined reference to bbmsp functions which then I solved by adding bbmsp library to the linker.
But after that, there comes another build error that is the libbbmsp.so has an undefined reference to some Q... objects, here's a glimpse of the log
**** Build of configuration Device-Release for project BBMTest ****
**** Internal Builder is used for build ****
qcc -o BBMTest src\main.o -lbbmsp -lbps -V4.6.3,gcc_ntoarmv7le_cpp -w1 -lang-c++ -Wl,-z,relro -Wl,-z,now -pie -LD:/bb10sdk/target_10_0_9_386/qnx6/../target-over
... .... (much more things on Q objects)
Build error occurred, build is stopped
Now I'm kinda lost on what to do, it will be great if someone can help me on this issue.
Thanks a bunch
EDIT: As a side note, I'm currently developing a bb10 game with cocos2d-x and planning to add some bbm features onto the game
11-13-2012 01:21 PM - edited 11-13-2012 01:21 PM
Not sure what to day but probably you'd like to compile one of these BBM examples: https://github.com/blackberry/Core-Native-Communit
12-05-2012 12:07 PM
It requires only QtCore library, so no GUI elements. My project for example has nothing to do with Qt at all but I have to link with QtCore just to be able to use BBM integration.
12-05-2012 12:22 PM
I added the library QtCore and it complained: