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

Native Development

Reply
Developer
zezke
Posts: 834
Registered: ‎12-12-2010
My Carrier: Mobile Vikings

Example shared library

Is there an example of a shared library BB10 project available? I am currently trying to build the unrar source as a shared library, but I would need some example make files to show how I can achieve this on BB10.

-------------------------------------------
Your like is much appreciated!
Samples: Park in Ghent
Feeling generous? Nominate me for BB Elite member!
Please use plain text.
New Developer
ctrlyati
Posts: 3
Registered: ‎12-17-2012
My Carrier: :D

Re: Example shared library

[ Edited ]

I have the problem with shared library too,
I looking for the solution too.

 

My solution, tempolary solution , is include all the code that inside.

 

if someone has better solution please tell me.

 

Please use plain text.
Developer
yamyu
Posts: 21
Registered: ‎06-15-2012
My Carrier: TX

Re: Example shared library

me too
Please use plain text.
Developer
BGmot
Posts: 966
Registered: ‎11-24-2011
My Carrier: x

Re: Example shared library

When you crate new project just choose Library as type of your project.

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

Re: Example shared library

These articles should help.

 

How to use a third party shared or static library in a Cascades C++ project

 

How to create a shared or static library to be used in other Cascades C++ projects

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.
Contributor
chrisandrewca
Posts: 11
Registered: ‎05-04-2011
My Carrier: None

Re: Example shared library

Creating a shared library project seems to work fine but I'm having an issue when using it from a cascades app: http://supportforums.blackberry.com/t5/Cascades-Development/How-to-call-moc-exe-for-shared-library-u...
Please use plain text.
Developer
BGmot
Posts: 966
Registered: ‎11-24-2011
My Carrier: x

Re: Example shared library

Seems like you lib contains files that must be moc'd. So run moc on them, then include .c files you get into the project and your library will include all necessary symbols.

Please use plain text.