# HG changeset patch # User Peter Kovacs # Date 1225986909 -3600 # Node ID a291609dad527edda0385431ccef4de4510f0616 # Parent 0b3b26cd1cea6bb9a28c4641d0e328be973790bb Fix compilation instructions for user-local installation diff -r 0b3b26cd1cea -r a291609dad52 getting_started.dox --- a/getting_started.dox Wed Nov 05 17:10:54 2008 +0000 +++ b/getting_started.dox Thu Nov 06 16:55:09 2008 +0100 @@ -52,12 +52,11 @@ \endverbatim If LEMON is installed user-local into a directory -(e.g. ~/lemon) or if you just skipped the step -make install, then compiling the code is a bit more difficult. +(e.g. ~/lemon), then compiling the code is a bit more difficult. You have to issue a command like this. \verbatim -g++ -lemon -I ~/lemon -L ~/lemon/lemon/.libs hello_lemon.cc -o hello_lemon +g++ -lemon -I ~/lemon/include -L ~/lemon/lib hello_lemon.cc -o hello_lemon \endverbatim If everything has gone well, then our program prints out the followings. diff -r 0b3b26cd1cea -r a291609dad52 install.dox --- a/install.dox Wed Nov 05 17:10:54 2008 +0000 +++ b/install.dox Thu Nov 06 16:55:09 2008 +0100 @@ -215,13 +215,10 @@ [SEC]compile_user_local[SEC] If LEMON is Installed User-Local You have to give more options to the compiler if LEMON is installed -user-local into a directory (denoted by <dir>) -or if you just skipped the step make install. -In the later case <dir> denotes the directory in which the -the \c make command have been performed. +user-local into a directory (denoted by <dir>). \verbatim -g++ -lemon -I -L /lemon/.libs [other options] +g++ -lemon -I /include -L /lib [other options] \endverbatim [SEC]compile_use_pkg_config[SEC] Use pkg-config