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
Developer
Posts: 251
Registered: ‎11-22-2011
My Device: Blackberry Playbook
My Carrier: vodafone
Accepted Solution

make*** errors with InvokeManager

I am new in c++, so maybe this question is stupid.

 

In wanted to test the invokemManager, so i included 

 

#include <bb/system/InvokeManager>

using namespace bb::system;

 

and  as soon as i type in the constructor:


InvokeManager *iManager = new InvokeManager(this);

 

i alway get the following errors while building the app:

 

make: *** [Device-Debug] Error 2

make[1]: *** [debug] Error 2

make[2]: *** [o.le-v7-g/Test3App] Error 1

 

What am i missing?

 

Thanks!

 

 

Developer
Posts: 64
Registered: ‎09-10-2012
My Device: Developer
My Carrier: AMX

Re: make*** errors with InvokeManager

Hello!

 

I'm new to C++ too, and I've had some trouble passing a project from Beta2 to Beta3.

I just had this problem, and I found in the InvokeManager reference that

To link against this class, add the following line to your .pro file : LIBS += -lbbsystem.

 

So open your project's .pro and paste -lbbsystem where necessary.

 

Pepe

Developer
Posts: 251
Registered: ‎11-22-2011
My Device: Blackberry Playbook
My Carrier: vodafone

Re: make*** errors with InvokeManager

Thanks, thanks, thanks 

The error occurs even in an new, empty Beta3 App, when using the Invokemanager.