[cfe-dev] LLVMHello Build Error

Samuel Williams via cfe-dev cfe-dev at lists.llvm.org
Mon Feb 22 04:58:06 PST 2016


I believe this is because you have a space in the directory somewhere. What
is your full working directory?

On 14 September 2015 at 03:13, Keith Smith via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> I pulled the latest version of llvm, 247526
>
> ---
>
> I ran cmake as follows
>
> #!/bin/sh
> # clangcmake.sh
> cmake -G "Eclipse CDT4 - Unix Makefiles" -DLLVM_TARGETS_TO_BUILD="X86"
> -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE="Debug"
> -DCMAKE_ECLIPSE_VERSION=4.5 -DCMAKE_CXX_COMPILER=clang++
> -DCMAKE_C_COMPILER=clang ../llvm
>
> ---
>
> I ran
>
> make LLVMHello
>
> It started
>
> Scanning dependencies of target LLVMHello_exports
> [  0%] Creating export file for LLVMHello
> [  0%] Built target LLVMHello_exports
>
> and goutput this error
>
> Scanning dependencies of target LLVMHello
> [100%] Building CXX object
> lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/Hello.cpp.o
> [100%] Linking CXX shared module ../../LLVMHello.so
> clang-3.8: error: no such file or directory:
> 'II/llvm-build/lib/Transforms/Hello/LLVMHello.exports'
> make[3]: *** [lib/LLVMHello.so] Error 1
> make[2]: *** [lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/all] Error 2
> make[1]: *** [lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/rule] Error 2
> make: *** [LLVMHello] Error 2
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160223/5c7f2bae/attachment.html>


More information about the cfe-dev mailing list