COIN-OR::LEMON - Graph Library

Changeset 9:a48bf0d3a790 in lemon-tutorial for getting_started.dox


Ignore:
Timestamp:
10/28/08 18:54:30 (12 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Children:
10:55e2f7712e87, 11:0a51fe554d01
Phase:
public
Message:

Extend installation guide + reorganize the toc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • getting_started.dox

    r7 r9  
    1818
    1919/**
    20 \page getting_started Getting Started
    21 
    22 \section hello_lemon Compile Your First Code
     20\page hello_lemon Compile Your First Code
    2321
    2422If you have installed LEMON on your system you can paste the following
     
    3129
    3230First let us briefly explain how this example program works.
    33 (The used notions will be discussed in detail in the following chapter.)
     31(The used notions will be discussed in detail in the following sections.)
    3432
    3533After some convenience typedefs we create a directed graph (\e digraph)
     
    5351Finally we iterate through all arcs again and print their lengths.
    5452
    55 Now let's compile this simple example program.
     53Now let us compile this simple example program.
    5654
    57 \subsection hello_lemon_system If LEMON is Installed System-Wide
     55\section hello_lemon_system If LEMON is Installed System-Wide
    5856
    59 If your installation of LEMON into directory \c /usr/local was
    60 successful, then it is very easy to compile this program with the
     57If LEMON is installed system-wide (into directory \c /usr/local),
     58then it is very easy to compile this program with the
    6159following command (the argument <tt>-lemon</tt> tells the compiler
    6260that we are using the installed LEMON):
    6361
    6462\verbatim
    65 g++ hello_lemon.cc -o hello_lemon -lemon
     63g++ -lemon hello_lemon.cc -o hello_lemon
    6664\endverbatim
    6765
     
    7371\endverbatim
    7472
    75 \subsection hello_lemon_user If LEMON is Installed User-Local
     73\section hello_lemon_user If LEMON is Installed User-Local
    7674
    7775Compiling the code is a bit more difficult if you installed LEMON
     
    8179
    8280\verbatim
    83 g++ -I ~/lemon hello_lemon.cc -o hello_lemon -lemon -L ~/lemon/lemon/.libs
     81g++ -lemon -I ~/lemon -L ~/lemon/lemon/.libs hello_lemon.cc -o hello_lemon
    8482\endverbatim
    85 
    86 \subsubsection hello_lemon_pkg_config Use pkg-config
    87 
    88 \todo Write this sub-subsection (\ref hello_lemon_pkg_config).
    8983
    9084If everything has gone well, then our program prints out the followings.
Note: See TracChangeset for help on using the changeset viewer.