Title: [Ενσωματωμένα] Pthreads and Visual Studio Post by: ripper_george on May 30, 2012, 18:55:22 pm Αν θέλετε να χρησιμοποιήσετε το Visual Studio για τις εργασίες του Πιτσιάνη, (χωρίς να χρειάζεται να μάθετε από την αρχή προγραμματισμό με threads στα windows, με τη χρήση των windows.h etc)
μπορείτε να κάνετε το εξής: Υou will need to install a small library called Pthreads-win32. Go to the Pthreads-win32 download area(http://sources.redhat.com/pthreads-win32/index.html#download). Φetch the latest version (pthreads-w32-2-x-x-release.exe) and extract to in some temporary location. Move (and rename) the Pre-built.2 directory over to C:\Program Files\Pthreads. Copy the DLL files (or at least PthreadVC2.DLL) from the lib subdirectory to your C:\Windows\System (or \C:\Windows\SysWOW64 with Windows x64). Go to Tools / Options / Projects and Solutions / VC++ Directories in Visual Studio and add C:\Program Files\Pthreads\include to your include path and C:\Program Files\Pthreads\lib to your library path. |