|
|
Home » U++ Library support » U++ SQL » Newbie help with PostgreSQL example
|
|
|
|
|
Re: Newbie help with PostgreSQL example [message #15797 is a reply to message #15795] |
Wed, 07 May 2008 23:45   |
bytefield
Messages: 210 Registered: December 2007
|
Experienced Member |
|
|
Well, guess you have installed a PSQL library for MSVC compiler and trying to use it with MinGW . There is a difference between MinGW and MSVC library files, MSVC use *.lib and MinGW use *.a for extensions. Or maybe you set the wrong folders path, if lib cannot be found. For option '-O 2' it should be -O2, but it doesn't matter here, unless you want optimisation.
cdabbd745f1234c2751ee1f932d1dd75
|
|
|
|
|
Re: Newbie help with PostgreSQL example [message #15821 is a reply to message #15771] |
Thu, 08 May 2008 17:56   |
 |
Rottweiler
Messages: 10 Registered: May 2008 Location: Heber Springs, Arkansas, ...
|
Promising Member |
|
|
Answered my own question. Finally found a download link at MS that actually worked and got enough of it to have the windef.h file.
Now I'm getting this:
Linking...
LINK : fatal error LNK1104: cannot open file 'ms\libpq.lib'
I have 'libpq.lib' but it's in 'C:\Program Files\PostgreSQL\8.3\lib' where the PG installer put it. There is no 'ms' to be found anywhere in that tree.
Any help?
[Updated on: Thu, 08 May 2008 18:06] Report message to a moderator
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sat Apr 26 18:30:15 CEST 2025
Total time taken to generate the page: 0.00560 seconds
|
|
|