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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Contributor
AleksDef
Posts: 42
Registered: ‎05-30-2012
My Carrier: Developer
Accepted Solution

BBM Integartion library name error in .pro file

The bar descriptor file is set right. This is what I included in the .pro file:

 

LIBS += -lbbplatformbbm

 

This is what I get as a result:

 

MAKEFILE_GENERATORC:\bbndk\host_10_0_9_52\win32\x86\usr\bin\ntox86-ld: cannot find -lbbplatformbbm
cc: C:/bbndk/host_10_0_9_52/win32/x86/usr/bin/ntox86-ld caught signal 1
make[2]: *** [o-g/PicStory] Error 1
make[2]: Leaving directory `C:/Users/Aleksandar/ndk-10.0.9-workspace/PicStory/PicStory/x86'
make[1]: Leaving directory `C:/Users/Aleksandar/ndk-10.0.9-workspace/PicStory/PicStory/x86'
make[1]: *** [debug] Error 2
make: *** [Simulator-Debug] Error 2

 

As can be seen, I build for simulator. How do I fix this error?

Please use plain text.
Super Contributor
Meghasanghvi
Posts: 301
Registered: ‎08-10-2010

Re: BBM Integartion library name error in .pro file

Hi,

You can find the BBM integration demo  on the following link.

 

Link: https://github.com/blackberry/Cascades-Community-Samples

 

 

 

Thanks,

Megha.

 

Please use plain text.
Developer
kylefowler
Posts: 479
Registered: ‎05-17-2009
My Carrier: ATT

Re: BBM Integartion library name error in .pro file

You need both of these 

LIBS += -lbbmsp

LIBS += -lbbplatformbbm

Like all of my posts
Please use plain text.
Contributor
AleksDef
Posts: 42
Registered: ‎05-30-2012
My Carrier: Developer

Re: BBM Integartion library name error in .pro file

[ Edited ]

The Cascade samples (which I did check out before) contain the same library.

 

Including both:

 

LIBS += -lbbmsp
LIBS += -lbbplatformbbm

Doesn't make any difference, I still get the same error.

 

Have you tried bulding it for simulator?

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: BBM Integartion library name error in .pro file

The BlackBerry Devl Alpha Simulator does not currently support BBM.  Are you getting any errors when building for device?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
New Developer
setiawand
Posts: 38
Registered: ‎07-12-2012
My Carrier: Telkomsel

Re: BBM Integartion library name error in .pro file

I do get the same error and im building on dev alpha ???

Please use plain text.
Developer
jaiaca
Posts: 91
Registered: ‎10-06-2012
My Carrier: Rogers

Re: BBM Integartion library name error in .pro file

This worked for me. Everything was working fine with BBM and then without the device I started getting this error message all the time. Now I need to look into commenting out stuff (or doing something else) if I don't have the device handle.

But thanks for the confirmation.
Jason I. Carter
Follow me @jasonicarter
Built For BlackBerry - WordsPlus | word search has never had it so good
www.twocasualcoders.com | never casual on quality
Please use plain text.