[swift-users] Error building Swift
Brandon Knope
bknope at me.com
Wed Feb 17 16:54:59 CST 2016
I cloned ninja again and I deleted the build folder. It looks like it’s getting stuck somewhere else now
"
++ cmake_config_opt llvm
++ product=llvm
++ [[ Ninja == \X\c\o\d\e ]]
+ /opt/local/bin/cmake --build '/Users/bknope/Documents/Development/Home Dev/SwiftOpenSource/Git/build/Ninja-DebugAssert/llvm-macosx-x86_64' -- -j8 all
[558/2025] Linking CXX shared module lib/LLVMHello.dylib
FAILED: : && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -stdlib=libc++ -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -std=c++11 -fcolor-diagnostics -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.9 -bundle -Wl,-headerpad_max_install_names -stdlib=libc++ -Wl,-flat_namespace -Wl,-undefined -Wl,suppress -Wl,-exported_symbols_list,/Users/bknope/Documents/Development/Home Dev/SwiftOpenSource/Git/build/Ninja-DebugAssert/llvm-macosx-x86_64/lib/Transforms/Hello/LLVMHello.exports -o lib/LLVMHello.dylib lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/Hello.cpp.o -Wl,-rpath, at executable_path/../lib && :
clang: error: no such file or directory: 'Dev/SwiftOpenSource/Git/build/Ninja-DebugAssert/llvm-macosx-x86_64/lib/Transforms/Hello/LLVMHello.exports'
[558/2025] Building CXX object lib/Tra.../LLVMVectorize.dir/LoopVectorize.cpp.o
ninja: build stopped: subcommand failed.
utils/build-script: command terminated with a non-zero exit status 1, aborting
“
Brandon
> On Feb 17, 2016, at 5:29 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
>
> On Wed, Feb 17, 2016 at 1:59 PM, Brandon Knope <bknope at me.com> wrote:
>> Sure thing! I really appreciate the help!
>
> 'which' command reports that everything is fine, but CMake isn't
> seeing ninja. Could you check out the ninja sources next to swift,
> remove your 'build' directory, try again and post the output here?
>
> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160217/97dc17bf/attachment.html>
More information about the swift-users
mailing list