X-Original-To: pgsql-interfaces@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 5F550474E42 for ; Thu, 13 Feb 2003 13:51:48 -0500 (EST) Received: from mxzilla1.xs4all.nl (mxzilla1.xs4all.nl [194.109.6.54]) by postgresql.org (Postfix) with ESMTP id 4EFAD474E4F for ; Thu, 13 Feb 2003 13:51:47 -0500 (EST) Received: from xs1.xs4all.nl (xs1.xs4all.nl [194.109.3.11]) by mxzilla1.xs4all.nl (8.12.3/8.12.3) with ESMTP id h1DIpkl8023160; Thu, 13 Feb 2003 19:51:46 +0100 (CET) Received: (from jtv@localhost) by xs1.xs4all.nl (8.11.6/8.11.6) id h1DIpkD48902; Thu, 13 Feb 2003 19:51:46 +0100 (CET) (envelope-from jtv) Date: Thu, 13 Feb 2003 19:51:46 +0100 From: "Jeroen T. Vermeulen" To: Michael Uman Cc: pgsql-interfaces@postgresql.org Subject: Re: Help with LibPgxx and Windows! Message-ID: <20030213185145.GD77177@xs4all.nl> Mail-Followup-To: Michael Uman , pgsql-interfaces@postgresql.org References: <000901c2d390$14da7e10$3217a440@BUD> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000901c2d390$14da7e10$3217a440@BUD> User-Agent: Mutt/1.4i X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/47 X-Sequence-Number: 3668 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