LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-29-2005, 06:44 AM   #1
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Rep: Reputation: 40
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
eclipse + CDT : how can i create a project which includes multi main( ) tclwp Programming 4 02-11-2005 08:27 AM
Eclipse CDT for Amd64??? ssobeht Programming 4 02-07-2005 06:33 AM
Eclipse CDT for Amd64 pliz?! ssobeht Debian 1 02-05-2005 12:44 PM
autoindent in eclipse/CDT spuzzzzzzz Linux - Software 0 07-23-2004 06:27 PM
upgrading a RPM with sorce code aaronruss Linux - Newbie 2 06-08-2004 01:04 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration