pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
question about compiling in VC
2+ messages / 2 participants
[nested] [flat]

* question about compiling in VC
@ 2004-11-17 01:18  飞龙 <li-fl03@mails.tsinghua.edu.cn>
  0 siblings, 1 reply; 2+ messages in thread

From: 飞龙 @ 2004-11-17 01:18 UTC (permalink / raw)
  To: 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? 
   

   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



Attachments:

colinxh.gif (image/gif, 5.2K) download view image
^ permalink raw reply [nested|flat] 2+ messages in thread

* Re: question about compiling in VC
@ 2004-11-17 18:32  Lothar Behrens <lothar.behrens@lollisoft.de>
  parent: 飞龙 <li-fl03@mails.tsinghua.edu.cn>
  0 siblings, 0 replies; 2+ messages in thread

From: Lothar Behrens @ 2004-11-17 18:32 UTC (permalink / raw)
  To: 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 :-)




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-11-17 18:32 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-11-17 01:18 question about compiling in VC 飞龙 <li-fl03@mails.tsinghua.edu.cn>
2004-11-17 18:32 ` Lothar Behrens <lothar.behrens@lollisoft.de>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox