This is the mail archive of the pthreads-win32@sourceware.org mailing list for the pthreas-win32 project.

Index Nav: Message Nav: [Date Index] [Subject Index] [Author Index] [Thread Index] [Date Prev] [Date Next] [Thread Prev] [Thread Next] [Raw text]

# RE: Newbie trying to build statically linkable lib.

• From: "Robert Kindred" <RKindred at SwRI dot edu>
• To: "Varun Jobanputra" <varunj34 at yahoo dot com>, <pthreads-win32 at sourceware dot org>
• Date: Fri, 10 Aug 2007 08:33:24 -0500
• Subject: RE: Newbie trying to build statically linkable lib.

```Are you using Visual Studio 2005?  I built a project in that, by

It has been so long that I forgot what they are.  I put them
in my constructors and destructors, but I don't know if you
are programming in C or C++.

hth,       Robert Kindred

> -----Original Message-----
> Jobanputra
> Sent: Thursday, August 09, 2007 9:33 PM
> Subject: Newbie trying to build statically linkable lib.
>
>
> Hi,
>
> I am a total newbie !! so please excuse my stupid
> question...
>
> I was able to use Win32 pthreads as a DLL. Everything
> was perfect.
>
> But for easier distribution of my program I want to
>
> extracted all the files in C:\pthreads.
>
> clean VC-static". However, I get the following error:
>
> C1083: Cannot open include file: 'time.h': No such
> file or directory
>
> 1) So it is ofcourse not able to find time.h whilch
> lies in MSVC include folder C:\Program Files\Microsoft
> Platform SDK for Windows Server 2003 R2\Include. Can
> anyone please tell me what exactly do I need to do
> here ?
>
> 2) Do I need to add all the pthread source files
>
> 3) So, I guess once nmake succeeds, it will create
> pthreadVCn.lib. Then what do I need to do with it ?
> Just copy paste it to the MSVC lib directory ?
>
> I would really appreciate if someone can help me out
> here !!!!
>
> Thanks and regards,
> VJ.
>
>