Re: Help with LibPgxx and Windows!

From: "Jeroen T(dot) Vermeulen" <jtv(at)xs4all(dot)nl>
To: Michael Uman <muman(at)softwaremagic(dot)net>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Help with LibPgxx and Windows!
Date: 2003-02-13 18:51:46
Message-ID: 20030213185145.GD77177@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Thu, Feb 13, 2003 at 10:45:29AM -0800, Michael Uman wrote:
>
> I need to get LibPqxx up and running on Windows. I have a pgSQL client
> which works fine on Linux and I need to port the baby to Windows. 1st
> challenge was getting a port of 'popt' library which I used to parse
> cmdline options. Now I need to get libpqxx up and running. Does anyone
> have any experience in accomplishing this. If not, what do other people
> do to get around this. Is there a more portable pgsql/C++ interface? I
> have MSVC 6.0 and can't seem to get the makefile to work. Is there a
> binary I can just link with? Also where can I get the pgsql.dll which is
> required.

One thing you can do is simply set up your own project file with all
the .cxx files in the src directory, edit include/pqxx/config.h (as
described in the README), and compile it all into a library. The
Visual C++ Makefile hasn't been updated in a while, but there's
nothing magical about what it does.

You may also want to check out the mailing list on www.pqxx.tk and
check the bug reports & feature requests lists there.

Jeroen

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Momjian 2003-02-13 19:34:54 Re: Berkley DB like API, Btree access
Previous Message Michael Uman 2003-02-13 18:45:29 Help with LibPgxx and Windows!