From: Varun Jobanputra <varunj34@yahoo.com>
To: pthreads-win32@sourceware.org
Subject: Newbie trying to build statically linkable lib.
Date: Fri, 10 Aug 2007 13:33:00 -0000 [thread overview]
Message-ID: <850926.99616.qm@web94403.mail.in2.yahoo.com> (raw)
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
link it statically.
So I downloaded pthreads-w32-2-8-0-release.exe and
extracted all the files in C:\pthreads.
I then went to C:\pthreads\pthreads.2 and ran "nmake
clean VC-static". However, I get the following error:
c:\pthreads\pthreads.2\pthread.h(218) : fatal 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
(which I downloaded and extracted), to my project ?
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.
Did you know? You can CHAT without downloading messenger. Go to http://in.messenger.yahoo.com/webmessengerpromo.php/
next reply other threads:[~2007-08-10 2:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-10 13:33 Varun Jobanputra [this message]
2007-08-18 7:20 ` Robert Kindred
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=850926.99616.qm@web94403.mail.in2.yahoo.com \
--to=varunj34@yahoo.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).