|
|
Home » U++ Library support » U++ SQL » SQL_ProgreSQL example building problems
SQL_ProgreSQL example building problems [message #17601] |
Fri, 22 August 2008 07:31  |
xws001
Messages: 8 Registered: August 2007 Location: Russia
|
Promising Member |
|
|
Hi!
I'm try to use U++ 2008.1, and have problems with building SQL_ProgreSQL example.
console output:
>Linking...
>C:\soft\upp\mingw\bin/ld.exe: cannot find -lpq
>collect2: ld returned 1 exit status
>There were errors. (0:11.42)
PostgreSQL ver - 8.3.3
compiler - MinGW
in "Setup \Build methods":
- into tab "INCLUDE directories" added "C:\Progra~1\Postgr~1\8.3\include"
- into tab "LIB directories" added "C:\Progra~1\Postgr~1\8.3\lib"
Can you help me?
[Updated on: Fri, 22 August 2008 09:56] Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: SQL_ProgreSQL example building problems [message #17690 is a reply to message #17689] |
Tue, 26 August 2008 05:02   |
captainc
Messages: 278 Registered: December 2006 Location: New Jersey, USA
|
Experienced Member |
|
|
There are similar issues with other libraries as well; such as openssl and some other plugins. Binaries are installed in different directory structures than self-builds and self-compiled build methods can create different library names. These slight adjustments are unfortunately usually necessary. Though, you are right in that linking with mingw or on linux, you do not specify the lib name with extension -> pq.lib, but rather you specify lib[libname] -> libpq.
[Updated on: Tue, 26 August 2008 05:06] Report message to a moderator
|
|
|
|
Re: SQL_ProgreSQL example building problems [message #17763 is a reply to message #17758] |
Thu, 28 August 2008 09:42  |
captainc
Messages: 278 Registered: December 2006 Location: New Jersey, USA
|
Experienced Member |
|
|
Quote: | Well, I am thinking that maybe, in fact, we could ship some of them with Win32 release (AFAIK, both pg or ssl are BSD).
|
I think it's a good idea. Maybe provide a second download package with all the compiled libs included. Then, if someone wants to update their libs, they can just replace the ones already included in the package.
|
|
|
Goto Forum:
Current Time: Tue Apr 29 15:03:10 CEST 2025
Total time taken to generate the page: 0.04145 seconds
|
|
|