T.O.C. ====== 1. GBS Builds 1.1. COMMON Profile 1.2. MOBILE Profile 1.3. WEARABLE Profile 2. Building for Ubuntu desktop 2.1. Minimum Requirements 2.2. Building the Repository 3. Troubleshooting 3.1. JPEG Library Linking Errors 1. GBS Builds ============= 1.1. COMMON Profile ------------------- gbs build -A [TARGET_ARCH] 1.2. MOBILE Profile ------------------- gbs build -A [TARGET_ARCH] --spec dali-adaptor-mobile.spec 1.3. WEARABLE Profile --------------------- gbs build -A [TARGET_ARCH] --spec dali-adaptor-wearable.spec 2. Building for Ubuntu desktop ============================== 2.1. Minimum Requirements ------------------------ - Ubuntu 14.04 - Environment created using dali_env script in dali-core repository 2.2. Building the Repository ---------------------------- To build the repository enter the 'build/tizen' folder: cd dali-adaptor/build/tizen Then run the following commands: autoreconf --install ./configure --prefix=$DESKTOP_PREFIX --enable-profile=UBUNTU --enable-gles=20 make install -j8 3. Troubleshooting ================== 3.1. JPEG Library Linking Errors -------------------------------- If you have linking problems with libjpeg, then you may have to create a symbolic link to the library: - Navigate to where the library is (for example /usr/lib/x86_64-linux-gnu). - Create a symbolic link: sudo ln -s libjpeg.so.8 libjpeg.so sudo chmod 777 libjpeg.so (Change the version number of your libjpeg library accordingly)