Tizen support for enrollee
[platform/upstream/iotivity.git] / service / easy-setup / sampleapp / enrollee / tizen / Read ME.txt
1 /******************************************************************
2  *
3  * Copyright 2015 Samsung Electronics All Rights Reserved.
4  *
5  *
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  ******************************************************************/
20
21 ********* Steps to build and run tizen enrollee sample**********
22
23 1.Build iotitvity for tizen: 
24         sh gbsbuild.sh
25         
26 2. Install tizen Ide-2.3.0 or 2.3.1
27
28 3. Download and extract the boost library 
29
30 4. Import EnrolleeSample from "service\easysetup\sampleapp\tizen\"  \94.(Do not copy it into tizen workspace)
31 (make sure you have a full copy of iotivity)
32
33 5. Adding  Libraries:
34 5.1 the following libs are required:
35 \95       liboc.so
36 \95       liboctbstack.so
37 \95       libconnectivity_abstraction.so
38 \95       liboc_logger.so
39 \95       liboc_logger_core.so
40 \95       libESSDKLibrary.so
41 ****** and support libs****
42 \95       libboost_date_time.so
43 \95       libboost_system.so
44 \95       libboost_thread.so
45 \95       libuuid.so
46
47 5.2 how to get the first 6 libs:
48         1. Go the <user-home>/GBS-ROOT/local/repos/tizen/armv7l/RPMS/
49         2. copy iotivity-0.9.2-0.armv7l.rpm & iotivity-service-0.9.2-0.armv7l.rpm (these will be generated if step-1 is successfull)
50         3. Extract twice(first rpm and then cpio file) using 7-zip
51         4. this will generate a "usr/lib" folder
52         5. copy required libs to the lib folder to enrollee sample tizen project
53
54 5.3 the last four libs(boost and uuid) can be found at the following path:
55         <user-home>/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/usr/lib
56         
57 6. adding boost path:
58         go to "EnrolleeSample->properties->C/C++ build->C++ compiler->Includes" and the path to the boost library(from step3)