pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sagine E.Ferrus <sagine@islanderonline.com>
To: pgsql-interfaces@postgresql.org
Subject: Libpq++ & Borland C++
Date: Mon, 21 Jul 2003 06:11:58 -0700 (PDT)
Message-ID: <20030721131158.A782D47FA@sitemail.everyone.net> (raw)

I want to use Libpq++ wit borland c++. I try to use libpq++ libs in my application but i keep getting linker errors, Can anyone help Please.  I was not able to use the available make files to compile the files so i had  to do it in borland and create a package and add all the files to the package.  I dont know what more to do.  Here is my code :

...
PGconn * connection;
connection = PQconnectdb("dbname=db_gatecop");
PQfinish(connection);
...

and here is the error message:

[Linker Error] Unresolved external '_PQconnectdb' referenced from testing.Obj





_____________________________________________________________
Visit our Caribbean Community at http://www.islanderonline.com



view thread (2+ messages)  latest in thread

Message-ID: <20030721131158.A782D47FA@sitemail.everyone.net>
Permalink:  ../20030721131158.A782D47FA@sitemail.everyone.net/
Also on:    postgresql.org/message-id/20030721131158.A782D47FA@sitemail.everyone.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: sagine@islanderonline.com
  Subject: Re: Libpq++ & Borland C++
  In-Reply-To: <20030721131158.A782D47FA@sitemail.everyone.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox