QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
What is the Aplib_s11 library? |
Ref. No. |
QNX.000008862 |
Category(ies) |
Development |
Issue |
What exactly is Aplib_s11 library and when is it needed?
I start Photon with 'ph' which starts the font manager, pwm and installs phlib_s11 and can run like an app with a simple slider object. However I bring over 'voyager' and 'voyager.server' and Voyager says it needs Aplib_s11. What exactly is provided in Aplib_s11 and not in phlib_s11?
|
Solution |
Aplib is a library for PhAB function calls. This means, usually anything written in PhAB, uses this library. i.e. PhAB uses PtCreateWidget, so it is in the library. Photon programs not made with PhAB usually just use phlib_s11. Although you can't see what's in the Aplib library, if you do this: strings /qnx4/photon/bin/phlib_s11 you will be able to see some of then contents of the phlib_s11 lib.
To get Voyager to run without this library, you might be able to try the following suggestions:
-Link Voyager statically, so it includes the modules from Aplib_s11, and doesn't require it later.
-Instead of linking aplib_s use aplib.
|
|