1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

SeExprのインストール

Last updated at Posted at 2026-02-02

現在のkseexprは、Qt6対応している。後ほど検証します。ありがとうございます。
以下、3年前のメモ。


Qt5.9.0のインストール

Qt(キュート)に個人としてメール登録。idとパスワード設定。
qt5.9 downloadで検索。
qt-opensource-windows-x86-5.9.0.exeをダウンロード。インストール時にIDでログイン、
5.9を開けて、mingw53をチェックしてインストールする。4GBくらいです。

C:\Qt\Qt5.9.0\Tools\mingw530_32\bin
C:\Qt\Qt5.9.0\5.9\mingw53_32\bin

GTestのインストール

git clone https://github.com/google/googletest.git
cd googletest
cmake -B build -G "MinGW Makefiles"
cmake --build build
管理者ターミナルで、
cmake --install build

システム環境パス

CMAKE_PREFIX_PATH
C:\Qt\Qt5.9.0\5.9\mingw53_32\lib\cmake
C:\mingw

GTEST_ROOT
C:\Program Files (x86)\googletest-distribution

PATHに追加
C:\mingw\bin

PNG_ROOT
C:\mingw

ZLIB_ROOT
C:\mingw

zlibとlibpngのビルド

--zlib

mingw32-make -f win32/Makefile.gcc BINARY_PATH=c:\mingw\bin INCLUDE_PATH=c:\mingw\include LIBRARY_PATH=c:\mingw\lib

mingw32-make -f win32/Makefile.gcc install BINARY_PATH=c:\mingw\bin INCLUDE_PATH=c:\mingw\include LIBRARY_PATH=c:\mingw\lib

mingwフォルダにコピー。
c:/mingw/lib/libz.dll.a
c:/mingw/lib/libz.a
c:/mingw/bin/zlib1.dll
c:/mingw/include/zlib.h
これだけでは、足りず。

mingw\include
crc32.h
deflate.h
gzguts.h
inffast.h
inffixed.h
inflate.h
inftrees.h
trees.h
zconf.h
zlib.h
zutil.h

--libpng

cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=c:\mingw
mingw32-make
mingw32-make install

kseexprのインストール

src/CMakeLists.txt:
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")

mkdir build
cd .\build
cmake ../src -G "MinGW Makefiles"
cmake --build . --target install

\kseexpr\src-optimizeに完成。
-optimize\share\KSeExpr\expressionsにseファイルを保存。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?