[/============================================================================== Copyright (C) 2001-2015 Joel de Guzman Copyright (C) 2001-2011 Hartmut Kaiser Distributed under 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) ===============================================================================/] [section Include] Spirit is a header file only library. There are no libraries to link to. To use Spirit X3 simply include: #include To distinguish between Spirit versions, you can inspect the version file: #include using the preprocessor define SPIRIT_X3_VERSION It is a hex number where the first two digits determine the major version while the last two digits determine the minor version. For example: #define SPIRIT_X3_VERSION 0x3000 // version 3.0 [endsect] [/Include]