Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » "Preprocessor Include Paths, Macros, etc" missing
"Preprocessor Include Paths, Macros, etc" missing [message #1833124] Fri, 02 October 2020 17:18 Go to next message
Eclipse UserFriend
Hi,

I'm trying to set up a project with cmake4eclipse. After hours of trying the project finally compiles from Eclipse. But the indexer doesn't run at all and I get errors for almost every line in the code editor. The project properties window is completely missing the "Preprocessor Include Paths, Macros, etc." page in the tree structure on the left. I guess I need to enable the providers by the cmake4eclipse plugin so that the indexer will know where to look for include files. But why don't I see the relevant page in the project properties?

Attached a copy-paste of my configuration from the about window.

Thanks,
--
Szabi
  • Attachment: eclipse.txt
    (Size: 961.80KB, Downloaded 239 times)
Re: "Preprocessor Include Paths, Macros, etc" missing [message #1833129 is a reply to message #1833124] Sat, 03 October 2020 01:26 Go to previous messageGo to next message
Eclipse UserFriend
Adding the CMake nature to a project removes the Preprocessor Include Paths, Macros, etc. menu item.
This may or may not be a bug.

AFAIK, the only workaround is to import the project as Existing Code as Makefile Project
then run CMake as a external program.

I haven't tried it but you might be able to change the build command to CMake.
(Project --> Properties --> C/C++ Build)
This could allow menu items like Build Project to work.
Re: "Preprocessor Include Paths, Macros, etc" missing [message #1833336 is a reply to message #1833129] Fri, 09 October 2020 07:27 Go to previous message
Eclipse UserFriend
Please check this article.
https://www.eclipse.org/community/eclipse_newsletter/2013/october/article4.php
Previous Topic:[Ubuntu] System Header Includes Broken in CDT 2020-09
Next Topic:How to link Static library in Eclipse?
Goto Forum:
  


Current Time: Wed Jul 09 23:55:24 EDT 2025

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

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

Back to the top