Re: question about compiling in VC

From: "Lothar Behrens" <lothar(dot)behrens(at)lollisoft(dot)de>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: question about compiling in VC
Date: 2004-11-17 18:32:27
Message-ID: 200411171832.iAHIWRC08841@jedi.behrens.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)mails(dot)tsinghua(dot)edu(dot)cn
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2004-11-17
>

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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Lothar Behrens 2004-11-17 18:35:55 Re: Looking for the file psqlodbc.rc
Previous Message Fernando Hartmann 2004-11-17 17:52:05 7.4 Backend Protocol