cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Cannot compile libcurl-7.15.4 source files on Windows

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 29 Jun 2006 08:54:34 +0200 (CEST)

On Wed, 28 Jun 2006, neetha mannem wrote:

> I am a new user. I have downloaded curl-7.15.4.zip on windows.
> libcurl-7.15.4 source and header files that exists in lib directory, when
> compiling on MSVC IDE, I see below errors:

But you didn't use the provided project file, did you?

> \curl-7.15.4\lib\amigaos.h(29) : fatal error C1083: Cannot open include
> file: 'exec/types.h': No such file or directory
> nwlib.c
> \curl-7.15.4\lib\nwlib.c(27) : fatal error C1083: Cannot open include file:
> 'library.h': No such file or directory

That header file and that C file should not be included in a windows build.

We should probably do some #ifdefs in there to avoid these errors in case
people do like you did...

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-06-29