/Src/Dependencies/Boost/libs/geometry/example/with_external_libs/x04_wxwidgets_world_mapper_readme.txt
http://hadesmem.googlecode.com/ · Plain Text · 31 lines · 21 code · 10 blank · 0 comment · 0 complexity · 8b37ff2cd4cf2b82150479ea8fee1d79 MD5 · raw file
- // Boost.Geometry (aka GGL, Generic Geometry Library)
- //
- // Copyright Barend Gehrels 2010, Geodan, Amsterdam, the Netherlands
- // Use, modification and distribution is subject to the Boost Software License,
- // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
- // http://www.boost.org/LICENSE_1_0.txt)
- wxWidgets World Mapper example
- It will show a basic wxWidgets window, displaying world countries, highlighting the country under
- the mouse, and indicating position of the mouse in latitude/longitude and in pixels.
- To compile this program:
- Install wxWidgets (if not done before)
- Install Boost (if not done before)
- Using MSVC:
- - edit the file wxwidgets.vsprops
- - set the UserMacro WXWIDGETS to point to your wxWidgets distribution
- - edit the file boost.vsprops
- - set the UserMacro BOOST_ROOT to point to your Boost distribution
- - alternatively you can include Boost and/or wxWidgets in your standard include path
-
- Using Linux/gcc
- - check if installation is OK, http://wiki.wxwidgets.org/Installing_and_configuring_under_Ubuntu
- - compile using e.g. gcc -o x04_wxwidgets -I../../../.. x04_wxwidgets_world_mapper.cpp `wx-config --cxxflags` `wx-config --libs`