Hi Brecht, the Shader Closure struct has no member "prim" when compiling without OSL. This fails in kernel_shader.h, line 755 (if(!sci->prim ...) Best regards, Thomas -- Thomas Dinges Blender Developer, Artist and Musician www.dingto.org