umbrello build

Shawn McKenney shawn.mckenney at emmion.com
Tue Sep 13 04:12:54 UTC 2016


Thanks Ralf. I am now running into the issue below. I have both of the
libraries but they are not in the ld path (KDE neon). I could help throw in
a FindClang.cmake file to locate clang. There are a few out there that I
could grab. If you want me to, let me know where to put it. Do we want it
specific to the unittests or should we call FindClang at a higher level so
the vars are available to others? I could drop it in the top-level cmake
directory.


[ 98%] Linking CXX executable test-llvm
/usr/bin/ld: cannot find -lclangFrontend
/usr/bin/ld: cannot find -lclangTooling
collect2: error: ld returned 1 exit status
unittests/CMakeFiles/test-llvm.dir/build.make:128: recipe for target
'unittests/test-llvm' failed
make[2]: *** [unittests/test-llvm] Error 1
CMakeFiles/Makefile2:820: recipe for target
'unittests/CMakeFiles/test-llvm.dir/all' failed
make[1]: *** [unittests/CMakeFiles/test-llvm.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2



My system info:

mckenney at sanvicente:~/kdesrc/extragear/kdevelop/kdevelop$ *cat
/etc/lsb-release*
DISTRIB_ID=neon
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="KDE neon User Edition 5.7"

mckenney at sanvicente:~/kdesrc/extragear/kdevelop/kdevelop$ *gcc --version*
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

mckenney at sanvicente:~/kdesrc/extragear/kdevelop/kdevelop$ *find /usr/lib |
grep -i clangfrontend*
/usr/lib/llvm-3.7/lib/libclangFrontend.a
/usr/lib/llvm-3.7/lib/libclangFrontendTool.a
/usr/lib/llvm-3.8/lib/libclangFrontend.a
/usr/lib/llvm-3.8/lib/libclangFrontendTool.a


-- 
Shawn McKenney
President, Emmion
858 254 5468
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/umbrello-devel/attachments/20160912/d7b06adf/attachment-0001.html>


More information about the umbrello-devel mailing list