Use pthread on Visual Studio

Sysprogs forums Forums VisualGDB Use pthread on Visual Studio

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28090
    Rabad
    Participant

    Hi,

    I am developing software ar Raspberry Pi ( I am new at this field), I am evaluating the VisualGDB (using Microsoft Visual Studio) to do it, because it is very simple to start, compile and debug the code. It was going all OK until I have tried to use pthreads, I am not able to compile in any way. I have installed the  NuGet packet but without effect. I have these errors:

    1. Error Command-line action failed
    2. C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets 44
    3. Error ld returned 1 exit status
    4. Error undefined reference to `pthread_create’

    ¿Anyone can help me? I am completely lost.

    Thanks

    #28091
    support
    Keymaster

    Hi,

    Please try updating to VisualGDB 5.5 Preview 5. It includes automatic troubleshooting for missing references.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.