Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Help
»
lp.exe cannott find -lpthread
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: lp.exe cannott find -lpthread (Read 5009 times)
kencfii
Single posting newcomer
Posts: 2
lp.exe cannott find -lpthread
«
on:
August 27, 2016, 10:33:28 pm »
Hello,
I have CB installed on desktop and works fine.
Did same process on laptop but get this error when try to compile.
Windows 10
GNU GCC compiler
lp.exe can not find -lpthread
any ideas what causes this error?
Thanks
Logged
stahta01
Lives here!
Posts: 7790
Re: lp.exe cannott find -lpthread
«
Reply #1 on:
August 27, 2016, 10:54:26 pm »
Two wild guesses; NOTE: If you post a full rebuild log and information about your Compiler then you might get something that is not a wild guess.
1. Your Compiler does NOT have that library.
2. Code::Blocks tool-chain settings are NOT correct for your Compiler.
Tim S.
Logged
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ.
http://wiki.codeblocks.org
kencfii
Single posting newcomer
Posts: 2
Re: lp.exe cannott find -lpthread
«
Reply #2 on:
August 27, 2016, 11:20:15 pm »
Wow!
Got it!
Went into MinGW installer and just selected PT-Threads to install.
Works fine now
Cant believe more people dont have this problem
I followed the install instructions to the letter - same problem on netbeans.
works now
hope this helps someone.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Help
»
lp.exe cannott find -lpthread