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