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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
AUTO* ON UNIX
-------------
Roy can be built using either the autoconf/make tools, or CMake. Auto*
is used for unix environments (and will probably work on cygwin), while
CMake is used on windows (MSVC).
To build from distribution using auto*, you can just run:
./configure
To get a list of configure options, run:
./configure --help
You will likely have everything required to build roy on most unix
systems as it is a very simple package with few dependancies.
To build from CVS using auto*, you require the following:
automake
autoconf
libtool
You can then proceed to run ./autogen.sh to generate the files.
This script also runs configure, so you may want to check afterwards
that you don't need any options to ./configure before building.
CMAKE ON WINDOWS (for Visual Studio or Borland)
-----------------------------------------------
Roy on windows can be built with CMake. You can download CMake from
http://www.cmake.org. This version of roy was tested to build with
CMake 1.6 and 1.8.
You will need the zlib distribution, and you'll need to point CMake to
the header and zlip.lib. You can get zlib for win32 at:
http://gnuwin32.sourceforge.net/packages/zlib.htm
Be sure to get the 'Developer files' - you'll probably want to get
the zip.
The library is zlib.lib in the 'lib' directory and the header is zlib.h
in the 'include' directory.
Now, start up CMake and point it at the toplevel roy directory, and
at your build directory (which can be anywhere), and hit 'Configure'.
You'll notice the requirement for the zlib sources, you can now point
CMake at the header and library.
Once those are selected hit 'Configure' again and you should be ready to
go. Hit 'OK' and fire up VC++ or Borland and open the project/workspace
file. It should "just work" from there.
|