Qt-interest Archive, October 2007
Qt PSQL Windows VS .Net compilation problem
Message 1 in thread
Greetings,
I am trying to compile QT using Microsoft Visual Studio 2003 .Net (
win32_msvc.net ) with the PSQL (PostgreSQL) module enabled. I seem to be
having problems. Here is my configure line:
D:\qt\4.3.2>configure.exe -I "C:\Program
Files\PostgreSQL\8.3-beta1\include" -L "C:\Program Files\Po
stgreSQL\8.3-beta1\lib" -static -qt-sql-psql -qt-sql-odbc
The configure step goes OK, but this the build exits with this error:
LINK : fatal error LNK1181: cannot open input
file 'Files\PostgreSQL\8.3-beta1\lib.obj'
NMAKE : fatal error U1077: 'link' : return code '0x49d'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\BIN\nmake.exe"'
: return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
Any ideas on this? First off, I can not understand why it is looking
in 'Files\PostgreSQL\8.3-beta1\' for *anything*, and there is no 'lib.obj'
anywhere.
Thanks
Shane C. Mason
--
[ signature omitted ]
Message 2 in thread
Hello, Shane !
D:\qt\4.3.2>configure.exe -I "C:\Program
> Files\PostgreSQL\8.3-beta1\include" -L "C:\Program Files\Po
> stgreSQL\8.3-beta1\lib" -static -qt-sql-psql -qt-sql-odbc
Possible libpq libraries does not link.
--
[ signature omitted ]
Message 3 in thread
Shane C. Mason wrote:
> Any ideas on this? First off, I can not understand why it is looking
> in 'Files\PostgreSQL\8.3-beta1\' for *anything*, and there is no 'lib.obj'
> anywhere.
It looks like something is not quoted properly, so spaces break your
Makefile. Try to install your postgres files under somewhere else than a
path with spaces. Maybe that will help.
- Adam
--
[ signature omitted ]