CUEW Error Building Blender 2.8 with VS 2017

1. CUEW ERROR

I am getting this error, trying to build latest 2.8 with VS 2017, INSTALL solution with Blender solution as default and build set to “Debug”

132>CUSTOMBUILD : error : cuew init fialed (0xffffffff)
132>
132>CUSTOMBUILD : error : initialization error, exiting

What is cuew ? some external library ?

The build seems to work fne , at least the debug build. The error does not stop the build process which creates the executable and its binary dependencies.
Full output log can be found here https://gist.github.com/kilon/0020adaebab666893017c4db6b3be741

2. Partial build for release build

The release build for some weird reason is not a full build and seem to miss a lot of files, most notably the DLLs, is that normal ?

The release folder contains the following files onliy

blender.exe
blender.exp
blender.lib
cycles_cubin_cc.exe
datatoc.exe
datatoc_icon.exe
makesdna.exe
makesrna.exe
msgfmt.exe

building with cuda 9.2 by any chance?

if so, please downgrade back to 9.1

9.2 does not generate correct render kernels for cycles,also cuew doesn’t know about cuda 9.2 yet.

1 Like

yeap that’s it exactly. Thanks @LazyDodo