05-14-2012 05:36 PM
Hi, I'm new to working on large project and i'm facing problems trying to integrate 3rd party libs into my project. All of the source codes for such libraries i've downloaded (such as id3lib, fftw) come with instructions such as run .configure; make ; install
From what i understand, what i need to do to use such libraries is use the header file provided in the includes folder(usually) and add the -l flag for the library when linking. I probably just looking for instructions to generate the library file.
I've spent the entire day trying to get this to work but to no result. I've picked up many new skills such as working with cascades but without the help of such external libraries i wont be able to add much value to my application. Any help, or links to guides will be greatly appreciated.
05-14-2012 05:48 PM
If you are in a cascades project, here is a method to specify the -l flag:
05-14-2012 06:19 PM
Thank you James for your time, but that is not what im looking for. The libraries im dealing with have not been compiled yet and i'm looking for instructions to do that.
05-14-2012 06:52 PM
I've found that many build scripts work better on Linux than on Windows. If your dev environment is Windows, it's often better to start out building the dependant libs on Linux in a VM first, then copy to or replicate on Windows once you succeed and understand how it works.
This article provides a lot of background info:
https://bdsc.webapps.blackberry.com/native/documen
05-15-2012 03:16 AM
I would also say: use Linux in a VB to compile the libs and then copy them to Windows. Or use the Linux-VB to do the whole development. The System on the Playbook is Unix (QNX), so the best way to develop for it is using a Unix system.