On 16.02.08 01:42:20, Aleix wrote:
> Hi list,
> Today I noticed that there was a lot of problems when
opening a c++
> file (on a cmake project).
>
> I saw that it wasn't able to find any headers and
digging through the
> output I have found that:
>
> kdevelop(29102)/kdevelop (cpp support)
> CppLanguageSupport::findIncludePaths: Did not find a
build-manager for
>
KUrl("file:///home/kde-devel/kdevelop/buildtools/manage
rs/cmake/parser/variablemap.cpp")
> kdevelop(29102)/kdevelop (cpp support)
> CppLanguageSupport::findIncludePaths: Failed to resolve
include-path
> for "
KUrl("file:///home/kde-devel/kdevelop/buildtools/manage
rs/cmake/parser/variablemap.cpp")
> ": "Makefile is missing in folder
>
"/home/kde-devel/kdevelop/buildtools/managers/cmake/par
ser""
> "problem while trying to resolve include-paths
for variablemap.cpp"
>
> Well, it is actually saying that he can't find a
project for the
> specified file, which is found on the project
obviously.
>
> Does anybody have any idea about how to solve this?
Fix projectForFile on IProject, at least I suspect the
problem is there.
After all thats what C++ support calls. Having a file
visible in the
project tree does not necessarily mean C++ support can find
the project
for it, simply because projectForFile might have a logic bug
Andreas
--
You are dishonest, but never to the point of hurting a
friend.
_______________________________________________
KDevelop-devel mailing list
KDevelop-devel kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel
|