Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gluonhq/devtoolskit
Creating a devkit to build the other tools/products
https://github.com/gluonhq/devtoolskit
Last synced: about 23 hours ago
JSON representation
Creating a devkit to build the other tools/products
- Host: GitHub
- URL: https://github.com/gluonhq/devtoolskit
- Owner: gluonhq
- Created: 2022-06-03T11:23:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-15T18:59:06.000Z (about 1 year ago)
- Last Synced: 2024-11-06T17:51:51.388Z (about 2 months ago)
- Language: Shell
- Size: 25.4 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# devtoolskit
Creating a devkit to build the other tools/products.
## Building
Use the provided Makefile to build the devkit:
cd make/devkit
make tars BASE_OS=OL## Finalizing
After the build has completed, the following extra steps need to be executed:
- add `pkg-config`
cd build/devkit/result/x86_64-linux-gnu-to-x86_64-linux-gnu
cp /usr/bin/pkg-config bin/- link extra include directories
cd x86_64-linux-gnu/sysroot/usr/include
ln -s /usr/include/x86_64-linux-gnu/libavcodec
ln -s /usr/include/x86_64-linux-gnu/libavutil
ln -s /usr/include/x86_64-linux-gnu/libswscale
ln -s /usr/include/x86_64-linux-gnu/libavformat
cp /usr/include/linux/videodev2.h linux/## Using
To use the devkit, the following environment variables should be set:
PKG_CONFIG_SYSROOT_DIR=/home/ubuntu/devtoolskit/build/devkit/result/x86_64-linux-gnu-to-x86_64-linux-gnu/x86_64-linux-gnu/sysroot
PKG_CONFIG_PATH=${PKG_CONFIG_SYSROOT_DIR}/usr/lib64/pkgconfig:${PKG_CONFIG_SYSROOT_DIR}/usr/share/pkgconfig
PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1