public inbox for
 help / color / mirror / Atom feed
From: John Emmas <>
Subject: Re: Unresolved external symbol __imp_pthread_mutex_unlock
Date: Fri, 09 Nov 2018 08:20:00 -0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On 08/11/2018 21:53, Josh Henrie wrote:
> Why is the linker trying to resolve the functions with the prefix `__imp_`?
> What do I need to do to resolve the symbols?

The prefix '__imp_' signifies that your main project (i.e. not the 
pthreads_win32 project) is expecting to import those symbols from a DLL 
(but it found a static link lib, rather than the DLL link lib that it 
was expecting).  Basically, there's a mismatch between your main project 
and pthreads_win32.  Most likely, your main project also needs to 
#define PTW32_STATIC_LIB (so that BOTH projects expect a static lib).  
Hope that helps,


      parent reply	other threads:[~2018-11-09  8:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-08 21:54 Josh Henrie
2018-11-08 22:15 ` Josh Henrie
2018-11-09  8:20 ` John Emmas [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:

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

  git send-email \ \ \ \

* 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).