public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
From: Varun Jobanputra <varunj34@yahoo.com>
To: Meir Yanovich <meiry242@gmail.com>
Cc: pthreads-win32@sourceware.org
Subject: Re: pthread.h(218) : fatal error C1083: Cannot open include file: 'time.h': No such file or directory
Date: Fri, 28 Mar 2008 18:37:00 -0000	[thread overview]
Message-ID: <226913.34464.qm@web94407.mail.in2.yahoo.com> (raw)
In-Reply-To: <c30def490803280012s2ceccd48j4c6d2d03d60b063c@mail.gmail.com>

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

      reply	other threads:[~2008-03-28 18:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-28  7:13 Meir Yanovich
2008-03-28 18:37 ` Varun Jobanputra [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=226913.34464.qm@web94407.mail.in2.yahoo.com \
    --to=varunj34@yahoo.com \
    --cc=meiry242@gmail.com \
    --cc=pthreads-win32@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).