Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Project References not working
Project References not working [message #1053627] Mon, 06 May 2013 23:44
James private is currently offline James privateFriend
Messages: 42
Registered: July 2009
Member
I was wondering why the cdt project references doesn't work. I googled and it seems to be a bug of some kind.
I have two projects that I created in Eclipse. One is a shared library project and the other is an executable project. In the executable project properties, I set the project reference to the shared library project. However, my main source file in the executable project can not find the header file from the shared library project. I expected that setting a "project reference" would automatically set up the include and linker settings. Since it does not do that, is there a reason to even have "project references"? Is it for documentation purposes or something? or is there another setting somewhere that I missed?

To get around this issues, I had to create my own make file, and then "import" the projects as makefile projects. There are other editors that do this, so is there something Eclipse can do that those other editors can not do? I thought the purpose of using Eclipse was to get a "visual studio" like environment to make things easier and faster. I guess I was wrong.

But if project references do indeed work as I had expected it to, please explain what I did wrong. I'd love to just keep using Eclipse, but not if I have to do all that other setup anyways.



Eclipse Platform
Version: 3.7.0
Build id: I20110613-1736


Eclipse C/C++ Development Tools Utilities
Version: 5.1.0.201002161416
Previous Topic:Cygwin: support for '(' and ')' in path to libraries without "lib" prefix
Next Topic:Support for Jump to source feature(F3 open declaration) from editor in custom project
Goto Forum:
  


Current Time: Sat Oct 12 18:40:53 GMT 2024

Powered by FUDForum. Page generated in 0.03344 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top