From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,cb0418b78315f22a,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!d37g2000yqm.googlegroups.com!not-for-mail From: Ada novice Newsgroups: comp.lang.ada Subject: cmake and PLplot for Ada Date: Sat, 10 Jul 2010 10:00:54 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0205c4cc-282c-4f84-8fef-60a69f5b4d63@d37g2000yqm.googlegroups.com> NNTP-Posting-Host: 193.11.22.91 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1278781254 2231 127.0.0.1 (10 Jul 2010 17:00:54 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 10 Jul 2010 17:00:54 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d37g2000yqm.googlegroups.com; posting-host=193.11.22.91; posting-account=Rr9I-QoAAACS-nOzpA-mGxtAlZ46Nb6I User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 (.NET CLR 3.5.30729),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:12314 Date: 2010-07-10T10:00:54-07:00 List-Id: 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_various_platforms#Windows . 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/ . I also got cmake for Windows here: http://www.cmake.org/cmake/resources/software.html . 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...