1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
This is a wxWidgets-based application that uses the "regionator" library in
libkml.
This current version builds with Mac OS X and Windows only.
It depends upon wxWidgets 2.8.8, available from
http://www.wxwidgets.org/downloads/
Mac OS X build recipe:
----------------------
cd wxMac-2.8.8
mkdir build-static-release
cd build-static-release
../configure --enable-monolithic --disable-shared
make && make install
A single, static library is built for convenience. See the wxWidgets
documentation if you'd like to build the individual shared libraries. You will
of course need to change the build configuration(s) for this wxregionator app.
You can see some of the necessary config options by running the wx-config
application with the --cppflags and --libs options.
The libkml libraries are assumed to be installed at /usr/local/lib/libkml*.
This project will link them statically to the binary such that the resultant
application may be run on systems that have neither libkml nor wxwidgets
installed.
Windows XP build recipe:
------------------------
Download wxMSW-2.8.8
Install to default location. c:\wxWidgets-2.8.8
Open build\msw\wx.dsw
Select "Release" and build the solution
The wxregionator project assumes a successfully build wxWidgets and also
a release-mode build of the libkml libraries in "..\..\release".
|