I think I had the path wrong before, but I still get the same error with
    
    
    ls /Library/Developer/CommandLineTools/usr/lib/
    
    arc                        libtapi.dylib
    arch_tool                  libxcrun.dylib
    clang                      sourcekitd.framework
    libIndexStore.dylib        sourcekitdInProc.framework
    libLTO.dylib               swift
    libclang.dylib             swift-5.0
    libcodedirectory.dylib     swift-5.5
    libswiftDemangle.dylib     tapi
    
    export LD_LIBRARY_PATH=/Library/Developer/CommandLineTools/usr/lib/
    nimble install futhark
    
    
    Run

I think there is some other problem. As I said, I do a lot of C dev on this 
machine, and building other things have no probs loading with all the standard 
libs and stuff. I also have clang-format installed, that links to it, and it 
runs fine.

I can do this fine, which also uses libclang:
    
    
    clang -Xclang -ast-dump -fsyntax-only testclang.cpp
    
    
    Run

Reply via email to