Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\varun\ccls>cmake -H. -BRelease -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_PREFIX_PATH="%llvmp%/Release;%llvmp%/Release/tools/clang;%llvmp%;%llvmp%/tools/clang"
- -- The CXX compiler identification is Clang 12.0.0 with MSVC-like command-line
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- Check for working CXX compiler: C:/Users/varun/llvm-project/Release/bin/clang-cl.exe - skipped
- -- Detecting CXX compile features
- -- Detecting CXX compile features - done
- -- Looking for C++ include pthread.h
- -- Looking for C++ include pthread.h - not found
- -- Found Threads: TRUE
- -- Using local RapidJSON
- fatal: No names found, cannot describe anything.
- -- Configuring done
- -- Generating done
- -- Build files have been written to: C:/Users/varun/ccls/Release
- C:\Users\varun\ccls>ninja -C Release
- ninja: Entering directory `Release'
- [11/43] Building CXX object CMakeFiles\ccls.dir\src\clang_tu.cc.obj
- FAILED: CMakeFiles/ccls.dir/src/clang_tu.cc.obj
- C:\Users\varun\llvm-project\Release\bin\clang-cl.exe /nologo -TP -I..\src -I..\third_party -IC:\Users\varun\llvm-project\llvm\include -IC:\Users\varun\llvm-project\Release\include -IC:\Users\varun\llvm-project\clang\include -IC:\Users\varun\llvm-project\Release\tools\clang\include -I..\third_party\rapidjson\include /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MD /O2 /Ob2 /DNDEBUG /nologo /EHsc /D_CRT_SECURE_NO_WARNINGS /W3 /wd4996 /wd4267 /wd4800 /wd4068 /std:c++17 /GR- -std:c++17 /showIncludes /FoCMakeFiles\ccls.dir\src\clang_tu.cc.obj /FdCMakeFiles\ccls.dir\ -c ..\src\clang_tu.cc
- ..\src\clang_tu.cc(114,18): error: no matching constructor for initialization of 'driver::Driver'
- driver::Driver d(args[0], llvm::sys::getDefaultTargetTriple(), *diags, vfs);
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- C:\Users\varun\llvm-project\clang\include\clang/Driver/Driver.h(303,3): note: candidate constructor not viable: no known conversion from 'IntrusiveRefCntPtr<llvm::vfs::FileSystem>' to 'std::string' (aka 'basic_string<char, char_traits<char>, allocator<char>>') for 4th argument
- Driver(StringRef ClangExecutable, StringRef TargetTriple,
- ^
- C:\Users\varun\llvm-project\clang\include\clang/Driver/Driver.h(59,7): note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 4 were provided
- class Driver {
- ^
- C:\Users\varun\llvm-project\clang\include\clang/Driver/Driver.h(59,7): note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 4 were provided
- 1 error generated.
- [24/43] Building CXX object CMakeFiles\ccls.dir\src\pipeline.cc.obj
- ninja: build stopped: subcommand failed.
- C:\Users\varun\ccls>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement