ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

snapshot for May 2023
‹ May 2023 ›×
31 May 2023
I tried with both CLANG_INSTALL_DIR set and unset too in both cases it fails to generate wrappers :/
C
it seems to be unrelated because it's still being used: C:\Program Files\LLVM\lib\clang\15.0.7\
C
use of undeclared identifier '__builtin_elementwise_add_sat' I think that's the first order. It might be that the libcland version you are using is not valid? but it's weird. I do use libclang 14, and I know there are many issues still with 16, but 15 should work :/
A
almost the same issue 🤔
I
Could you share your entire build command and your environment variables here?
Hm, never mind the command, do maybe share the environment variables, though.
I
Does the build fail only on Windows? Have you tried other platforms?
From GH logs I found the shiboken invocation on windows: shiboken: Error running ApiExtractor. Command line: "C:/Users/runneradmin/AppData/Local/Temp/build-via-sdist-jtfhhkes/sciqlopplots-0.3.4/SciQLopPlots/bindings/SciQLopPlotsBindings/../bindings.h" "C:/Users/runneradmin/AppData/Local/Temp/build-via-sdist-jtfhhkes/sciqlopplots-0.3.4/SciQLopPlots/bindings/SciQLopPlotsBindings/../bindings.xml" "--generator-set=shiboken" "--enable-parent-ctor-heuristic" "--enable-return-value-heuristic" "--use-isnull-as-nb_nonzero" "--avoid-protected-hack" "--enable-pyside-extensions" "-std=c++17" "--generator-set=shiboken" "-IC:\Users\runneradmin\AppData\Local\Temp\build-via-sdist-jtfhhkes\sciqlopplots-0.3.4\.mesonpy-xexdwmly\build\SciQLopPlots\SciQLopPlotsBindings.cp311-win_amd64.pyd.p" "-IC:\Users\runneradmin\AppData\Local\Temp\build-via-sdist-jtfhhkes\sciqlopplots-0.3.4\.mesonpy-xexdwmly\build\SciQLopPlots" "-IC:\Users\runneradmin\AppData\Local\Temp\build-via-sdist-jtfhhkes\sciqlopplots-0.3.4\SciQLopPlots" "-IC:\Users\runneradmin\AppData\Local\Temp\build-via-sdist-jtfhhkes\sciqlopplots-0.3.4\include" "-IC:\Users\runneradmin\AppData\Local\Temp\build-via-sdist-jtfhhkes\sciqlopplots-0.3.4\qcustomplot-source" "-IC:\hostedtoolcache\windows\Python\3.11.3\x64\Lib\site-packages\numpy\core\include" "-IC:\Users\runneradmin\AppData\Local\Temp\build-via-sdist-jtfhhkes\sciqlopplots-0.3.4\subprojects\cpp_utils\include" "-IC:\Users\runneradmin\AppData\Local\Temp\build-via-sdist-jtfhhkes\sciqlopplots-0.3.4\.mesonpy-xexdwmly\build\subprojects\cpp_utils" "-IC:\Users\runneradmin\AppData\Local\Temp\build-via-sdist-jtfhhkes\sciqlopplots-0.3.4\subprojects\cpp_utils" "-IC:\Users\runneradmin\AppData\Local\Temp\build-via-sdist-jtfhhkes\sciqlopplots-0.3.4\subprojects\cpp_utils\include\cpp_utils" "-IC:\Users\runneradmin\AppData\Local\Temp\build-via-sdist-jtfhhkes\sciqlopplots-0.3.4\.mesonpy-xexdwmly\build\subprojects\hedle
Then for env I only add this to PATH : C:\Program Files\LLVM\bin;${{github.workspace}}\Qt\6.4.3\msvc2019_64\bin and set LLVM_INSTALL_DIR to C:\Program Files\LLVM\
the weird thing is that when I search for emmintrin.h:: error: use of undeclared identifier most results point to a wrong architecture or using libstdc++ instead of libc++
A
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\stddef.h:47:32: note: expanded from macro 'offsetof' any idea how shiboken could pick this path?
to sum-up, with LLVM_INSTALL_DIR set I have errors about missing __builtin_elementwise_xxx from emmintrin.h and without LLVM_INSTALL_DIR set I have this error 'qplugin.h:142:33: error: constexpr variable 'HeaderOffset' must be initialized by a constant expression'
A
I've printed the environment, not sure if there is anything obvious here.
Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog