pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Help with LibPgxx and Windows!
2+ messages / 2 participants
[nested] [flat]

* Help with LibPgxx and Windows!
@ 2003-02-13 18:45 Michael Uman <muman@softwaremagic.net>
  2003-02-13 18:51 ` Re: Help with LibPgxx and Windows! Jeroen T. Vermeulen <jtv@xs4all.nl>
  0 siblings, 1 reply; 2+ messages in thread

From: Michael Uman @ 2003-02-13 18:45 UTC (permalink / raw)
  To: pgsql-interfaces

Hello,
 
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.
 
Any help would be appreciated. If I get no answer then I am busted on
the Windows platform and I will rue the day I chose to go with libpqxx.
Is there a ODBC driver for postgres on Windows? Maybe I can go that
route? If so, my Linux implementation will need some major tweaking.
 
Please help. I am hoping to have this solved by next week. I was really
hoping to get the application to start building this week, but this is
becoming a bit of a hinderance.
 
Thank you,
Michael Uman
Sr. Software Engineer
Softwaremagic.net
 
http://www.softwaremagic.net <http://www.softwaremagic.net/; 
 
 
 

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Help with LibPgxx and Windows!
  2003-02-13 18:45 Help with LibPgxx and Windows! Michael Uman <muman@softwaremagic.net>
@ 2003-02-13 18:51 ` Jeroen T. Vermeulen <jtv@xs4all.nl>
  0 siblings, 0 replies; 2+ messages in thread

From: Jeroen T. Vermeulen @ 2003-02-13 18:51 UTC (permalink / raw)
  To: Michael Uman <muman@softwaremagic.net>; +Cc: 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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-02-13 18:51 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-02-13 18:45 Help with LibPgxx and Windows! Michael Uman <muman@softwaremagic.net>
2003-02-13 18:51 ` Jeroen T. Vermeulen <jtv@xs4all.nl>

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