Ports, downloads and documents for unofficial webOS NDK. You can use this tool to develop native applications for your webOS based TV.
- Download tarball for your system listed above
- Extract the tarball to the location you want (please avoid having spaces and special characters in the path)
- Run
relocate-sdk.shin extracted contents
When you build a CMake project in command line, assign CMAKE_TOOLCHAIN_FILE with toolchain file.
cmake -B build -DCMAKE_TOOLCHAIN_FILE=/path/to/extracted/tarball/arm-webos-linux-gnueabi_sdk-buildroot/share/buildroot/toolchainfile.cmakeFor VSCode CMake Tools, add entry in Kit options:
[
{
"name": "webOS",
"toolchainFile": "/path/to/extracted/tarball/arm-webos-linux-gnueabi_sdk-buildroot/share/buildroot/toolchainfile.cmake"
}
]If your machine is not included, you can build it on your local machine. Normally, you don't need to do this!
- GCC
- CMake
- Newer GNU Make (default one in macOS will probably not work)
Please set CC and CXX environment variable to binary of GCC you have installed.
If your LANG environment variable is not en_US.UTF-8, please set to that.
cmake -E make_directory build
cmake -B build -DCMAKE_INSTALL_PREFIX=/path/to/install/location
cmake --build build
cmake --install build # Ensure you have write permission to the prefix you setThen the toolchain will be installed to the location you want automatically.