I will some more details.

We are making a new package for tizen along with its c-api (This is the X.rpm referred below in the email thread).

We have a test application for the c-api of the package (this is the Y.tpk referred below in the email thread).


This new package (along with its dependencies) is installed in the emulator (push the rpm file in emulator and install using "rpm -i X.rpm").

However, it is not reflected in the Tizen Studio SDK. The header files corresponding to the c-api are not visible to the SDK. This results in build fail.

 

Can you please guide me how to install package properly with SDK.

 

Regards

Parichay

--------- Original Message ---------

Sender : Parichay Kapoor <pk.kap...@samsung.com> Engineer/On-Device Lab./Samsung Electronics

Date : 2019-04-19 13:46 (GMT+9)

Title : [Tizen Application-dev] Adding new rpm packages to emulator+tizen studio

 

Hello

 

I need help in installing a new rpm package to my Tizen development environment properly, so that it is available for an application. I will describe in detail below.

 

There is a tizen package which I built with GBS (lets call this package X.rpm). Now, I installed that package on the tizen emulator (mobile 5.0 in this case) and the package is installed without any issues. I installed the tizen package (X.rpm) along with the development version as well. Hence, the installation added shared object (.so), static library (.a) and header files (.h) in /usr/lib and /usr/include in the tizen emulator (this has been verified).


Now, I want to make a tizen application (in tizen studio) using this package (lets call this application Y.tpk). I am able to load the package (X.rpm) shared object library at runtime with dlopen/dlsym and run my application successfully. However, when I try to include the header files of the package, my application (Y.tpk) cannot find the header files from X.rpm during the build process.

 

I checked inside the /usr/include of the mobile-5.0-emulator-core and the includes from X.rpm are not present.

Can you please guide me how to sync the installation of rpm package in emulator as well as with tizen studio.

 

Regards
Parichay

_______________________________________________
Application-dev mailing list
Application-dev@lists.tizen.org
https://lists.tizen.org/listinfo/application-dev

 

 

_______________________________________________
Application-dev mailing list
Application-dev@lists.tizen.org
https://lists.tizen.org/listinfo/application-dev

Reply via email to