Thanks Alan. Someone needs to explain how just to reply to the post without 
creating additional new posts as I am doing. Do I have to reply to 
[email protected] each time? This only creates a new post.

I shall see what C compiler name to put for the variable cc.

"Stable" maybe wasn't the right word to use. I apologize for that. I just feel 
that maybe the installation of PLplot for Windows is not straightforward for a 
normal user like me. After you will have to time to do some tests under 
Windows, it might be a good idea to write better installation instructions for 
Windows users. I'm sure that some PLplot users would be happy to help you with 
the documentation.

I'll do some additional tests and report back.

Thanks.
Yogeshawrsing


----- Original Message -----
From: Alan W. Irwin
Sent: 07/13/10 08:46 PM
To: yogeshwarsing calleecharan
Subject: Re: [Plplot-general] cmake and PLplot for Ada

On 2010-07-13 19:25+0200 yogeshwarsing calleecharan wrote: > > Hi, Thanks for 
answering. I'm having difficulty to log in and post this > question but I hope 
that you'll receive it. I'm using the GNAT Ada compiler > from AdaCore. I also 
have Visual Studio 08 and 10 in addition to Borland for > my C compilers. The 
value of CC is set to d. I don't know what this means. CMake normally makes a 
pretty informed choice of what compilers to use, but the user can overide that 
choice by setting environment variables like CC, CXX, FC, etc. However, d is 
not a C compiler so that is a clear error in your environment variables which 
CMake has detected. To correct that error, I suggest you change the value of CC 
to nothing (that would be the command "CC=" on Linux, but I don't know the 
windows equivalent) or the name of the actual C compiler you want cmake to use. 
I suspect that C compiler must be the mingw one in order for the mingw Ada 
compiler to work properly, but I will know more once I have had a chance to 
test the Ada bindings and examples for PLplot under wine. > > It's sad that no 
stable version for Windows exist yet. > I guess that depends on what you mean 
by "stable". The truth is we have had plenty of testing of PLplot on Windows by 
many users with the usual result being success. (Otherwise, we could not claim 
to be a cross-platform library for plotting.) However, our windows users have 
not been that interested in Ada so testing of our Ada bindings and examples has 
not happened very much on Windows as far as I know. There are rules you need to 
follow in order to build software. For example, you cannot set the CC variable 
to something that is not a C compiler. Also, I am pretty sure you have to 
specify consistent C and Ada compilers to get the PLplot Ada bindings and 
examples to work on Windows. Once you follow both those rules, you may find 
success so I encourage you to try that. Meanwhile, I will be doing some of my 
own testing under wine. More later. Alan __________________________ Alan W. 
Irwin Astronomical research affiliation with Department of Physics and 
Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming 
affiliations with the FreeEOS equation-of-state implementation for stellar 
interiors (freeeos.sf.net); PLplot scientific plotting software package 
(plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links 
project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). 
__________________________ Linux-powered Science __________________________
------------------------------------------------------------------------------
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

Reply via email to