Browse by type
docker folder manually../script/build.sh android32 release
./script/build.sh android64 release
./script/build.sh html5 release
./script/build.sh linux64 release
./script/build.sh linux64_offscreen release
Notes:
- This build type enables WITH_OFFSCREEN and WITH_TEXTURE_COMPRESSOR.
- This build type should be used to build smartshape-converter.
./script/build.sh windows64 release
If the final command (msbuild) fails, you might have to change the VCTargetsPath and add the path of msbuild.exe (for example "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin") to the PATH environment variable. To change the VCTargetsPath (for example):
SET VCTargetsPath=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets
There are more ways to build the engine. Here is the detailed usage of the building script
Usage: ./script/build.sh <target> <build-type> [--cmake '<cmake-args>']
<target> The target platform of the build. Available targets are:
* android32
* android64
* html5
* linux64
* linux64_offscreen
* windows64
<build-type> The type of build to perform. Available types are:
* debug
* release
ENVIRONMENT VARIABLES
The following environment variables can customize the build:
MAKE_ARGS
Arguments to pass to the make program. Default value: -j8.
BUILD_DIR
Build directory. Default value: build-{target}-{build-type}.
docker run -it --rm \
-v ${PWD}:${PWD} -w ${PWD} \
-v /etc/group:/etc/group:ro -v /etc/passwd:/etc/passwd:ro -u $(id -u $USER):$(id -g $USER) \
registry.aerys.in/aerys/smartshape/smartshape-engine/android:{TAG} \
bash -c "
mkdir -p build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_EXAMPLES=OFF \
-DWITH_PLUGINS=ON \
-DWITH_NODEJS_WORKER=ON \
-DCMAKE_TOOLCHAIN_FILE=/opt/android-ndk-linux/build/cmake/android.toolchain.cmake
make
"
docker run -it --rm \
-v ${PWD}:${PWD} -w ${PWD} \
-v /etc/group:/etc/group:ro -v /etc/passwd:/etc/passwd:ro -u $(id -u $USER):$(id -g $USER) \
registry.aerys.in/aerys/smartshape/smartshape-engine/html5:{TAG} \
bash -c "
mkdir -p build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_EXAMPLES=OFF \
-DWITH_PLUGINS=ON \
-DCMAKE_TOOLCHAIN_FILE=/emsdk_portable/sdk/cmake/Modules/Platform/Emscripten.cmake
make
"
docker run -it --rm \
-v ${PWD}:${PWD} -w ${PWD} \
-v /etc/group:/etc/group:ro -v /etc/passwd:/etc/passwd:ro -u $(id -u $USER):$(id -g $USER) \
registry.aerys.in/aerys/smartshape/vendor/gcc@sha256:d4a63069d9b69ca4233eecd17638356d7e01aeb66f447db5b3e606a75f527887 \
bash -c "
mkdir -p build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_EXAMPLES=OFF \
-DWITH_PLUGINS=ON && \
make
"
smartshape-engine doesn't have to be run. It is used by the other parts of SmartShape as a base.
When modifying the smartshape-engine code, you have to build the engine again once your modifications are done.
Sources for the Minko framework.
Example applications created with the Minko framework and its plugins.
This folder contains templates you can use to ease the development of the Minko framework, plugins or applications.
Sources for Minko's plugins.
Available plugins are: * angle * bullet * debug * devil * fx * html-overlay * http-loader * http-worker * jpeg * leap * lua * oculus * offscreen * particles * png * sdl * sensors * serializer * video-camera * vr * zlib
$ claude mcp add minko \
-- python -m otcore.mcp_server <graph>