Before you can do any C/C development work on a Mac, you need to go to the App Store and download Xcode for free - it is Apple's IDE - Integrated Development Environment. Without Xcode, you will have no compiler (i.e. Clang or gcc or g ) and no build tools, (i.e.
This section provides some guidelines on how to install and configure BoostBook and Quickbook under several operating systems. Before installing you'll need a local copy of boost, and to install the version of
bjam which comes with it (or a later version).
The simplest way to install on OS X is to use macports. If you don't want to use macports and are using Snow Leopard or later, there are instructions later. Earlier versions of OS X need to use something like macports to install
xsltproc because the version they come with is very old, and doesn't have good enough XSL support for boostbook's stylesheets.
First install the
libxslt , docbook-xsl and docbook-xml-4.2 packages:
Next, we need to configure Boost Build to compile BoostBook files. Add the following to your
user-config.jam file, which should be in your home directory. If you don't have one, create a file containing this text. For more information on setting up user-config.jam , see the Boost Build documentation.
The above steps are enough to get a functional BoostBook setup. Quickbook will be automatically built when needed. If you want to avoid these rebuilds:
If you need to build documentation that uses Doxygen, you will need to install it as well:
And then add to your
user-config.jam :
Alternatively, you can install from the official doxygen
dmg . This is described at the end of the next section.
Section contributed by Julio M. Merino Vidal
The text below assumes you want to install all the necessary utilities in a system-wide location, allowing any user in the machine to have access to them. Therefore, all files will be put in the
/usr/local hierarchy. If you do not want this, you can choose any other prefix such as ~/Applications for a single-user installation.
Snow Leopard comes with
xsltproc and all related libraries preinstalled, so you do not need to take any extra steps to set them up. It is probable that future versions will include them too, but these instructions may not apply to older versions.
To get started:
The above steps are enough to get a functional BoostBook setup. Quickbook will be automatically built when needed. If you want to avoid these rebuilds and install a system-wide Quickbook instead:
Additionally, if you need to build documentation that uses Doxygen, you will need to install it too:
Section contributed by Julio M. Merino Vidal
The following instructions apply to any Windows system based on Windows 2000, including Windows XP, Windows 2003 Server and Windows Vista. The paths shown below are taken from a Windows Vista machine; you will need to adjust them to match your system in case you are running an older version.
The above steps are enough to get a functional BoostBook setup. Quickbook will be automatically built when needed. If you want to avoid these rebuilds:
Libstdc Mac. How To Install Boost Libraries On Xcode For Mac Windows 10
Install Boost C++ Library Mac
The following instructions apply to Debian and its derivatives. They are based on a Ubuntu Edgy install but should work on other Debian based systems. They assume you've already installed an appropriate version of
bjam for your copy of boost.
First install the
xsltproc , docbook-xsl and docbook-xml packages. For example, using apt-get :
If you're planning on building boost's documentation, you'll also need to install the
doxygen package as well.
Libstdc Mac. How To Install Boost Libraries On Xcode For Mac Free
Next, we need to configure Boost Build to compile BoostBook files. Add the following to your
user-config.jam file, which should be in your home directory. If you don't have one, create a file containing this text. For more information on setting up user-config.jam , see the Boost Build documentation.
The above steps are enough to get a functional BoostBook setup. Quickbook will be automatically built when needed. If you want to avoid these rebuilds:
Install Boost C++ Mac
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |