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
Posts: 25
Registered: ‎04-08-2011
My Device: Torch 9800
My Carrier: Movistar
Accepted Solution

Can't get PIN number

Hi,

I'm trying to use HardwareInfo class to get PIN number, but I can't compile successfully.

I'm getting:

undefined reference to `bb::device::HardwareInfo:Smiley Tonguein()

 

It's needed to link with some lib?

 

I couldn't find usefull information, this is the only I found https://developer.blackberry.com/cascades/reference/bb__device__hardwareinfo.html

 

Thanks

Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: Can't get PIN number

try linking with -lbbdevice

Highlighted
Contributor
Posts: 25
Registered: ‎04-08-2011
My Device: Torch 9800
My Carrier: Movistar

Re: Can't get PIN number

Great, now it's working.

 

Thank you