Comments (1)
cppast requires libclang which you do not have installed.
You need to install it and - for Windows - set the CMake variables to the correct values as described in the README here:
For that set the option LLVM_VERSION_EXPLICIT to the version you're using, LIBCLANG_LIBRARY to the location of the libclang library file, LIBCLANG_INCLUDE_DIR to the directory where the header files are located (so they can be included with clang-c/Index.h), LIBCLANG_SYSTEM_INCLUDE_DIR where the system header files are located (i.e. stddef.h etc, usually under prefix/lib/clang//include) and CLANG_BINARY to the full path of the clang++ exectuable.
For example, under Appveyor I use the following CMake invocation:
cmake -G"Visual Studio 14 2015 Win64" -DLLVM_VERSION_EXPLICIT=4.0.0 -DLIBCLANG_LIBRARY="C:/Program Files/LLVM/lib/libclang.lib" -DLIBCLANG_INCLUDE_DIR="C:/Program Files/LLVM/include" -DLIBCLANG_SYSTEM_INCLUDE_DIR="C:/"Program Files"/LLVM/lib/clang/4.0.0/include" -DCLANG_BINARY="C:/Program Files/LLVM/bin/clang++.exe" ../
from cppast.
Related Issues (20)
- `unexposed_t` type when template parameters are omitted. HOT 1
- Compilation fails on Windows when building with UNICODE HOT 2
- cpp_template_specialization unexposed_arguments() broken syntax HOT 3
- Better to_string for cpp_dependent_type HOT 2
- Error with Typedef'ed Integers from cstdint HOT 1
- Errors with "circular" includes HOT 14
- Empty semantic_parent for outer class/template variable definition HOT 3
- ba6fd12 breaks preprocessor macros (tests failing) HOT 22
- Support for raw build commands? HOT 1
- Clang 15 - minor breaking change and opportunity for enhancements HOT 1
- Problem with getting function templated type arguments HOT 2
- GCC array bounds complain on libclang_parser.cpp
- Clang complains about unqualified move on function_parser.cpp
- disable -Werror when building in release HOT 1
- Error parsing nested class template HOT 2
- Failure to parse glfw3.h header (Access violation reading location) HOT 2
- Weird underscore in array of reference type HOT 1
- parser::parse: Inconsistency in documentation or unwanted behavior when file already in index
- CppParser.ParseFile() call hangs HOT 2
- Announcement: EOL of cppast HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cppast.