Frank-Carlyle-McLaughlin
  • Joined on 2023-03-10
Frank-Carlyle-McL... commented on issue blender/blender#111820 2023-09-06 03:19:09 +02:00
Compilation of GHOST_XrGraphicsBinding.cc fails with "invalid conversion" error

My apologies for the delay. I have now tested the patch, substituting reinterpret_cast for static_cast with both Arch's build (LLVM 15) and with my own Arch-derived build (LLVM 16), with…

Frank-Carlyle-McL... commented on issue blender/blender#111820 2023-09-05 15:20:47 +02:00
Compilation of GHOST_XrGraphicsBinding.cc fails with "invalid conversion" error

@a13xie thanks for the tip! I did not know that.

@ChengduLittleA @brecht Tentative success changing static_cast to reinterpret_cast! Arch's PKGBUILD with the patch, as modified with that…

Frank-Carlyle-McL... commented on issue blender/blender#111820 2023-09-05 06:29:28 +02:00
Compilation of GHOST_XrGraphicsBinding.cc fails with "invalid conversion" error

I regret to report that compilation still did not succeed, although the error does look a little bit different now:

FAILED: intern/ghost/CMakeFiles/bf_intern_ghost.dir/intern/GHOST_XrGraphi…
Frank-Carlyle-McL... commented on issue blender/blender#111820 2023-09-04 19:29:44 +02:00
Compilation of GHOST_XrGraphicsBinding.cc fails with "invalid conversion" error

On a hunch, I tried compiling without OpenXR using my own LLVM 16 build (i.e., -DWITH_XR_OPENXR=OFF), and it succeeded! Due to #111834, I also compiled it without OpenShadingLanguage (i.e.,…

Frank-Carlyle-McL... commented on issue blender/blender#111820 2023-09-04 16:27:46 +02:00
Compilation of GHOST_XrGraphicsBinding.cc fails with "invalid conversion" error

and changed an instance of PFNEGLGETPROCADDRESSPROC to PFN_xrEglGetProcAddressMNDX, if that's any help at all.

Interesting, here on my installation the header still shows as `PFNEGLGETPR…

Frank-Carlyle-McL... commented on issue blender/blender#111820 2023-09-04 16:05:28 +02:00
Compilation of GHOST_XrGraphicsBinding.cc fails with "invalid conversion" error

Unfortunately, that patch didn't help me. I tested Arch's official PKGBUILD (which uses LLVM 15) with just that one change. I also tested a few different personal configurations using LLVM 16…

Frank-Carlyle-McL... commented on issue blender/blender#111820 2023-09-04 06:37:34 +02:00
Compilation of GHOST_XrGraphicsBinding.cc fails with "invalid conversion" error

GHOST_XrGraphicsBinding.cc is c plus plus, it probably needs a type casting there.

If nothing else I guess I'll make a patch later on.

happening after Arch moved from LLVM15 to…

Frank-Carlyle-McL... commented on issue blender/blender#111834 2023-09-04 06:30:15 +02:00
Blender just crashes for no reason, and the crash report is empty. (Segmentation fault)

It seems to have something to do with OpenShadingLanguage not supporting LLVM 16

I guess it is possible, maybe the binaries are compiled differently. Are you using your own compilation…

Frank-Carlyle-McL... commented on issue blender/blender#111834 2023-09-04 01:21:42 +02:00
Blender just crashes for no reason, and the crash report is empty. (Segmentation fault)

The Arch maintainers are aware of this: https://bugs.archlinux.org/task/79506 -- you can add votes to that bug.

It seems to have something to do with OpenShadingLanguage not supporting LLVM 16,…

Frank-Carlyle-McL... opened issue blender/blender#111820 2023-09-02 06:00:03 +02:00
Compilation of GHOST_XrGraphicsBinding.cc fails with "invalid conversion" error