Thread: Need help beginner

  1. #1
    Registered User
    Join Date
    Sep 2016
    Posts
    1

    Need help beginner

    so im tried adding the directory for mingw but when i compile it gives me this error:

    file:///C:/mingw/mingw32/bin/ld.exe:%20cannot%20find%20-lpthread%20collect2.exe:%20error:%20ld%20returned% 201%20exit%20status

    and this : Screenshot by Lightshot


    someone please help

  2. #2
    Registered User
    Join Date
    Aug 2016
    Posts
    2
    Hard to compile on mingw32. Just install Embarcadero Studio. bcc32.exe will work perfect.
    Last edited by Prelude; 09-17-2016 at 04:25 AM. Reason: Snipped invisible spammy links. Seriously?

  3. #3
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    Quote Originally Posted by propker View Post
    so im tried adding the directory for mingw but when i compile it gives me this error:

    file:///C:/mingw/mingw32/bin/ld.exe:%20cannot%20find%20-lpthread%20collect2.exe:%20error:%20ld%20returned% 201%20exit%20status

    and this : Screenshot by Lightshot


    someone please help
    Yeah windows does not support pthreads at all because Windows does not support POSIX standard. To get around this you will have to install and use a third party alternative.

    Like this one I suppose? https://www.sourceware.org/pthreads-win32/

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Beginner Question -- From Absolute Beginner's Guide to C
    By Dghelerter in forum C Programming
    Replies: 5
    Last Post: 12-26-2013, 01:30 PM
  2. anyone can help?beginner nd help...
    By silent in forum C++ Programming
    Replies: 6
    Last Post: 10-01-2010, 09:20 AM
  3. help for beginner PLX!
    By anthonyung in forum C Programming
    Replies: 16
    Last Post: 10-01-2010, 07:56 AM
  4. beginner help c++
    By vonteme in forum C++ Programming
    Replies: 1
    Last Post: 09-28-2010, 05:51 AM
  5. Windows programming for beginner (Absolute beginner)
    By WDT in forum Windows Programming
    Replies: 4
    Last Post: 01-06-2004, 11:21 AM

Tags for this Thread