On 2008-08-07 12:48+0100 Steve Schwartz wrote:

>
> I can now confirm that a pristine svn trunk and my source-built cmake
> 2.6.1 on my Suse 10.2 system will now successfully complete a build and
> install though not all drivers work or will build.

Hi Steve:

I am glad to hear the build and install are now (mostly) successful for you.
When you describe your platform as Suse 10.2 is that the same as openSUSE
10.2 released in December 2006?  I don't recall any reports from that
platform so you will have to bear with us as we figure things out for that
platform.

I cannot comment on all the issues you discovered for your platform, but I
will tackle some of them with you, and hopefully other developers here will
deal with the rest.

>
> * wxwidgets fail to build (with cmake 2.4patch6 they did compile):
>
> ==========================
> cd /home/opt_home/plplot/plplot_svn_2008_08_06/build_dir/drivers
> && /usr/bin/c++   -DHAVE_CONFIG_H -Dwxwidgets_EXPORTS -fPIC
> -I/home/opt_home/plplot/plplot_svn_2008_08_06/include
> -I/home/opt_home/plplot/plplot_svn_2008_08_06/build_dir
> -I/home/opt_home/plplot/plplot_svn_2008_08_06/build_dir/include
> -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -o
> CMakeFiles/wxwidgets.dir/wxwidgets_dc.o
> -c /home/opt_home/plplot/plplot_svn_2008_08_06/drivers/wxwidgets_dc.cpp
> /home/opt_home/plplot/plplot_svn_2008_08_06/drivers/wxwidgets_dc.cpp: In
> member function ‘virtual void wxPLDevDC::PutPixel(short int, short int,
> PLINT)’:
> /home/opt_home/plplot/plplot_svn_2008_08_06/drivers/wxwidgets_dc.cpp:218: 
> error: ‘GetRValue’ was not declared in this scope
> ===========================
> etc....

Could you give the equivalent build instructions you get from cmake
2.4patch8 (starting again from pristine source, empty build tree)?  I have
asked for 2.4.8 here (which you will have to build for yourself) because
your current mixture of 2.4.6 + 2.6.0 modules is so non-standard, and I have
access to 2.4.8 here. I get a good wxwidgets build with both 2.4.8 and
2.6.1. Hopefully, you will get a good wxwidgets build with 2.4.8 so from the
comparison of your 2.4.8 and 2.6.1 results we can start to figure out what
is going wrong on your system with the combination of CMake-2.6.1 and
wxwidgets.

> * (new) tkwin driver won't launch, complaining it can't find plframe

The message:

"No tk plframe widget to connect to" is expected.  I have forgotten the
details since this is donated code from long ago, but tkwin does not operate
on its own as a driver.  Instead, the tkwin build is used to set up the
bindings/tk-x-plat method of running runAllDemos.tcl that is described in
tk/README.tkdemos.  If that method is working, then your tkwin build has
been successful.

> * the ps and psc-generated files display fine - both within their own
> bounding boxes and when given a papersize in, e.g., ghostview, but seem
> to print a factor 5 too large to postscript printers (I've tried both hp
> and Xerox ones). Running them through epstopdf or some other filter
> works, but I wonder if someone else has noticed this and if this is a
> bug in the driver.

Just to help us diagnose the problem, do you get the same print problems
with any of our other PostScript devices, i.e., psttf and pscairo?  It would
be especially helpful if you find one device where printing works because
then you could send the PostScript files for working/nonworking print
devices to the list for our simplest example (x10) to help us figure out
what is missing for the psc (and ps) device.

I actually don't have convenient access to a printer so will some other
developer here please attempt to confirm this print issue for device
psc as well?

>
> Finally, as I mentioned to you, one of my developers is working on a Qt
> plotting device; this seems to work and is a real bonus for us as the
> application we supply to end users is written using Qt. As you noted, it
> might also be of interest to the KDE community, or would run on any
> system that has KDE. Qt is also available on windows, so it offers an
> alternative to the wingcc device. In fact, the implementation isn't that
> difficult, as it simply uses the plplot mem device and then displays the
> result in a low-level Qt paint widget. It takes a bit more work to turn
> it into an interactive device, but that seems in hand. And it can be
> adorned with a menubar, like the tk or wxwidget drivers, to save/print,
> etc.
>
> Although our intention is to bundle this inside our Qt application, we
> could try to construct it in a way that could be extracted for
> standalone use if there is the interest.
>
> Supplying the C++ class and api would be straightforward. It might take
> a bit more effort/knowledge to turn this into a real plplot device with
> suitable wrappers. And we couldn't really support languages/interfaces
> other than C++.
>
> Please advise whether there is any interest in the above, what would be
> most useful, and if so who on the devel team would be in a position to
> provide support (which probably translates into wrapping our C++ class
> into something generic for plplot).

I don't have the C++ or driver expertise to deal with this question.
However, there is a lot of such expertise on our team so hopefully one of
the others here would be willing to comment. It would be great to obtain a
KDE (or Qt) device out of this initiative.

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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to