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
Build using the following CMake command: cmake -B build -DCUTTER_QT6=ON -DCUTTER_ENABLE_SIGDB=ON -DCUTTER_PACKAGE_RZ_GHIDRA=ON -DCUTTER_PACKAGE_RZ_LIBSWIFT=ON -DCUTTER_PACKAGE_RZ_LIBYARA=ON -DCUTTER_ENABLE_PYTHON=ON -DCUTTER_ENABLE_PYTHON_BINDINGS=ON && make -C build
Observe the error
[ 4%] Generating Python bindings with shiboken2
(bindings) clang_parseTranslationUnit2(0x0, cmd[41]=-nostdinc -isystem/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1 -isystem/Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include -isystem/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -isystem/Library/Developer/CommandLineTools/usr/include -iframework/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks -fPIC -Wno-expansion-to-defined -Wno-constant-logical-operand -x c++ -std=c++17 -I/opt/homebrew/Frameworks/Python.framework/Versions/3.11/include/python3.11:/opt/homebrew/include/PySide6:/opt/homebrew/include/PySide6/QtCore:/opt/homebrew/include/PySide6/QtGui:/opt/homebrew/include/PySide6/QtWidgets:/Volumes/Sources/Rizin/cutter/build/src/bindings/CutterBindings:/Volumes/Sources/Rizin/cutter/src/core:/Volumes/Sources/Rizin/cutter/src/widgets:/Volumes/Sources/Rizin/cutter/src/common:/Volumes/Sources/Rizin/cutter/src/plugins:/Volumes/Sources/Rizin/cutter/src/menus:/Volumes/Sources/Rizin/cutter/src/.:/opt/homebrew/lib/QtCore.framework/Headers:/opt/homebrew/lib/QtCore.framework:/opt/homebrew/lib/QtWidgets.framework/Headers:/opt/homebrew/lib/QtWidgets.framework:/opt/homebrew/lib/QtCore.framework/Headers:/opt/homebrew/lib/QtCore.framework:/opt/homebrew/lib/QtGui.framework/Headers:/opt/homebrew/lib/QtGui.framework:/opt/homebrew/lib/QtDBus.framework/Headers:/opt/homebrew/lib/QtDBus.framework:/opt/homebrew/lib/QtGui.framework/Headers:/opt/homebrew/lib/QtGui.framework:/opt/homebrew/lib/QtCore.framework/Headers:/opt/homebrew/lib/QtCore.framework:/opt/homebrew/lib/QtDBus.framework/Headers:/opt/homebrew/lib/QtDBus.framework:/Volumes/Sources/Rizin/cutter/build/Rizin-prefix/include/librz:/Volumes/Sources/Rizin/cutter/build/Rizin-prefix/include/librz/sdb:/Volumes/Sources/Rizin/cutter/src -I/opt/homebrew/lib/QtCore.framework/Headers -I/opt/homebrew/lib/QtCore.framework -I/opt/homebrew/lib/QtWidgets.framework/Headers -I/opt/homebrew/lib/QtWidgets.framework -I/opt/homebrew/lib/QtCore.framework/Headers -I/opt/homebrew/lib/QtCore.framework -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtGui.framework -I/opt/homebrew/lib/QtDBus.framework/Headers -I/opt/homebrew/lib/QtDBus.framework -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtGui.framework -I/opt/homebrew/lib/QtCore.framework/Headers -I/opt/homebrew/lib/QtCore.framework -I/opt/homebrew/lib/QtDBus.framework/Headers -I/opt/homebrew/lib/QtDBus.framework -I/Volumes/Sources/Rizin/cutter/src/core -I/Volumes/Sources/Rizin/cutter/src/widgets -I/Volumes/Sources/Rizin/cutter/src/common -I/Volumes/Sources/Rizin/cutter/src/plugins -I/Volumes/Sources/Rizin/cutter/src/menus -I/Volumes/Sources/Rizin/cutter/src -I/Volumes/Sources/Rizin/cutter/build/Rizin-prefix/include/librz -I/Volumes/Sources/Rizin/cutter/build/Rizin-prefix/include/librz/sdb /private/var/folders/x9/k5dys75d2vg49zqcw82546680000gq/T/bindings_IRijpp.hpp "-DQT_ANNOTATE_ACCESS_SPECIFIER(a)=__attribute__((annotate(#a)))" "-DQT_ANNOTATE_CLASS(type,...)=static_assert(sizeof(#__VA_ARGS__),#type);" -DQSIMD_H)
/opt/homebrew/lib/QtCore.framework/Headers/qstring.h:14:10: fatal error: 'QtCore/qchar.h' file not found
(bindings) Errors in -DQSIMD_H:
/opt/homebrew/lib/QtCore.framework/Headers/qstring.h:14:10: fatal: 'QtCore/qchar.h' file not found
/private/var/folders/x9/k5dys75d2vg49zqcw82546680000gq/T/bindings_IRijpp.hpp:1:10: note: in file included from /private/var/folders/x9/k5dys75d2vg49zqcw82546680000gq/T/bindings_IRijpp.hpp:1:
/Volumes/Sources/Rizin/cutter/src/bindings/bindings.h:7:10: note: in file included from /Volumes/Sources/Rizin/cutter/src/bindings/bindings.h:7:
/Volumes/Sources/Rizin/cutter/src/core/Cutter.h:4:10: note: in file included from /Volumes/Sources/Rizin/cutter/src/core/Cutter.h:4:
/Volumes/Sources/Rizin/cutter/src/core/CutterCommon.h:9:10: note: in file included from /Volumes/Sources/Rizin/cutter/src/core/CutterCommon.h:9:
/opt/homebrew/lib/QtCore.framework/Headers/QString:1:10: note: in file included from /opt/homebrew/lib/QtCore.framework/Headers/QString:1:
(bindings) Clang: 1 diagnostic messages:
/opt/homebrew/lib/QtCore.framework/Headers/qstring.h:14:10: fatal: 'QtCore/qchar.h' file not found
/private/var/folders/x9/k5dys75d2vg49zqcw82546680000gq/T/bindings_IRijpp.hpp:1:10: note: in file included from /private/var/folders/x9/k5dys75d2vg49zqcw82546680000gq/T/bindings_IRijpp.hpp:1:
/Volumes/Sources/Rizin/cutter/src/bindings/bindings.h:7:10: note: in file included from /Volumes/Sources/Rizin/cutter/src/bindings/bindings.h:7:
/Volumes/Sources/Rizin/cutter/src/core/Cutter.h:4:10: note: in file included from /Volumes/Sources/Rizin/cutter/src/core/Cutter.h:4:
/Volumes/Sources/Rizin/cutter/src/core/CutterCommon.h:9:10: note: in file included from /Volumes/Sources/Rizin/cutter/src/core/CutterCommon.h:9:
/opt/homebrew/lib/QtCore.framework/Headers/QString:1:10: note: in file included from /opt/homebrew/lib/QtCore.framework/Headers/QString:1:
Keeping temporary file: /private/var/folders/x9/k5dys75d2vg49zqcw82546680000gq/T/bindings_IRijpp.hpp
shiboken: Error running ApiExtractor.
Shouldn't cutter be using --framework-include-paths= on darwin/macOS when calling shiboken like PySide6 does, since there is no upstream Qt6 guarantee that ${QT6_INSTALL_PREFIX}/include includes the framework headers as far as I can tell?
Environment information
Describe the bug
cmake -B build -DCUTTER_QT6=ON -DCUTTER_ENABLE_SIGDB=ON -DCUTTER_PACKAGE_RZ_GHIDRA=ON -DCUTTER_PACKAGE_RZ_LIBSWIFT=ON -DCUTTER_PACKAGE_RZ_LIBYARA=ON -DCUTTER_ENABLE_PYTHON=ON -DCUTTER_ENABLE_PYTHON_BINDINGS=ON && make -C build
Observe the error
See #2952
The text was updated successfully, but these errors were encountered: