Thread: Build problem with MSVC 6.0

Build problem with MSVC 6.0

From
lothar.behrens@lollisoft.de
Date:
Hi,

I get not rid of my problems with the odbc driver in my english environment of
Windows 2000. So I tried to compile the driver from scratch with MSVC 6.0.

First: The file psqlodbc.rc is missed in the source distribution file. I have got it
from CVS.

While compiling the sources all goes well until linking the resulting psqlodbc.res
file.

This is the output:

Q:\develop\Projects\CPP\vendor\psqlODBC\psqlodbc-07.03.0200>nmake -f
win32.mak

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

Building the PostgreSQL ODBC 3.0 Driver for Win32...

No configuration specified. Defaulting to ODBC30.

        link.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nma02036.
.\MultibyteODBC30\psqlodbc.res : fatal error LNK1136: invalid or corrupt file
NMAKE : fatal error U1077: 'link.exe' : return code '0x470'
Stop.

I can open the rc file in Visual Studio.

Any ideas ?

Thanks

Lothar

--
Lothar Behrens        www.lollisoft.de
Rosmarinstr 3        My public project:
40235 Düsseldorf      http://sourceforge.net/projects/lbdmf