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 though.

I'm using Fedora, and when I go to Properties->C/C++ Build->Settings, all I get is a drop-down list for configurations and nothing else - no tabs for tools to add it.

Can anyone help me? Thank you!

Damn

Settings

share|improve this question
up vote 2 down vote accepted

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

share|improve this answer
    
I might just walk out of here. I go there and there's no Library or Library Paths tab. – Stickerbox Feb 8 '13 at 10:16
    
Are you doing exactly this? blog.asteriosk.gr/2009/02/15/… – Dan Feb 8 '13 at 10:19
    
I've updated my original post with what I'm seeing. – Stickerbox Feb 8 '13 at 10:23
    
@Stickerbox Please see my updated answer. – Dan Feb 8 '13 at 10:30
1  
@Stickerbox 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 – Dan Feb 8 '13 at 10:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.