Eclipse Juno - GCC compiler pthread

前端 未结 1 1042
深忆病人
深忆病人 2021-01-25 12:06

So I\'m currently in a practical session at my university and not a single person can figure out how to add the pthread library in Eclipse. This is my first time with Eclipse th

相关标签:
1条回答
  • 2021-01-25 12:40

    Make sure you have in Project -> Settings -> C/C++ Build the option "Generate Makefile automatically" selected! Otherwise Eclipse assumes you are providing your own makefile and doesn't show the "Tool setting" tab.

    Then you need to go to Project -> Properties -> C/C++ Build do this.

    enter image description here

    0 讨论(0)
提交回复
热议问题