Hi folks; I’m trying to build the latest master e4932d1167f on linux WSL Ubuntu 18.04, using the recommended CUDA toolkit v10.2.
I want to build headless with CUDA support for Cycles. So in CMakeLists.txt I turn on
WITH_CYCLES_CUDA_BINARIES and run
make headless (after removing previous build).
The problem I’m having is related to gcc/g++ versions.
If I use gcc/g++ 7.x or 8.x, I get this error during initial config:
CMake Error at build_files/cmake/platform/platform_unix.cmake:42 (message): GCC version must be at least 9.3 for precompiled libraries, found 8.4.0
but if I use gcc/g++ 9.x, I get this error instead, during the build:
/usr/local/cuda-10.2/bin/../targets/x86_64-linux/include/crt/host_config.h:138:2: error: -- unsupported GNU version! gcc versions later than 8 are not supported!
Seems like I can’t win! This doc says to use CUDA toolkit 10.1 or 10.2, “later versions may not work” so I didn’t try 11 yet.
I’ve updated my deps (
make update), cleaned out everything I can think of. Anyone doing this successfully and have a recipe for me?