* pthread.h(218) : fatal error C1083: Cannot open include file: 'time.h': No such file or directory
@ 2008-03-28 7:13 Meir Yanovich
2008-03-28 18:37 ` Varun Jobanputra
0 siblings, 1 reply; 2+ messages in thread
From: Meir Yanovich @ 2008-03-28 7:13 UTC (permalink / raw)
To: pthreads-win32
Hello all
im trying to compile static pthread lib , im using vc 6 and win2k
and when im run namke with : nmake clean VC-static-debug
im getting this error :
..\pthreads-w32-2-8-0-release\pthreads-w32-2-8-0-release>nmake clean
VC-static-debug
Microsoft (R) Program Maintenance Utility Version 7.00.8882
Copyright (C) Microsoft Corp 1988-2000. All rights reserved.
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. /D_WIN32_WINNT=0x400
/DHAVE_CONFIG_H /DPTW32_BUILD_INLINED /DPTW32_STATIC_LIB /D__CLEANUP_C
-c pthread.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'
Stop.
NMAKE : fatal error U1077: '"I:\Program Files\Microsoft Platform
SDK\Bin\nmake.exe"' : return code '0x2'
Stop.
what is wrong here ?
thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: pthread.h(218) : fatal error C1083: Cannot open include file: 'time.h': No such file or directory
2008-03-28 7:13 pthread.h(218) : fatal error C1083: Cannot open include file: 'time.h': No such file or directory Meir Yanovich
@ 2008-03-28 18:37 ` Varun Jobanputra
0 siblings, 0 replies; 2+ messages in thread
From: Varun Jobanputra @ 2008-03-28 18:37 UTC (permalink / raw)
To: Meir Yanovich; +Cc: pthreads-win32
Hey, I remember I used to have the same issue. The
problem is that your environment path needs to be
updated.
I was using VC 2005 express and I had to run
vcvars32.bat and setenv.cmd which set up my
environment variables.
The exact path is :
C:\Program Files\Microsoft Visual Studio
8\VC\bin\vcvars32.bat
and
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
change persistent)
Hope this works.
-Varun.
--- Meir Yanovich <meiry242@gmail.com> wrote:
> Hello all
> im trying to compile static pthread lib , im using
> vc 6 and win2k
> and when im run namke with : nmake clean
> VC-static-debug
> im getting this error :
>
..\pthreads-w32-2-8-0-release\pthreads-w32-2-8-0-release>nmake
> clean
> VC-static-debug
> Microsoft (R) Program Maintenance Utility Version
> 7.00.8882
> Copyright (C) Microsoft Corp 1988-2000. All rights
> reserved.
>
> 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.
> /D_WIN32_WINNT=0x400
> /DHAVE_CONFIG_H /DPTW32_BUILD_INLINED
> /DPTW32_STATIC_LIB /D__CLEANUP_C
> -c pthread.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'
> Stop.
> NMAKE : fatal error U1077: '"I:\Program
> Files\Microsoft Platform
> SDK\Bin\nmake.exe"' : return code '0x2'
> Stop.
>
> what is wrong here ?
> thanks
>
Bring your gang together - do your thing. Go to http://in.promos.yahoo.com/groups
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-28 18:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-28 7:13 pthread.h(218) : fatal error C1083: Cannot open include file: 'time.h': No such file or directory Meir Yanovich
2008-03-28 18:37 ` Varun Jobanputra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).