Re: ODBC driver compilation with MS C++ 6.0

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Rafael dos Santos Cubas" <rsc01(at)inf(dot)ufpr(dot)br>, <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: ODBC driver compilation with MS C++ 6.0
Date: 2002-10-02 13:15:35
Message-ID: 03AF4E498C591348A42FC93DEA9661B868B2@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi,

Try switching off precompiled headers in the VC++ project settings.

Regards, Dave.

> -----Original Message-----
> From: Rafael dos Santos Cubas [mailto:rsc01(at)inf(dot)ufpr(dot)br]
> Sent: 02 October 2002 13:58
> To: pgsql-odbc(at)postgresql(dot)org
> Subject: [ODBC] ODBC driver compilation with MS C++ 6.0
>
>
>
> I'm trying to compile psqlodbc, from the source that i got
> in
> ftp://ftp.postgresql.org/pub/odbc/versions/old/v06-50-0000/pos
> tsrc.zip,
> I couldn't find a newest version, using Microsoft Visual C++
> 6.0. But it always return the error message above. I already
> tried to follow the compilation steps described in pgsql-odbc
> home page, but I got the same error message.
>
> Does anybody can help me?
>
> Thanks
>
> Rafael
>
>
> --------------------Configuration: psqlodbc - Win32
> Release--------------------
> Compiling...
> tuplelist.c
> C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\tuplelist.c(189) : fatal error
> C1010: unexpected end of file while looking for precompiled
> header directive columninfo.c C:\Arquivos de
> programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\columninfo.c(161) : fatal error
> C1010: unexpected end of file while looking for precompiled
> header directive connection.c C:\Arquivos de
> programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\connection.c(1375) : fatal error
> C1010: unexpected end of file while looking for precompiled
> header directive convert.c C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\convert.c(1548) : fatal error
> C1010: unexpected end of file while looking for precompiled
> header directive dlg_specific.c C:\Arquivos de
> programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\dlg_specific.c(867) : fatal error
> C1010: unexpected end of file while looking for precompiled
> header directive drvconn.c C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\drvconn.c(374) : fatal error
> C1010: unexpected end of file while looking for precompiled
> header directive environ.c C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\environ.c(479) : fatal error
> C1010: unexpected end of file while looking for precompiled
> header directive execute.c C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\execute.c(786) : fatal error
> C1010: unexpected end of file while looking for precompiled
> header directive info.c C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\info.c(2787) : fatal error C1010:
> unexpected end of file while looking for precompiled header
> directive lobj.c C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\lobj.c(198) : fatal error C1010:
> unexpected end of file while looking for precompiled header
> directive misc.c C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\misc.c(275) : fatal error C1010:
> unexpected end of file while looking for precompiled header
> directive options.c C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\options.c(622) : fatal error
> C1010: unexpected end of file while looking for precompiled
> header directive parse.c C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\parse.c(786) : fatal error C1010:
> unexpected end of file while looking for precompiled header
> directive pgtypes.c C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\pgtypes.c(789) : fatal error
> C1010: unexpected end of file while looking for precompiled
> header directive Generating Code... Compiling... psqlodbc.cpp
> C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\psqlodbc.cpp(129) : fatal error
> C1010: unexpected end of file while looking for precompiled
> header directive Generating Code... Compiling... qresult.c
> C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\qresult.c(621) : fatal error
> C1010: unexpected end of file while looking for precompiled
> header directive results.c C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\results.c(1268) : fatal error
> C1010: unexpected end of file while looking for precompiled
> header directive setup.c C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\setup.c(413) : fatal error C1010:
> unexpected end of file while looking for precompiled header
> directive socket.c C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\socket.c(320) : fatal error C1010:
> unexpected end of file while looking for precompiled header
> directive statement.c C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\statement.c(940) : fatal error
> C1010: unexpected end of file while looking for precompiled
> header directive Generating Code... Compiling... StdAfx.cpp
> C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\StdAfx.cpp(5) : fatal error C1083:
> Cannot open precompiled header file: 'Release/psqlodbc.pch':
> No such file or directory Generating Code... Compiling...
> tuple.c C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\tuple.c(58) : fatal error C1010:
> unexpected end of file while looking for precompiled header
> directive bind.c C:\Arquivos de programas\Microsoft Visual
> Studio\MyProjects\psqlodbc\bind.c(432) : fatal error C1010:
> unexpected end of file while looking for precompiled header
> directive Generating Code... Error executing cl.exe.
>
> psqlodbc.dll - 23 error(s), 0 warning(s)
>
>
> Rafael
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
http://www.postgresql.org/users-lounge/docs/faq.html

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Dave Page 2002-10-02 14:40:27 Re: ODBC driver compilation with MS C++ 6.0
Previous Message Jean-Baptiste ESTIVAL 2002-10-02 13:10:34 Recordset problem