Skip to content

Build Failure #172

@JaredCrean2

Description

@JaredCrean2

Trying to build with julia 0.5 I got the following error:

jared@k475:~/.julia/v0.5/Clang/deps$ julia5 ./build.jl 
g++ wrapclang.cpp -fPIC -c -o wrapclang.cpp.o -I/home/jared/build/clang_3.7/include -g -I/home/jared/build/clang_3.7/include  -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 -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -fno-rtti  -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wno-strict-aliasing -fno-omit-frame-pointer -fPIC 
g++: error: unrecognized command line option ‘-Wcovered-switch-default’
make: *** [wrapclang.cpp.o] Error 1
ERROR: LoadError: clang headers could not be found and BUILD_LLVM_CLANG=1 not specified in Make.user
Try setting BUILD_LLVM_CLANG=1 in Make.user in /mnt/external/build/julia_0.5/usr/bin and try again.
 in error(::String) at ./error.jl:21
 in include_from_node1(::String) at ./loading.jl:488
 in process_options(::Base.JLOptions) at ./client.jl:262
 in _start() at ./client.jl:318
while loading /home/jared/.julia/v0.5/Clang/deps/build.jl, in expression starting on line 59

I am using g++ 4.8.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions