Linuxノートマシンにkseexprをインストールしました。
ディズニー・アニメーション・スタジオ作成のSeExpr(エスイーエクスパー)をDebian12 Bookworm xfceにインストールしました。
利用したのは、ペイントソフトkritaを出しているkseexprを使いました。最新のQT6に対応しており、スムーズにビルドができました。本家ディズニーのgithubは古くなり、対応できていません。
Debianの開発関連をインストールします。
sudo apt install build-essential
sudo apt install qt6-base-dev
sudo apt install qt6-l10n-tools
sudo apt install linguist-qt6
sudo apt install qt6-tools-dev
sudo apt install cmake
sudo apt install bison flex
sudo apt install libpng-dev zlib1g-dev
以下はimageEditor2のサンプルファイル読み込みできないところを修正したものです。
フォーク版です。
上記Codeから、zipをダウンロードしてください。
kseexprフォルダを作ります。その中にのsrcフォルダを作り、zipを解凍して入れてください。
srcに入ります。
~/Downloads/kseexpr/src$ ls
CMakeLists.txt LICENSE.txt LICENSES README.md cmake generated packaging poqm src
CMakelist.txtを開き、utilitiesとdemosをTRUEにします。保存します。
# Configuration options
option(ENABLE_LLVM_BACKEND "Whether to build with LLVM backend" FALSE)
add_feature_info(LLVMBackend ENABLE_LLVM_BACKEND "Build the LLVM backend of KSeExpr")
option(ENABLE_QT6 "Whether to use Qt6" TRUE)
add_feature_info(KSeExprUI ENABLE_QT6 "Build the KSeExprUI widget library")
option(BUILD_UTILS "Whether to build the utilities" TRUE)
add_feature_info(Utils BUILD_UTILS "Build the utilities")
option(BUILD_DEMOS "Whether to build the demos" TRUE)
add_feature_info(Demos BUILD_DEMOS "Build the demos")
option(BUILD_DOC "Whether to build the documentation" FALSE)
add_feature_info(Docs BUILD_DOC "Build the documentation")
option(BUILD_TESTS "Whether to build the tests" FALSE)
add_feature_info(Tests BUILD_TESTS "Build the tests")
option(ENABLE_SLOW_TESTS "Whether to enable slow tests" FALSE)
buildフォルダをつくります。kseexprのフォルダの中にbuildとsrcが並びます。
以下、手順です。
mkdir build
cd build/
cmake ../src
cmake --build . --target install
ビルドしてできあがったものは、srcフォルダに上がり、Linux-6.1.0-x86_64-optimizeフォルダができます。
$ ls
bin include lib share
以下、コピーしてシンボリックリンクを作成
cd ../src/Linux-6.1.0-x86_64-optimize/lib
sudo cp libKSeExprUI.so.5.0.0.0 /usr/lib/x86_64-linux-gnu
sudo cp libKSeExpr.so.5.0.0.0 /usr/lib/x86_64-linux-gnu
cd /usr/lib/x86_64-linux-gnu/
ls libKSeExpr*.*
sudo ln -s libKSeExpr.so.5.0.0.0 libKSeExpr.so
sudo ln -s libKSeExpr.so.5.0.0.0 libKSeExpr.so.5
sudo ln -s libKSeExprUI.so.5.0.0.0 libKSeExprUI.so
sudo ln -s libKSeExprUI.so.5.0.0.0 libKSeExprUI.so.5
ls -l libKSeExpr*.*
sudo ldconfig
binフォルダから、imageEditor2を起動してみてください。
./imageEditor2
好きな大きさのサイズのpngを生成できるimageSynth2を使います。
$ ./imageSynth2
Usage: ./imageSynth2 <image file> <width> <height> <exprFile>
./imageSynth2 test.png 512 512 noisecolor2.se
# 画像ビューワfehのインストール
sudo apt install feh
feh test.png
Windowsでのkseexprのインストール
使い方はこちら
オープンソースPixie Rendererを使った電子本です、無料。

