and even if I make it find that inc file ../src/bootstrap.cpp: In function 'llvm::Function* CloneFunctionAndAdjust(CxxInstance*, llvm::Function*, llvm::FunctionT ype*, bool, llvm::ClonedCodeInfo*, const clang::CodeGen::CGFunctionInfo&, clang::FunctionDecl*, bool, bool*, void**)': ../src/bootstrap.cpp:584:62: error: request for member 'getPointer' in 'Cxx->CxxInstance::CGF->clang::CodeGen::CodeGenFu nction::GetAddrOfLocalVar(PVD)', which is of pointer type 'llvm::Value*' (maybe you meant to use '->' ?) llvm::Value *ArgPtr = Cxx->CGF->GetAddrOfLocalVar(PVD).getPointer(); ^ ../src/bootstrap.cpp:631:57: error: 'Address' is not a member of 'clang::CodeGen' Cxx->CGF->EmitAggregateCopy(Cxx->CGF->ReturnValue,clang::CodeGen::Address(Call,clang::CharUnits::fromQuantity(siz eof(void*))),FD->getReturnType());
... (more errors) terça-feira, 5 de Janeiro de 2016 às 23:08:15 UTC, J Luis escreveu: > > I'm not trying to build with LLDB. Actually, I had to build with (in > Make.user) > > LLVM_VER=3.7.1 > > adding the other settings advised in the Cxx page lead to lots of errors. > But after having build with the above, I added > > override BUILD_LLVM_CLANG=1 > override USE_LLVM_SHLIB=1 > > and advanced more (make install still has many errors) > > with this I got a clang and the ScopeInfo.h file, but it was not yet > found. > I think there is an error in Cxx\deps\BuildBootstrap.Makefile. It has > > -I$(JULIAHOME)/deps/srccache/llvm-$(LLVM_VER)/tools/clang/lib \ > > but there are no header files in it. Changing the line to > > -I$(JULIAHOME)/deps/srccache/llvm-$(LLVM_VER)/tools/clang/include \ > > allowed me to proceed a bit further. It now errors > > V:/julia64/usr/bin/../../deps/srccache/llvm-3.7.1/tools/clang/include/clang/Basic/DiagnosticIDs.h:53:49: > > fatal error: cl > ang/Basic/DiagnosticCommonKinds.inc: No such file or directory > #include "clang/Basic/DiagnosticCommonKinds.inc" > > but the file exists in > > deps\build\llvm-3.7.1\build_Release\tools\clang\include\clang\Basic > or > usr-staging\llvm-3.7.1\build_Release\V\julia64\usr\include\clang\Basic > > > > > > > terça-feira, 5 de Janeiro de 2016 às 22:28:02 UTC, Isaiah escreveu: >> >> Last time I tried this (~October), there were still issues with using >> LLVM as a shared library, and with building LLDB using the recommended >> win32 thread model toolchain. See comments here: >> https://github.com/Keno/Cxx.jl/issues/62#issuecomment-88979566 >> >> If you have gotten through the LLDB build then maybe that no longer >> applies. >> >> and indeed, I have no ScopeInfo.h arround >> >> >> https://github.com/Keno/Cxx.jl/issues/207#issuecomment-169043432 >> >> On Tue, Jan 5, 2016 at 4:57 PM, J Luis <jmf...@gmail.com> wrote: >> >>> but even if I remove those "coward" lines, it errors later with >>> >>> ../src/bootstrap.cpp:31:34: fatal error: clang/Sema/ScopeInfo.h: No such >>> file or directory >>> #include "clang/Sema/ScopeInfo.h" >>> ^ >>> compilation terminated. >>> BuildBootstrap.Makefile:95: recipe for target 'build/bootstrap.o' failed >>> make: *** [build/bootstrap.o] Error 1 >>> >>> and indeed, I have no ScopeInfo.h arround >>> >>> terça-feira, 5 de Janeiro de 2016 às 19:37:54 UTC, Keno Fischer escreveu: >>>> >>>> `:` probably? May have to add the makefile magic that turns >>>> windows-style paths into msys style paths. >>>> >>>> On Tue, Jan 5, 2016 at 8:35 PM, J Luis <jmf...@gmail.com> wrote: >>>> >>>>> Hmm, I found a problem. When running Julia it doesn't know anything >>>>> about 'make'. So I added the msys2 dir where it lives to the path and >>>>> moved >>>>> to next error >>>>> >>>>> Tuning for julia installation at: C:\programs\julia64\usr\bin >>>>> C:/programs/julia64/usr/bin/../../Make.inc:101: *** cowardly refusing >>>>> to build into directory with a shell-metacharacter in the path (got: >>>>> C:/programs/julia64/usr/bin/../..). Stop. >>>>> >>>>> What " shell-metacharacter "? >>>>> >>>>> >>>>> >>>>> terça-feira, 5 de Janeiro de 2016 às 19:21:31 UTC, J Luis escreveu: >>>>>> >>>>>> So I built 0.5 with llvm 3.7.1 on Windows with the aim of trying >>>>>> (again) to build Cxx, but ... >>>>>> >>>>>> any idea why it errors with (which is not true)? >>>>>> >>>>>> Pkg.build("Cxx") >>>>>> LoadError: could not spawn `make -f BuildBootstrap.Makefile >>>>>> JULIA_HOME=C:/programs/julia64/usr/bin`: no such file or directory >>>>>> (ENOENT) >>>>>> >>>>>> Thanks >>>>>> >>>>>> Joaquim >>>>>> >>>>> >>>> >>