How to compile "POSIX Pthread" program in Dev-C++
環境: Dev-C++ Version 4.9.9.2
1. Tools -> check for updates/packages
2. Swlwct devpak server : devpaks.org Community Devpaks
3. Check for updates
4. Groups : POSIX -> Pthreads-w32
5. Download select
6. close WebUpdates
7. Tools -> compiler options -> Add the following commands when calling compiler
加上「-lpthreadGC2」即可
ref :
How to compile "POSIX Pthread" program in Dev-C++
沒有留言:
張貼留言