Re: question about compiling in VC - Mailing list pgsql-odbc

From Lothar Behrens
Subject Re: question about compiling in VC
Date
Msg-id 200411171832.iAHIWRC08841@jedi.behrens.de
Whole thread Raw
In response to question about compiling in VC  ("飞龙" <li-fl03@mails.tsinghua.edu.cn>)
List pgsql-odbc
> hi,
>    I want to compile the psqlodbc-07.03.0200 source files in VC6,but I met
>    a mistake.
>
>    it said it could not find the file 'config.h' when compiling.
> d:\projects\vc\odbc\psqlodbc\gpps.c(22) : fatal error C1083: Cannot open
> include file: 'config.h': No such file or directory
>
>    so I changed the "config.h.in" to "config.h" and then it was
>    successful.I wondered whether I was right to change the file?
>

Hi,

config.h.in is created from an unix make system. This creates the
required file via ./configure.

Use the following line:

nmake -f win32.mak all CFG=Target

See the available targets in the error message.

HTH

Lothar

>
>    I have searched the list archives but I cannot find the direct
>    answer.Plz help me.      Thanks
>
>       Regards
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Feilong Lee
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡li-fl03@mails.tsinghua.edu.cn
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2004-11-17
>


---- My home: www.lollisoft.de -----------------------------
Lothar Behrens    | Independent:       lothar.behrens@gmx.de
Rosmarinstr 3     | My public project:
40235 Düsseldorf  |  http://sourceforge.net/projects/lbdmf
                  |  -> Need comments, please visit :-)


pgsql-odbc by date:

Previous
From: "飞龙"
Date:
Subject: Looking for the file psqlodbc.rc
Next
From: "Lothar Behrens"
Date:
Subject: Re: Looking for the file psqlodbc.rc