Unable to use KDevelop::Path

Todd Nowacki tmn at andrew.cmu.edu
Tue Feb 4 16:24:50 UTC 2014


Hi,

I'm currently trying to get a fix for
https://bugs.kde.org/show_bug.cgi?id=321982.

Right now, I'm trying to create a KUrl from a Path and I'm getting the
error "undefined reference to 'KDevelop::Path::toUrl() const'", any advice?
Someone on irc suggested making sure that I uninstalled all traces of
kdevelop / kdevplatform from my package manager; I have done that but no
luck.

I'm assuming that this is some sort of build dependency error, given that
the error is occurring during linking, but I'm not sure how to fix it. The
full error is as follows:

Building CXX object
outputview/CMakeFiles/kdevplatformoutputview.dir/outputfilteringstrategies.cpp.o
Linking CXX shared library ../lib/libkdevplatformoutputview.so
CMakeFiles/kdevplatformoutputview.dir/outputfilteringstrategies.cpp.o: In
function `KDevelop::CompilerFilterStrategy::errorInLine(QString const&)':
/home/tmn/src/kdevplatform/outputview/outputfilteringstrategies.cpp:283:
undefined reference to `KDevelop::Path::pathOrUrl() const'
/home/tmn/src/kdevplatform/outputview/outputfilteringstrategies.cpp:286:
undefined reference to `KDevelop::Path::toUrl() const'
collect2: error: ld returned 1 exit status


Thanks!

-Todd Nowacki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20140204/c5d80d78/attachment.html>


More information about the KDevelop-devel mailing list