Hi,
I would like to be able to make scientific 2D plots (Y against X)
within an Ada code itself. I've been taken a look at PLplot but the
installation is cumbersome for a Windows machine. The installation of
PLplot for Windows is at:
http://www.miscdebris.net/plplot_wiki/index.php?title=Specifics_for_v...
http://www.google.com/url?sa=D&q=http://www.miscdebris.net/plplot_wiki/index.php%3Ftitle%3DSpecifics_for_various_platforms%23Windows&usg=AFQjCNEn6bCn6YlzN_3r9meVjWj6c7DpqA
. The installation is as follows:
cd plplot
mkdir buildmingw
cd buildmingw
cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=install ..
mingw32-make
mingw32-make install
I decided to go for the MinGW instillation by downloading the exe file
from http://sourceforge.net/projects/mingw/files/
http://www.google.com/url?sa=D&q=http://sourceforge.net/projects/mingw/files/&usg=AFQjCNEG_0G3UI7FWS3v5Edjm7JqVrUOzQ
. I also got cmake
for Windows here: http://www.cmake.org/cmake/resources/software.html
http://www.google.com/url?sa=D&q=http://www.cmake.org/cmake/resources/software.html&usg=AFQjCNEcrUowF_WTTyzd1my_ZnS1K6LdnQ
.
Now, on running the fourth instruction for installing PLplot (see
above), I get:
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>
I chose in the installation options to let cmake create the necessary
system paths. I wonder why the environment variables
CMAKE_C_COMPILER_ENV_VAR and CMAKE_C_COMPILER were not created during
the installation. I have the GNAT compiler. and for C I have the
Borland C++ Personal and MVS 2008 and 2010 compilers. Any suggestions?
Thanks a lot...
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general