Eclipse not seeing my libraries [message #757346] |
Thu, 17 November 2011 15:40  |
Eclipse User |
|
|
|
Hello,
I'm not necessarily new to eclipse, but its configuration was all handled by someone else at my previous job. I've just started a new job, and eclipse is not currently being used, but I'm welcome to use it for C/C++ developement.
My problem is, I've got eclipse installed and working fine... I've done the "Hello World" example through the tutorial just fine, but I'm having problems importing my existing projects, specifically in that it isn't recognizing my basic #includes. It doesn't see stdio.h, stdlib.h, string.h..... none of them.
I've created the new project already, but how to I get eclise to see those standard libraries for that project... Eclipse sees them just fine for the "Hello World" example.
Thank you.
|
|
|
Re: Eclipse not seeing my libraries [message #757475 is a reply to message #757346] |
Fri, 18 November 2011 10:12  |
Eclipse User |
|
|
|
Figured it out... It was a Makefile project, I needed to create it as a Makefile project. When I made it as a regular project, it created its own makefile and failed to link in the correct libraries.
Though this does raise another question... If I were creating this project from scratch, how would I have told eclipse where those libraries/includes were located and how to link them?
|
|
|
Re: Eclipse not seeing my libraries [message #757922 is a reply to message #757346] |
Thu, 17 November 2011 15:46  |
Eclipse User |
|
|
|
On 17-Nov-11 13:40, Michael wrote:
> Hello,
>
> I'm not necessarily new to eclipse, but its configuration was all
> handled by someone else at my previous job. I've just started a new job,
> and eclipse is not currently being used, but I'm welcome to use it for
> C/C++ developement.
>
> My problem is, I've got eclipse installed and working fine... I've done
> the "Hello World" example through the tutorial just fine, but I'm having
> problems importing my existing projects, specifically in that it isn't
> recognizing my basic #includes. It doesn't see stdio.h, stdlib.h,
> string.h..... none of them.
> I've created the new project already, but how to I get eclise to see
> those standard libraries for that project... Eclipse sees them just fine
> for the "Hello World" example.
>
> Thank you.
Consider the sticky posts at the top of this forum encouraging you to
ask such questions on the Eclipse CDT forum.
|
|
|
Powered by
FUDForum. Page generated in 0.07913 seconds