<div dir="ltr">I believe this is because you have a space in the directory somewhere. What is your full working directory?</div><div class="gmail_extra"><br><div class="gmail_quote">On 14 September 2015 at 03:13, Keith Smith via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I pulled the latest version of llvm, 247526<br>
<br>
---<br>
<br>
I ran cmake as follows<br>
<br>
#!/bin/sh<br>
# clangcmake.sh<br>
cmake -G "Eclipse CDT4 - Unix Makefiles" -DLLVM_TARGETS_TO_BUILD="X86"<br>
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE="Debug"<br>
-DCMAKE_ECLIPSE_VERSION=4.5 -DCMAKE_CXX_COMPILER=clang++<br>
-DCMAKE_C_COMPILER=clang ../llvm<br>
<br>
---<br>
<br>
I ran<br>
<br>
make LLVMHello<br>
<br>
It started<br>
<br>
Scanning dependencies of target LLVMHello_exports<br>
[  0%] Creating export file for LLVMHello<br>
[  0%] Built target LLVMHello_exports<br>
<br>
and goutput this error<br>
<br>
Scanning dependencies of target LLVMHello<br>
[100%] Building CXX object<br>
lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/Hello.cpp.o<br>
[100%] Linking CXX shared module ../../LLVMHello.so<br>
clang-3.8: error: no such file or directory:<br>
'II/llvm-build/lib/Transforms/Hello/LLVMHello.exports'<br>
make[3]: *** [lib/LLVMHello.so] Error 1<br>
make[2]: *** [lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/all] Error 2<br>
make[1]: *** [lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/rule] Error 2<br>
make: *** [LLVMHello] Error 2<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div>