1 /******************************************************************
3 * Copyright 2015 Samsung Electronics All Rights Reserved.
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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.
19 ******************************************************************/
21 ********* Steps to build and run tizen enrollee sample**********
23 1.Build iotitvity for tizen:
26 2. Install tizen Ide-2.3.0 or 2.3.1
28 3. Download and extract the boost library
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)
34 5.1 the following libs are required:
37 \95 libconnectivity_abstraction.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
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
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
58 go to "EnrolleeSample->properties->C/C++ build->C++ compiler->Includes" and the path to the boost library(from step3)