I have recently (commit 3c4e6be) implemented a new way for users to
optionally obtain wxwidgets debug output.

The principal change is you must use the CMake option
-DPLPLOT_WX_DEBUG_OUTPUT=ON to get any debug output at all.  There is
also now an experimental option -DPLPLOT_WX_NANOSEC=ON which you might
want to try if your like high-resolution time stamps (but it might
cause build errors on some Linux systems and virtually all other
systems, so you must experiment with it to see whether it will work on
any given system). If you want to insert more debugging output into
our wxwidgets-related code under the control of the above two CMake
options, please use the correct macro which is

PLPLOT_wxLogDebug("some string");

That boils down to

wxLogDebug("some string");

if -DPLPLOT_WX_DEBUG_OUTPUT=ON and PLPLOT_WX_NANOSEC is either not
specified or set to its default value using -DPLPLOT_WX_NANOSEC=OFF.
The above macro use further boils down to

;

if PLPLOT_WX_DEBUG_OUTPUT is either not specified or set to its
default value using -DPLPLOT_WX_DEBUG_OUTPUT=OFF.

For more details (especially what the nanosec time stamp looks like on
systems that support it), see the above commit message.

Note, that I plan after the release to implement a CMake test so it
can figure out PLPLOT_WX_NANOSEC automatically, i.e., only set that to
ON when relevant test code can be built.  However, for now I have
taken an extremely simplistic approach "try it and see using the
experimental option -DPLPLOT_WX_NANOSEC=ON" for generating the
nanonsec time step.

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); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); 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
__________________________

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to