You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compilation problem with: lib/bindgen/clang/src/record_match_handler.cpp and lib/bindgen/clang/src/record_match_handler.cpp.
linę 92:
// if (typeInfo.AlignIsRequired) bitSize += typeInfo.Align; // was that - but method does not existif (typeInfo.isAlignRequired()) bitSize += typeInfo.Align; // switch to compile
klass.byteSize = bitSize / 8;
Compilation problem with: lib/bindgen/clang/src/preprocessor_handler.cpp and lib/bindgen/clang/include/regex.hpp
Does not find
crystal lib/qt5/support/generate_bindings.cr
-- Build files have been written to: /Users/marcin/Documents/crystal_projects/qt_sample/lib/bindgen/clang
Consolidate compiler generated dependencies of target parser
[ 7%] Linking CXX executable parser
ld: library not found for -lclangTidyMPIModule
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [parser] Error 1
make[1]: *** [CMakeFiles/parser.dir/all] Error 2
make: *** [all] Error 2
Bindgen requires a full installation of Clang, its libraries and development
headers. Please install these first, and restart this script.
You can also manually run 'cmake . && make'in clang/ for debugging this issue.
Full path to clang/: /Users/marcin/Documents/crystal_projects/qt_sample/lib/bindgen/clang/
Failed to build darwin-unknown-aarch64-qt5.15 using Qt5.15 on - Abort.
```bashclang --versionHomebrew clang version 14.0.6Target: arm64-apple-darwin21.6.0Thread model: posixInstalledDir: /opt/homebrew/opt/llvm/bin
Cannot build via shards
shards build
Dependencies are satisfied
Building: shards
Error target shards failed to compile:
Showing last frame. Use --error-trace for full trace.
There was a problem expanding macro 'macro_4450161088'
Code in lib/qt5/src/qt5/binding.cr:6:1
6 | {% begin %}
^
Called macro defined in lib/qt5/src/qt5/binding.cr:6:1
6 | {% begin %}
Which expanded to:
> 1 |> 2 |> 3 | require "./binding/binding_darwin-unknown-aarch64-qt5.15"
^
Error: can't find file './binding/binding_darwin-unknown-aarch64-qt5.15' relative to '/Users/marcin/Documents/crystal_projects/qt_sample/lib/qt5/src/qt5/binding.cr'
lib/qt5/config/find_paths.yml not support latest version (=14)
LLVM_CONFIG_BINARY:
kind: Executable
optional: false
try:
- llvm-config
version:
min: "4"
max: "14" # was 11
variable: LLVM_VERSION
command: "% --version"
regex: "^([0-9]+)."
error_message: Failed to find llvm version
The text was updated successfully, but these errors were encountered:
Heya, thanks for the report!
If by chance you could come up with partial PRs for the items you mentioned, it would speed up the progress on resolving them.
spoved
to dependencies into shards.ymlVariables have problems with
llvm_version
(command nod found) and also change should addllvm/bin
into the PATH.linę 92:
Does not find
but file exists:
shards
The text was updated successfully, but these errors were encountered: