drjit icon indicating copy to clipboard operation
drjit copied to clipboard

Compile error with libstdc++ 11

Open Novum opened this issue 3 years ago • 1 comments

https://github.com/mitsuba-renderer/drjit/blob/ab1bc8683049a8aadc8cc0233a26fb2ee14064bc/include/drjit/packet_intrin.h#L48

GCC 11 complains with: error: #error "Never use <bmi2intrin.h> directly; include <x86gprintrin.h> instead."

Novum avatar Jul 22 '22 18:07 Novum

Hi, We currently test only GCC 9 on the CI, so I am not surprised that GCC 11 would run into some minor issues here and there. Feel free to make a pull request with a fix. Otherwise, you could also just use Clang. We ran into issues with GCC every now and then, so pretty much everybody working on Dr.Jit and Mitsuba 3 is mostly using Clang.

dvicini avatar Jul 25 '22 09:07 dvicini

I think I fixed this problem in #55 .

tomix1024 avatar Aug 05 '22 12:08 tomix1024