[sclug] C++ Linking to libpg++ problem

Tim Sutton t.sutton at reading.ac.uk
Sat Oct 25 09:05:49 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All

I am using kdevelop for my C++ learning exploits. I am trying to incorporate 
some code written by a third party into my app, but I am having compilation 
problems. The class relies on libpg++ (postgresql c++ interface), which I 
have installed from rpm on my mandrake box. The headers live under 
/usr/include/pgsql/. I presume I need to add a -I/usr/include/pgsql/ to the 
configure process, but cant find the right place to do this within the 
kdevelop ide. 

Is my presumption correct?
Does anyone know where the correct place to do this within kdevelop is?
Is the -l in  -I/usr/include/pgsql/ a small 'L' or a capital 'i'?

Many thanks


- -- 
Tim Sutton
BDWorld Middleware Programmer
- -------------------------------------------------------------------
BiodiversityWorld Project
Centre for Plant Diversity & Systematics
School of Plant Sciences
The University of Reading
Reading, RG66AS, UK

Web     :   www.bdworld.org
Phone  :   +44-(0)118-378-6052  
Email    :   t.sutton [at] reading.ac.uk
(email preferred method of correspondence)
- -------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/F/kxutd4EOVU4coRAhcMAJwMTwELPszzkTEKC3BRh1dUaIR9bQCdHsFq
Rtti64ts/QUwzebN9ln0xRE=
=3V0R
-----END PGP SIGNATURE-----




More information about the Sclug mailing list