User forums > Help

lp.exe cannott find -lpthread

(1/1)

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.


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.

Navigation

[0] Message Index

Go to full version