ということで Windows で DragonScript がビルドできるか調査中。
といってもネイティブの Windows 環境は捨ててしまった人*1なので Wine 上で cmake と MinGW をインストールしてビルドしてみる。
・・・CMake 遅すぎ(笑)。
ちなみに Visual Studio でビルドできないことは明白であります。
2005 や 2008 ならできるかもしれないがお薦めはできないな。
-- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
のあとで cmake がクラッシュするな・・・。
find(ncurses) find(KDE4)
だから
find(KDE4)
で何か問題があるみたいだな。
まあ、どうせ Windows 上でわざわざ KDE 動かしてその上で実行するような人もあまりいないだろうからもし Windows 用バイナリを配布する時に kdragon は付けない方向性で検討している。
あとは gettext 回りか。MinGW の msgfmt が古いのはどうにかなるんかな。Dragon Script で使っているスクリプトを書き換えても良いけどね。
[lugia@arpa-castle build]$ wine msgfmt --version C:\MinGW\bin\msgfmt.exe (GNU gettext) 0.10.40 Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Ulrich Drepper. [lugia@arpa-castle build]$ msgfmt --version msgfmt (GNU gettext-tools) 0.17 Copyright (C) 1995-1998, 2000-2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. 作者 Ulrich Drepper. [lugia@arpa-castle build]$
*1:もちろんリカバリは持ってるよ(笑