Skip to content

Instantly share code, notes, and snippets.

@djbender
Created November 17, 2010 03:35
Show Gist options
  • Save djbender/702936 to your computer and use it in GitHub Desktop.
Save djbender/702936 to your computer and use it in GitHub Desktop.
I assume MinGW installed.
I assume MinGW installed.
click Project -> Properties
C/C++ Build -> Settings -> [Tool Settings] -> MinGW C Linker (maybe be different, e.g. "GNU C/C++ Linker")
- Libraries - add the library: pthread
- Miscellaneous - add the linker flag: -lpthread
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment