On 2013-10-01 14:01-0000 Arjen Markus wrote:

>> -----Original Message-----
>> From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca]
[...]
>> Let the 5.9.11 release cycle begin!
>>
>
> Well, the first step I thought I'd take is getting [a] wxWidgets [build] to 
> work on Cygwin.

> This is with version 2.9.5, the current stable version, of wxWidgets under 
> Windows 7, 64 bits
> with a very recent version of Cygwin.

According to http://www.wxwidgets.org/downloads/ 2.9.5 is the latest
development version rather than the latest stable version.

I have had some success (see cmake/build_projects/CMakeLists.txt and
cmake/build_projects/wxwidgets/bp.cmake for the details) building the
latest stable version of wxwidgets (2.8.12) both on Linux and
MinGW/MSYS/Wine.  The build_projects project is still quite
experimental and explicitly excludes Cygwin for now because it doesn't
work completely (some of the pango/cairo dependencies fail to build)
yet even on MinGW/MSYS.  Also, I forgot that those on Cygwin sometimes
have to build PLplot dependencies such as wxwidgets. But in theory,
anything that builds for MinGW/MSYS (such as wxwidgets) should also
build for Cygwin.

So I suggest you follow by hand what
cmake/build_projects/wxwidgets/bp.cmake does to start, i.e., use
2.8.12 and CXXFLAGS=-fno-keep-inline-dllexport.  Also, I recall from
years ago that the file command was needed on Cygwin in order for an
autotools build to work.  So I would check that you have the "file"
package (see http://cygwin.com/packages/x86/file/) installed.

If those tips allow you to build wxwidgets by hand, then when
build_projects is more mature you might want to try build_projects
yourself on both MinGW/MSYS (first to make sure everything works for
you on that platform) and eventually on Cygwin. But for now while
build_projects is so experimental, I would hold off on trying it and
only use it to get tips for building certain PLplot dependencies
such as wxwidgets by hand.

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
__________________________

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to