Re: [Plplot-devel] Vastly improved configuration of Ada interface and examples for PLplot. Please test!

2007-03-05 Thread Alan W. Irwin
On 2007-03-05 04:10-0700 Jerry wrote:

 It sounds like this might be a question for comp.lang.ada if you guys
 don't get it cracked soon.

That's a good idea for the future.

However, what we need most now is some comprehensive platform testing.  The
current form of experimental CMake support for Ada works fine on all Debian
and Ubuntu platforms where it has been tested.  It does have filename
extension problems on MinGW, but at most those problems will affect Cygwin
and MinGW, and they might be isolated to just MinGW.  To get a comprehensive
picture of the overall problems we face with the GNAT version of Ada, we
need testing not only on Cygwin, but also additional Linux platforms and Mac
OS X.

Jerry, I especially urge you to move forward with your Mac OS X testing
since that is the platform where you developed the Ada interface, and I want
to be sure that our CMake support of that interface is working fine there
for you. If after reading http://sourceforge.net/cvs/?group_id=2915 and
http://www.miscdebris.net/plplot_wiki/ you still have some questions about
or problems with CVS or our CMake build system on Mac OS X, please don't
hesitate to post them to this list.

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 Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__

Linux-powered Science
__

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] Vastly improved configuration of Ada interface and examples for PLplot. Please test!

2007-03-05 Thread Werner Smekal
Hi,

 However, what we need most now is some comprehensive platform testing.  The
 current form of experimental CMake support for Ada works fine on all Debian
 and Ubuntu platforms where it has been tested.  It does have filename
 extension problems on MinGW, but at most those problems will affect Cygwin
 and MinGW, and they might be isolated to just MinGW.  To get a comprehensive
 picture of the overall problems we face with the GNAT version of Ada, we
 need testing not only on Cygwin, but also additional Linux platforms and Mac
 OS X.

ok, cygwin test results:

* install gcc-ada package with setup.exe of cygwin
* export CMAKE_LIBRARY_PATH=/usr/lib/gcc/i686-pc-cygwin/3.4.4/adalib
* cmake -DENABLE_ada=ON -DBUILD_TEST=ON -DENABLE_tcl=OFF -DENABLE_tk=OFF 
-DENABLE_DYNDRIVERS=OFF ..
   (since tcl/tk driver doesn't work (set to OFF) and dynamic drivers 
doesn't work (set to OFF))
* make

The ada library is build correctly, since the object file ending for 
cygwin is .o . Examples don't build though:

Scanning dependencies of target x01a
[ 98%] Building Ada object examples/ada/CMakeFiles/x01a.dir/x01a.o
Linking Ada executable x01a.exe
gnatmake: x01a.exe.adb not found
make[2]: *** [examples/ada/x01a.exe] Error 4
make[1]: *** [examples/ada/CMakeFiles/x01a.dir/all] Error 2
make: *** [all] Error 2

So we are kind of really close for cygwin.

Werner

-- 
Dipl. Ing. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: [EMAIL PROTECTED]
web:   http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office)
+43-(0)1-58801-13469 (laboratory)
fax:   +43-(0)1-58801-13499

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] ada bindings mingw fix (?)

2007-03-05 Thread Alan W. Irwin
On 2007-03-05 23:03+0100 Werner Smekal wrote:

 Hi Alan,

 I just found an easy fix for the object file ending problem. In
 CMakeAdaCompiler.cmake.in change the last lines to:

 IF(UNIX OR MINGW)
   SET(CMAKE_Ada_OUTPUT_EXTENSION .o)
 ELSE(UNIX OR MINGW)
   SET(CMAKE_Ada_OUTPUT_EXTENSION .obj)
 ENDIF(UNIX OR MINGW)

 If you think this workaround is ok, I will submit these changes.

Good catch, Werner. Please go ahead immediately with that commit.

That leaves just the executable suffix issue.  I think the thing to do there
is to play with SET_TARGET_PROPERTIES (in ada/examples/CMakeLists.txt) until
you get something that works.  For example, it appears you have control of
the output name and/or the SUFFIX. If you can get a build of x01 that way,
then to actually get it to execute on MinGW and Cygwin I understand (from
informed opinion on the CMake list, :-) ) that you will have to copy x01 to 
x01.exe.  I think the easiest way to do that is with a cmake -e copy command
in ada/examples/CMakeLists.txt using the add_custom_command signature that
modifies a target result.

Anyhow, please play with this executable suffix issue and commit it if you
can get something to work on MinGW.  I will clean up afterward if necessary.

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 Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__

Linux-powered Science
__

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


[Plplot-devel] university students with plsmem problem (fwd)

2007-03-05 Thread Alan W. Irwin
Does anybody have a good simple example of using plsmem?  See request that
was sent to me below.  I encourage you to reply directly to Raul, but if you
do so, please CC me or this mailing list since I would like to know the
answer to the question as well.

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 Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__

Linux-powered Science
__

-- Forwarded message --
Date: Mon, 05 Mar 2007 21:42:48 -0800
From: elpillo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: university students with plsmem problem


Message body follows:

hello irwin, iam a university student, my team and I are
working on a proyect to plot with you library, but we have a
problem that we dont know how to solve with the plsmem
function, on the Web we havent found any explicit example of
who it works, because we want to put the ploting on a buffer
and then loaded from cairo and paintied.
ive you could give us any advise or a good working example
we will apreciated a lot.
my email es [EMAIL PROTECTED]
thanks a lot.
greatigs Raul

--
This message has been sent to you, a registered SourceForge.net user,
by another site user, through the SourceForge.net site.  This message
has been delivered to your SourceForge.net mail alias.  You may reply
to this message using the Reply feature of your email client, or
using the messaging facility of SourceForge.net at:
https://sourceforge.net/sendmessage.php?touser=1735924

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


[Plplot-devel] New DEFAULT_NO_BINDINGS option

2007-03-05 Thread Alan W. Irwin
I have made changes to the CMake build system so that if you set
DEFAULT_NO_BINDINGS ON (assuming you have removed the cache file), then no
bindings will be enabled by default other than the C one and any that you
specifically turn on.

Note there is a DEFAULT_NO_DEVICES option that plays a similar role
for the devices.

Thus, combining these two flags and picking just the combination of the
binding and device you want to test can give you extremely fast builds and
therefore quick testing turnaround.

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 Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__

Linux-powered Science
__

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel