[Tizen Application-dev] query on how to generate so(shared object) or library using tizen SDK
roland.kloeters at xcom.de
Fri Aug 24 08:36:44 GMT 2012
ad 1) If you already have a Makefile that part is solved for me.
ad 2) I just don't understand what you understand by "the Tizen SDK".
What is the Tizen SDK for you? I need some clarification on that to help
Am 22.08.2012 07:46, schrieb smk valli:
> Hi Roland,
> This problem is not yet resolved for us, the question is
> 1) We have a set of folders with a set of C and C++ files, need
> to build them to generate an “.so” and a make file is written for the same
> 2) How to ensure that our make file is using the Tizen SDK or
> not? And how to set the Tizen SDK path so that make file uses that ?
> Thanks & regards
> On Tue, Aug 14, 2012 at 7:13 PM, Roland Kloeters
> <roland.kloeters at xcom.de <mailto:roland.kloeters at xcom.de>> wrote:
> Hi Valli,
> now I think I understand.
> What you try to achieve is to build a shared object that is
> available system wide for any Tizen application that wants to use
> it, so far correct?
> I assume you develop in the first place for the emulator being
> shipped with the Tizen SDK.
> You can use the Tizen IDE to create a Tizen native project.
> Write your code and let it compile.
> If you know how to write a Makefile you have done that already and
> have a shared object in the end after compilation.
> If you want to integrate that into your build environment you have
> to create a *.deb package.
> Search for how to create a debian package on the net. There is
> lots of information.
> You can also check the Tizen sources for examples.
> If you were finally able to create yourself a *.deb package you
> can install it into you build environment with the Tizen SDK
> package manager.
> Search the Tizen docs and wiki for full instructions on that topic
> Now you are able to use your homegrown shared object when
> developing other applications depending on that library.
> You can find examples in the Tizen sources. A good hint is a call
> to find_package( xxx yyy ) in the CMakeLists.txt files of projects
> being hosted on the Tizen GIT.
> I hope I got you right.
> Kind regards
> Am 14.08.2012 15:18, schrieb smk valli:
>> Hi Roland,
>> let me tell you my usecase.
>> 1) i have a code base in C/C++, which will not be having any GUI.
>> 2) I want to generate ".so" and want to use it with Tizen
>> 3) i.e. ".so" should be compatible for Tizen application. so i
>> want to ensure that my code is builded with Tizen SDK.
>> same thing i have done for Android. Exported Android NDK and SDK
>> paths and builded ".so" file and used that with Android
>> Application code.
>> Looking for the same steps now for Tizen.
>> thanks & regards
>> On Tue, Aug 14, 2012 at 6:42 PM, Roland Kloeters
>> <roland.kloeters at xcom.de <mailto:roland.kloeters at xcom.de>> wrote:
>> Hi Valli,
>> I don't understand the special need.
>> If you build a shared object and install it in a system
>> directory (e.g. /usr/lib/) each application that wants to use
>> it can be linked against it.
>> So where is your special need of the TIZEN SDK?
>> Kind regards
>> Am 14.08.2012 15:03, schrieb smk valli:
>>> Hi Roland,
>>> I have a specific native code which needs to be built using
>>> Tizen SDK. in my make file i want to set the Tizen SDK path
>>> and my .so should be able to link with Tizen applications.
>>> How can i ensure make file is using Tizen SDK or not?
>>> thanks & regards
>>> On Tue, Aug 14, 2012 at 6:07 PM, Roland Kloeters
>>> <roland.kloeters at xcom.de <mailto:roland.kloeters at xcom.de>>
>>> Hi Valli,
>>> this is not a Tizen specific problem but rather a
>>> general developer problem.
>>> Usually you have to create a Makefile to build a shared
>>> As far as I understand Tizen there is no limitation
>>> being made by the TIZEN SDK.
>>> If you are not familiar with Linux C/C++ programming and
>>> Makefile have a look at www.cmake.org
>>> There you might find some useful information on how to
>>> create a CMake based Makefile for creating a shared object.
>>> Kind regards
>>> Am 14.08.2012 14:25, schrieb smk valli:
>>>> Hi All,
>>>> I have a code base which is in C/C++ language. I want
>>>> to build it as a library/share object using tizen SDK.
>>>> Can any body tell me how can i do this? No where found
>>>> any clear steps for doing this.
>>>> NOTE: Installed Tizen SDK, IDE and Emulator in Ubuntu
>>>> thanks & regards
>>>> Application-dev mailing list
>>>> Application-dev at lists.tizen.org <mailto:Application-dev at lists.tizen.org>
>>> Application-dev mailing list
>>> Application-dev at lists.tizen.org
>>> <mailto:Application-dev at lists.tizen.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Application-dev