This is the mail archive of the
mailing list for the pthreas-win32 project.
Re: pthread.h(218) : fatal error C1083: Cannot open include file: 'time.h': No such file or directory
- From: Varun Jobanputra <varunj34 at yahoo dot com>
- To: Meir Yanovich <meiry242 at gmail dot com>
- Cc: pthreads-win32 at sourceware dot org
- Date: Fri, 28 Mar 2008 18:37:24 +0000 (GMT)
- Subject: Re: pthread.h(218) : fatal error C1083: Cannot open include file: 'time.h': No such file or directory
Hey, I remember I used to have the same issue. The
problem is that your environment path needs to be
I was using VC 2005 express and I had to run
vcvars32.bat and setenv.cmd which set up my
The exact path is :
C:\Program Files\Microsoft Visual Studio
C:\Program Files\ Microsoft Platform SDK for Windows
Server 2003 R2\SetEnv.cmd
Keep in mind that the change is not persistent, and
you will have to run these everytime before you do a
build. (unless ofcourse you know how to make the
Hope this works.
--- Meir Yanovich <firstname.lastname@example.org> wrote:
> Hello all
> im trying to compile static pthread lib , im using
> vc 6 and win2k
> and when im run namke with : nmake clean
> im getting this error :
> Microsoft (R) Program Maintenance Utility Version
> Copyright (C) Microsoft Corp 1988-2000. All rights
> if exist *.obj del *.obj
> if exist *.ilk del *.ilk
> if exist *.pdb del *.pdb
> if exist *.exp del *.exp
> if exist *.map del *.map
> if exist *.o del *.o
> if exist *.i del *.i
> if exist *.res del *.res
> cl /Zi /W3 /MD /nologo /Yd /I.
> /DHAVE_CONFIG_H /DPTW32_BUILD_INLINED
> /DPTW32_STATIC_LIB /D__CLEANUP_C
> -c pthread.c
> pthread.h(218) : fatal error C1083: Cannot open
> include file:
> 'time.h': No such file or directory
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> NMAKE : fatal error U1077: '"I:\Program
> Files\Microsoft Platform
> SDK\Bin\nmake.exe"' : return code '0x2'
> what is wrong here ?
Bring your gang together - do your thing. Go to http://in.promos.yahoo.com/groups