pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedLIBPQXX on Windows
3+ messages / 3 participants
[nested] [flat]
* LIBPQXX on Windows
@ 2003-02-13 08:57 Michael Uman <muman@softwaremagic.net>
2003-02-14 07:26 ` Re: LIBPQXX on Windows Ries van Twisk <ries@jongert.nl>
0 siblings, 1 reply; 3+ messages in thread
From: Michael Uman @ 2003-02-13 08:57 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] 3+ messages in thread
* Re: LIBPQXX on Windows
2003-02-13 08:57 LIBPQXX on Windows Michael Uman <muman@softwaremagic.net>
@ 2003-02-14 07:26 ` Ries van Twisk <ries@jongert.nl>
2003-02-14 19:29 ` Re: LIBPQXX on Windows Jeroen T. Vermeulen <jtv@xs4all.nl>
0 siblings, 1 reply; 3+ messages in thread
From: Ries van Twisk @ 2003-02-14 07:26 UTC (permalink / raw)
To: 'Michael Uman' <muman@softwaremagic.net>; pgsql-interfaces
Hi,
I also wanted a LibPqxx on my windows system. At the time I made the
decission I took the short route and used ODBC which worked fine when using
Acces, Omnis Studio and the Qt libraries.
I need the library because I want to write a Omnis DAM.
Ries
-----Oorspronkelijk bericht-----
Van: pgsql-interfaces-owner@postgresql.org
[mailto:pgsql-interfaces-owner@postgresql.org]Namens Michael Uman
Verzonden: donderdag 13 februari 2003 9:57
Aan: pgsql-interfaces@postgresql.org
Onderwerp: [INTERFACES] LIBPQXX on Windows
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: LIBPQXX on Windows
2003-02-13 08:57 LIBPQXX on Windows Michael Uman <muman@softwaremagic.net>
2003-02-14 07:26 ` Re: LIBPQXX on Windows Ries van Twisk <ries@jongert.nl>
@ 2003-02-14 19:29 ` Jeroen T. Vermeulen <jtv@xs4all.nl>
0 siblings, 0 replies; 3+ messages in thread
From: Jeroen T. Vermeulen @ 2003-02-14 19:29 UTC (permalink / raw)
To: Ries van Twisk <ries@jongert.nl>; +Cc: 'Michael Uman' <muman@softwaremagic.net>; pgsql-interfaces
On Fri, Feb 14, 2003 at 08:26:03AM +0100, Ries van Twisk wrote:
>
> I also wanted a LibPqxx on my windows system. At the time I made the
> decission I took the short route and used ODBC which worked fine when using
> Acces, Omnis Studio and the Qt libraries.
Unfortunately I can't maintain the Windows/MSVC++ project setup
myself, so this part is typically a little behind the times. There
is now some more documentation in the README for building on a
Windows system; basicallly, doing it from scratch should involve
little more than:
- creating a project with all source files (src/*.cxx) in it
- telling the compiler where to find the postgres includes and
libpq
- editing include/pqxx/config.h, and if necessary, defining
NO_PARTIAL_CLASS_TEMPLATE_SPECIALISATION to work around a
limitation in Microsoft's compiler
- clicking "build"
Several people have done this already, and some have offered help
on getting it into the project (especially Clinton James who produced
the files in the win32 directory) but so far nobody has stepped
forward with a serious commitment to maintain this side of the project.
Jeroen
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2003-02-14 19:29 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-02-13 08:57 LIBPQXX on Windows Michael Uman <muman@softwaremagic.net>
2003-02-14 07:26 ` Ries van Twisk <ries@jongert.nl>
2003-02-14 19:29 ` 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