Skip to content

Error building with LLVM 3.5 on OSX Maverick or Yosemite #1

Description

@josephjunker

I get the following error during installation:

node-gyp rebuild

CXX(target) Release/obj.target/llvm/src/llvm.o
In file included from ../src/llvm.cc:1:
In file included from ../src/node-llvm.h:12:
In file included from /usr/local/include/llvm/IR/LLVMContext.h:19:
In file included from /usr/local/include/llvm/Support/CBindingWrapping.h:17:
In file included from /usr/local/include/llvm/Support/Casting.h:19:
/usr/local/include/llvm/Support/type_traits.h:17:10: fatal error: 'type_traits'
file not found

include <type_traits>

     ^

1 error generated.

All I've been able to determine so far is that adding the compiler flags "-std=c++11 -stdlib=libc++" fixes similar issues, but so far I've had no luck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions