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 (e.g.
https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.help.pd%2FPackage+Manager.html).
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 application.
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
Valli.
On Tue, Aug 14, 2012 at 6:42 PM, Roland Kloeters
<[email protected] <mailto:[email protected]>> 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
Valli.
On Tue, Aug 14, 2012 at 6:07 PM, Roland Kloeters
<[email protected] <mailto:[email protected]>> wrote:
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 object.
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 <http://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 machine.
thanks & regards
Valli.
_______________________________________________
Application-dev mailing list
[email protected]
<mailto:[email protected]>
https://lists.tizen.org/listinfo/application-dev
_______________________________________________
Application-dev mailing list
[email protected]
<mailto:[email protected]>
https://lists.tizen.org/listinfo/application-dev
_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general