これは、 Ada の投稿: plotting 2d graphsのフォローアップです。これは別の問題なので、新しい投稿を作成することにしました。Windows 用の PLplot のインストールはhttp://www.miscdebris.net/plplot_wiki/index.php?title=Specifics_for_various_platforms#Windowsにあります。インストールは次のとおりです。
cd plplot
mkdir buildmingw
cd buildmingw
cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=install ..
mingw32-make
mingw32-make install
http://sourceforge.net/projects/mingw/files/からexeファイルをダウンロードして、MinGWのインストールに行くことにしました。ここで Windows 用の cmake も入手しました: http://www.cmake.org/cmake/resources/software.html。
ここで、PLplot をインストールするための 4 番目の命令 (上記を参照) を実行すると、次のようになります。
C:\plplot-5.9.6\buildmingw>cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=ins
tall ..
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermine
CCompiler.cmake:44 (MESSAGE):
Could not find compiler set in environment variable CC:
cl.
Call Stack (most recent call first):
CMakeLists.txt:38 (project)
CMake Error: Error required internal CMake variable not set, cmake may be not be
built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be
built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file:C:/plplot-5.9.6/buildmingw/CMakeFi
les/CMakeCCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
C:\plplot-5.9.6\buildmingw>
インストール オプションで、cmake に必要なシステム パスを作成させることを選択しました。インストール時に環境変数 CMAKE_C_COMPILER_ENV_VAR と CMAKE_C_COMPILER が作成されなかったのはなぜでしょうか。なにか提案を?
どうもありがとう..