Question
I'm an undergraduate student trying to build and execute the signature-validator-until-3.0.cpp example from the Tizen platform's cert-svc package on my Ubuntu desktop for study purposes (Tizen 2.4 or later).
I've reviewed documentation like:
- Building packages locally with GBS
- Cloning Tizen source code
However, I'm having difficulty understanding where to begin. While I'm proficient in Git and C/C++ programming, this is my first time working with platform-level code.
Key questions:
- Is it possible to execute this example directly on Ubuntu?
- Do I need to use an emulator or other tools?
- Could you help me understand the proper starting point?
Answer
Problem Understanding
The user wants to:
- Build and run a specific Tizen platform example (signature-validator-until-3.0.cpp)
- Understand whether this can be done natively on Ubuntu or requires emulation
- Get guidance on the proper development setup process
Solution Methods
-
Development Environment Setup:
- Install required tools:
sudo apt-get install gbs mic - Configure GBS:
gbs conf - Set up Tizen SDK: Install from Samsung Tizen OS website
- Install required tools:
-
Source Code Management:
- Clone the repository:
git clone https://review.tizen.org/git/platform/core/security/cert-svc.git cd cert-svc
- Clone the repository:
-
Building Process:
- Build using GBS:
gbs build -A armv7l --include-all - For specific file compilation, modify the spec file to include only necessary components
- Build using GBS:
-
Execution Options:
- For platform packages, running on emulator/device is recommended
- Use
sdbto push and install RPM packages:sdb push package.rpm /tmp sdb shell rpm -ivh /tmp/package.rpm
Additional Tips
- The example file might not be available in all Tizen versions (e.g., missing in 3.0 wearable)
- Building individual files without the full package is challenging due to dependencies
- Emulator/device environment doesn't typically include development tools like gcc
- Consider using Tizen Studio for easier development experience