severity 544144 minor
tags 544144 + wontfix
thanks

On Sat, Aug 29, 2009 at 12:42:56PM +0530, Akarsh Simha wrote:
> When I do a 'pkg-config --cflags itpp', I expect pkg-config to output
> the include directories for libitpp. However, all I get is the
> following:
> 
> $ pkg-config --cflags itpp
> -Wall -g -DNDEBUG -pipe -O2
> 
> The library flags seem okay, though.
> 
> I am linking one of my programs against IT++ and the build system uses
> pkg-config to find the include / library paths. It fails because the
> include paths don't seem to be configured. I find the includes at
> /usr/include/itpp on my system.

The documented method of including headers is

#include <itpp/_myheader_>

This provides a safeguard against polluting the header main /usr/include 
namsepace with
IT++ headers. Naturally, /usr/include is already searched by your
compiler and needn't be specified with a -I.

See the examples here:
http://itpp.sourceforge.net/current/tutorial.html

Should you disagree, or think I have made a mistake, please let me
know.

Thanks.

Kumar
-- 
Kumar Appaiah

Attachment: signature.asc
Description: Digital signature

Reply via email to