I am currently using 2022-11, but this has been a problem with earlier versions too, I'm trying to produce a system on which I can run opencl code on an nvidia graphics card. It would appear to me that both the nvidia drivers and mesa3d are required to make this work. nconfig allows me to selet both but then fails on exit after the configuration is saved. ####### making buildroot-config Updating the default AMST buildroot configuration make[1]: Entering directory '/home/ian/build/amst-hiwire-linux_5-provide-an-opencl-platform_x86_64/buildroot' package/mesa3d-headers/mesa3d-headers.mk:10: *** mesa3d-headers enabled, but mesa3d enabled too. Stop. make[1]: *** [Makefile:23: _all] Error 2 make[1]: Leaving directory '/home/ian/build/amst-hiwire-linux_5-provide-an-opencl-platform_x86_64/buildroot' make: *** [Makefile:630: buildroot-config] Error 2
Thanks for your bug report, but there is no bug here. Buildroot only allows one OpenGL provider to be selected. Indeed, if you have multiple OpenGL providers, they will simply step on each other. mesa3d-headers is a package that is selected by the nvidia drivers package, as the nvidia drivers package does not provide the OpenGL headers. mesa3d is another OpenGL implementation. So having mesa3d and nvidia drivers enabled in the same configuration does not make sense, and that's what the error message is telling you.