I have built a qt enabled image and a host tool chain with open embedded layers with bitbake and angstrom-qt5-x11-image recipe now I want to add pjsip and it’s modules to image and to my host tool chain.
for this purpose I followed this link:
it seems that only include and pkgconfig file copied to directory and no library file were there so when i try to run pjsip functions on qt i will get undefined refrence to pjsip libraries.
also I can find pjsip library in /home/amin/oe-core/build/tmp-glibc/sysroots-components/armv7at2hf-neon-mx6qdl/pjproject/usr/lib
I think that pjsip is completely installed in target because I can find pjsip in /home/amin/oe-core/build/buildhistory/packages/armv7at2hf-neon-mx6qdl-angstrom-linux-gnueabi/pjproject but also I cant find it in native sdk build history
Further more in bitbake procedure i can see it compile pjproject from external source
Actually now I’m developing a project that has been written on Toradex BSP 2.8b7 because of that I prefer to use older version if that would be possible.
What do you mean by generated -dev package should I run devtool build pjproject?
As you can see there are some nativesdk-pjproject there to produce these files these are the new changes I made to add pjproject to my host(correct me if I’m wrong)
Sorry I didn’t mean what you have in the yocto build directory. As I understood you build the toolchain with -c populate_sdk and then you install it with ./angstrom-glibc-x86_64-armv7at2hf-neon-v2017.12-toolchain.sh. You install this toolchain to a directory (default /usr/lcoal/something). So you should run the find command there:
That solved the problem now I’m able to create a static executable file with pjsip libraries and run it on my target
Also I can find library files in my tool chain directory
But one question still remains in my head, my tool chain always make a static output executable file and that’s ok but Is sdk always make a static build or I can change this procedure and make them dynamic?