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

Web and WebWorks Development

Reply
Highlighted
Developer
Posts: 1,230
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Linking external library into WW extension

I'm (trying) to write an UnRar extension for WebWorks

 

I've build libunrar.so for device and simulator from slightly modified source (statvfs rather than statfs) of UnRar

 

Now I'm starting on the extension code so I imported the libraries into the project -> lib -> devece / simulator folders for libunrar.so

 

I've added the relevant libraries to the project properties. I've tried using both filesystem to point at the library and /${ProjDirPath}/lib/device/libunrar.so

 

When it tries linking I keep getting the following error via -l/C:/dev/bbndksrc/unrar/lib/device/libunrar.so

 

C:\dev\bbndk\host_10_1_0_235\win32\x86\usr\bin\ntoarm-ld: cannot find -lC:\dev\bbndksrc\unrar\lib\device\libunrar.so

 




Click the like button if you find my posts useful!