07-10-2012 10:02 AM
I need a help regarding creating a static library in cascades. The steps I did was, New project(Blackberry c++ project)->selecting static library->selecting mode of release.
Then, project created with include folder,src and public folder. Ok .. If we build it means need to create the library libClassname.a, for me its not creating.. I dont know why?
Can anyone help me?
07-11-2012 01:17 PM
When you create a static library, select the C++/Makefile build. If you choose to put your source code in the /public folder, you must modify the common.mk file to add
Select the approprate build, compile and it should generate a libname.a file in the appropriate folder
07-19-2012 03:31 AM
In cascade app, I gave the Template = lib and CONFIG +=staticlib ,but it shows the below error. What to do for it?
**** Build of configuration Default for project samplelib **** make Device-Debug F:/bbndk-10.0.4-beta/host/win32/x86/usr/bin/qmake -spec unsupported/blackberry-armv7le-g++ -o arm/Makefile samplelib.pro CONFIG+=device WARNING: Failure to find: ../src/*.h F:/bbndk-10.0.4-beta/host/win32/x86/usr/bin/qmake -spec unsupported/blackberry-x86-g++ -o x86/Makefile samplelib.pro CONFIG+=simulator WARNING: Failure to find: ../src/*.h make -C ./translations -f Makefile update release make: Entering directory `F:/lib_trialworkspace/samplelib/translations' F:/bbndk-10.0.4-beta/host/win32/x86/usr/bin/lupdat