News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

lp.exe cannott find -lpthread

Started by kencfii, August 27, 2016, 10:33:28 PM

Previous topic - Next topic

kencfii

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

stahta01

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.


C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

kencfii

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.