View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013970CMakeCMakepublic2013-03-03 10:572014-09-01 16:55
Reporterkesten 
Assigned ToAlex Neundorf 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionunable to reproduce 
PlatformApple MacOSOS XOS Version10.4.10
Product VersionCMake 2.8.10.2 
Target VersionFixed in Version 
Summary0013970: Troubles importing cmake c++ project into eclipse using Eclipse CDT4 generator
DescriptionI started this in a previous thread.
http://public.kitware.com/Bug/view.php?id=13606 [^]

The update to 2.8.10.2 got me past some issues.
However, i'm still having troubles getting included files to be recognized.

I'm not sure how to upload photos to this site, so i created a page elsewhere describing the difficulties (complete with photos and video links)

https://sites.google.com/site/apachestack/assignments/homeworkforweekofoctober25th/example-importing-an-enterprise-c-cmake-project [^]

https://sites.google.com/site/apachestack/classroom-pictures [^]

Any tips to getting rid of all the "red ink" in my project would be most appreciated. The build works because eclipse just delegates to make at the commandline. But all the nice features like code complete and "open declaration" only work for a very few files in the project.

thanks,

kesten
Steps To ReproduceCreate .project and .cproject files for eclipse using cmake -G "Eclipse CDT4 Unix Makefiles" option.
Open project in eclipse.
Manually include any paths not inluded automatically using the Properties dialog.
Most included components are displayed with a red underline and a complaint of "Symbol X could not be resolved". Even for X in the std lib.
Additional InformationComplete details in the links in Description field.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0032549)
Peter Kuemmel (developer)
2013-03-09 05:38

Is it also a ninja issue?
(0032562)
kesten (reporter)
2013-03-09 11:34

No it is not. It's more a CDT4 Eclipse cmake issue. I just found it on a posting from a ninja user having a similar problem.
(0032950)
Alex Neundorf (developer)
2013-04-28 10:08

Just to make sure I don't misunderstand:
you are using the Eclipse CDT generator, right ?
Can you please attach the generated .project and .project files here ?

I know that there are issues with includes from OSX frameworks, so maybe this is the same as 0013367 .
(0033392)
Alex Neundorf (developer)
2013-06-26 16:12

If you still have that problem with Eclipse and CMake, can you please attah the generated .project and .cproject files here ?

Thanks
(0035949)
Alex Neundorf (developer)
2014-05-27 16:30

I can't reproduce the problem.
e.g. std::string is resolved just fine for me.
Do you still have the problem ?
(0036697)
Alex Neundorf (developer)
2014-09-01 16:55

I cannot reproduce the problem and the reporter does not respond anymore, so I'm closing this ticket.

 Issue History
Date Modified Username Field Change
2013-03-03 10:57 kesten New Issue
2013-03-04 11:52 Alex Neundorf Assigned To => Alex Neundorf
2013-03-04 11:52 Alex Neundorf Status new => assigned
2013-03-09 05:24 Peter Kuemmel Assigned To Alex Neundorf => Peter Kuemmel
2013-03-09 05:38 Peter Kuemmel Note Added: 0032549
2013-03-09 11:34 kesten Note Added: 0032562
2013-03-12 12:57 Peter Kuemmel Assigned To Peter Kuemmel => Alex Neundorf
2013-04-28 10:08 Alex Neundorf Note Added: 0032950
2013-06-26 16:12 Alex Neundorf Note Added: 0033392
2014-05-27 16:30 Alex Neundorf Note Added: 0035949
2014-09-01 16:55 Alex Neundorf Note Added: 0036697
2014-09-01 16:55 Alex Neundorf Status assigned => closed
2014-09-01 16:55 Alex Neundorf Resolution open => unable to reproduce


Copyright © 2000 - 2018 MantisBT Team