[esnacc-dev] [RFC PATCH 5/5] doc/developer-guide-sample-app: Update compile line

Aaron Conole aconole at bytheb.org
Tue Jan 3 22:25:16 UTC 2017

The developer guide for C++ includes a now superfluous reference to the
cxx-lib include directory.  With a prior change, if the esnacc library is
installed in a standard prefix (aka `/usr`), there is no longer a need
to spell out the includes, so remove it.

Signed-off-by: Aaron Conole <aconole at redhat.com>
 doc/developer-guide-sample-app.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/developer-guide-sample-app.md b/doc/developer-guide-sample-app.md
index 8e69b15..9249fc5 100644
--- a/doc/developer-guide-sample-app.md
+++ b/doc/developer-guide-sample-app.md
@@ -480,7 +480,7 @@ Wrapping each of the C++ code sections above in a single file called
 We can compile this with the following simple command:
 `g++ -std=c++0x -o test discovery.cpp NodeDiscovery.cpp
-     -I. -I/usr/include/cxx-lib/inc -lcxxasn1 -pthread -lrt`
+     -I. -lcxxasn1 -pthread -lrt`
 That will generate the *test* binary, which can be executed on our host
 machine.  It is important not to run this in production - after all it is meant

More information about the dev mailing list