Eclipse w/CDT plugin - importing existing sorce code
Does anybody have experience with importing large projects into the Eclipse CDT plugin? I've tried for the last couple of days to get this right, but it does not work. There must be something I do wrong.
Using a CDT documentation as a guide, I tried the following:
1) Created a standard C make project
2) Importet a file system containing the source files
3) Built the project
However, problem arises when I try and compile it. The most common error I get is that the compiler cannot find the includes (i. e., the source files to be included in other files). When I compile manually, it works fine, but not when comiling in CDT.
I know the above problem statement is very vague, but what I'm looking for is a few pointers on how to import and compile the source files. I've read some documentation I found on the Internet (including the CDT homepage), but have found noe answers to why I doesn't work etc.
One more thing: I've tried different approaches. One is to unpack the complete source into a folder, and import this folder into Eclipse. Another is to unpack, the run configure (to generate the makefile). It does not say in the documentation I've come across wether this is required or not, so I just experimented with these approaches. Maybe I'm on the wrong track, so some help would be appreciated.
Any ideas anyone?