<html>
Just add -lpq++ to the linker options (under Projects->Option in
KDevelop 1.4), and also include the path -L/... in the options or
alternatively include it in /etc/ld.so.conf and don't forget to run
ldconfig... That should work<br>
<br>
Pascal<br>
<br>
<br>
At 04:45 PM 19/03/2001, you wrote:<br>
<br>
<blockquote type=cite cite>I am having trouble linking external libraries
- specifically postgresql<br>
libraries.<br>
<br>
I can get everything working on the command line, but not within
the<br>
Kdevelop IDE.<br>
<br>
This is what I type at the command line<br>
<br>
<x-tab> </x-tab>g++
-I/usr/local/pgsql/include -o myapp<br>
myapp.cpp -L/usr/local/pgsql/lib -lpq++<br>
<br>
which works as desired, but in the Kdevelop IDE it throws up
comilation<br>
errors. ie can't find the libraries.<br>
<br>
Any suggestions would be great. I know it is something simple but hey
:)<br>
<br>
Thanks<br>
Jake<br>
</blockquote><br>
<tt>________________________________________________________<br>
<br>
Present address: <br>
<br>
Pascal Niklaus<br>
Landcare Research<br>
Private Bag 11 052<br>
Palmerston North<br>
New
Zealand
<br>
<br>
Phone: +64 6 356 7154 (reception)<br>
+64 6 350 5799 3968 (direct)<br>
Fax: +64 6 355 9230<br>
<br>
e-mail:
<a href="mailto:Pascal.Niklaus@unibas.ch">Pascal.Niklaus@unibas.ch</a> or
<a href="mailto:Pascal.Niklaus@gmx.ch">Pascal.Niklaus@gmx.ch</a><br>
_________________________________________________________<br>
</html>