I have compilation issues with the following system settings:
- Windows 10
- Visual Studio 2019 (Community Edition) Version 16.4.5
- cmake 3.16.4
- python 3.6.8
I tried different modes and cmake goes well:
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.17763.
-- The C compiler identification is MSVC 19.24.28316.0
-- The CXX compiler identification is MSVC 19.24.28316.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: C:/Users/adminlab/AppData/Local/Programs/Python/Python36/python.exe (found version "3.6.8")
-- Found PythonLibs: C:/Users/adminlab/AppData/Local/Programs/Python/Python36/libs/Python36.lib
-- Building the following variants of Mitsuba:
-- * scalar_spectral
-- * gpu_autodiff_spectral
-- Mitsuba: building the Python plugin.
-- The CUDA compiler identification is NVIDIA 10.2.89
-- Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/bin/nvcc.exe
-- Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/bin/nvcc.exe -- works
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Enoki: building the CUDA backend.
-- Enoki: building the autodiff backend.
-- Enoki: building the Python plugin.
-- pybind11 v2.4.dev4
-- Performing Test HAS_MSVC_GL_LTCG
-- Performing Test HAS_MSVC_GL_LTCG - Success
-- LTO enabled
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of off64_t
-- Check size of off64_t - failed
-- Looking for fseeko
-- Looking for fseeko - not found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Found ZLIB: D:/Mitsuba2/mitsuba2/ext_build/zlib/$<CONFIGURATION>/zlib.lib
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Performing Test HAVE_GCC_INLINE_ASM_AVX
-- Performing Test HAVE_GCC_INLINE_ASM_AVX - Failed
-- Performing Test HAVE_SYSCONF_NPROCESSORS_ONLN
-- Performing Test HAVE_SYSCONF_NPROCESSORS_ONLN - Failed
-- The ASM_MASM compiler identification is MSVC
-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/ml64.exe
-- Performing Test SUPPORTS_VOLATILE_FLAG
-- Performing Test SUPPORTS_VOLATILE_FLAG - Success
-- Performing Test __CxxFlag__arch_AVX
-- Performing Test __CxxFlag__arch_AVX - Success
-- Performing Test __CxxFlag__arch_AVX2
-- Performing Test __CxxFlag__arch_AVX2 - Success
-- Performing Test __CxxFlag__std_c__latest
-- Performing Test __CxxFlag__std_c__latest - Success
-- Performing Test __CxxFlag__std_c__14
-- Performing Test __CxxFlag__std_c__14 - Success
-- Mitsuba: using builtin implementation for CPU ray tracing.
-- Mitsuba: using OptiX for GPU ray tracing.
-- Mitsuba: LTO support enabled.
-- Check if the system is big endian
-- Searching 16 bit integer
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Mitsuba: sampling profiler disabled.
-- Found Sphinx: C:/Users/adminlab/AppData/Local/Programs/Python/Python36/Scripts/sphinx-build.exe
-- Configuring done
-- Generating done
-- Build files have been written to: D:/Mitsuba2/mitsuba2
However, the compilation fails:
1>------ Build started: Project: ZERO_CHECK, Configuration: Debug x64 ------
1>Checking Build System
2>------ Build started: Project: Iex, Configuration: Debug x64 ------
3>------ Build started: Project: eLut, Configuration: Debug x64 ------
4>------ Build started: Project: toFloat, Configuration: Debug x64 ------
5>------ Build started: Project: IlmImf-obj, Configuration: Debug x64 ------
2>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/openexr/IlmBase/Iex/CMakeLists.txt
3>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/openexr/IlmBase/Half/CMakeLists.txt
4>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/openexr/IlmBase/Half/CMakeLists.txt
5>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/openexr/OpenEXR/IlmImf/CMakeLists.txt
2>IexBaseExc.cpp
3>eLut.cpp
2>IexThrowErrnoExc.cpp
2>Generating Code...
4>toFloat.cpp
5>ImfAttribute.cpp
2> Creating library D:/Mitsuba2/mitsuba2/ext_build/openexr/IlmBase/Iex/Debug/Iex.lib and object D:/Mitsuba2/mitsuba2/ext_build/openexr/IlmBase/Iex/Debug/Iex.exp
4>toFloat.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\openexr\IlmBase\Half\Debug\toFloat.exe
3>eLut.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\openexr\IlmBase\Half\Debug\eLut.exe
2>Iex.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\openexr\IlmBase\Iex\Debug\Iex.dll
6>------ Build started: Project: IlmThread, Configuration: Debug x64 ------
7>------ Build started: Project: Imath, Configuration: Debug x64 ------
8>------ Build started: Project: Half, Configuration: Debug x64 ------
7>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/openexr/IlmBase/Imath/CMakeLists.txt
6>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/openexr/IlmBase/IlmThread/CMakeLists.txt
7>ImathBox.cpp
7>ImathRandom.cpp
7>ImathColorAlgo.cpp
7>ImathShear.cpp
7>ImathFun.cpp
7>ImathVec.cpp
7>ImathMatrixAlgo.cpp
7>Generating Code...
7> Creating library D:/Mitsuba2/mitsuba2/ext_build/openexr/IlmBase/Imath/Debug/Imath.lib and object D:/Mitsuba2/mitsuba2/ext_build/openexr/IlmBase/Imath/Debug/Imath.exp
7>Imath.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\openexr\IlmBase\Imath\Debug\Imath.dll
9>------ Build started: Project: enoki-cuda, Configuration: Debug x64 ------
9>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/enoki/CMakeLists.txt
5>ImfBoxAttribute.cpp
5>ImfCRgbaFile.cpp
5>ImfChannelList.cpp
5>ImfChannelListAttribute.cpp
5>ImfFloatAttribute.cpp
5>ImfFrameBuffer.cpp
5>ImfHeader.cpp
5>ImfIO.cpp
6>IlmThread.cpp
6>IlmThreadMutex.cpp
6>IlmThreadMutexPosix.cpp
6>IlmThreadPool.cpp
6>IlmThreadPosix.cpp
6>IlmThreadSemaphore.cpp
6>IlmThreadSemaphorePosixCompat.cpp
6>IlmThreadSemaphorePosix.cpp
6>IlmThreadMutexWin32.cpp
6>IlmThreadSemaphoreWin32.cpp
6>IlmThreadWin32.cpp
6>Generating Code...
6> Creating library D:/Mitsuba2/mitsuba2/ext_build/openexr/IlmBase/IlmThread/Debug/IlmThread.lib and object D:/Mitsuba2/mitsuba2/ext_build/openexr/IlmBase/IlmThread/Debug/IlmThread.exp
5>ImfInputFile.cpp
6>IlmThread.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\openexr\IlmBase\IlmThread\Debug\IlmThread.dll
10>------ Build started: Project: zlib, Configuration: Debug x64 ------
8>Generating eLut.h
10>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/zlib/CMakeLists.txt
8>Generating toFloat.h
8>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/openexr/IlmBase/Half/CMakeLists.txt
5>ImfIntAttribute.cpp
10>adler32.c
10>compress.c
10>crc32.c
10>deflate.c
10>gzclose.c
10>gzlib.c
10>gzread.c
10>gzwrite.c
10>inflate.c
10>infback.c
10>inftrees.c
10>inffast.c
10>trees.c
10>uncompr.c
10>zutil.c
10>Generating Code...
10> Creating library D:/Mitsuba2/mitsuba2/ext_build/zlib/Debug/zlib.lib and object D:/Mitsuba2/mitsuba2/ext_build/zlib/Debug/zlib.exp
8>half.cpp
5>ImfLineOrderAttribute.cpp
10>zlib.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\zlib\Debug\zlib1.dll
11>------ Build started: Project: tbb_def_files, Configuration: Debug x64 ------
5>ImfMatrixAttribute.cpp
5>ImfOpaqueAttribute.cpp
11>Preprocessing tbb.def
11>Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28316 for x64
11>Copyright (C) Microsoft Corporation. All rights reserved.
11>
11>win64-tbb-export.def
11>Preprocessing tbbmalloc.def
11>Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28316 for x64
11>Copyright (C) Microsoft Corporation. All rights reserved.
11>
11>win64-tbbmalloc-export.def
11>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/tbb/CMakeLists.txt
8> Creating library D:/Mitsuba2/mitsuba2/ext_build/openexr/IlmBase/Half/Debug/Half.lib and object D:/Mitsuba2/mitsuba2/ext_build/openexr/IlmBase/Half/Debug/Half.exp
8>Half.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\openexr\IlmBase\Half\Debug\Half.dll
5>ImfOutputFile.cpp
12>------ Build started: Project: asmjit, Configuration: Debug x64 ------
13>------ Build started: Project: CopyIlmBaseLibs, Configuration: Debug x64 ------
12>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/asmjit/CMakeLists.txt
5>ImfRgbaFile.cpp
5>ImfStringAttribute.cpp
5>ImfVecAttribute.cpp
5>ImfHuf.cpp
5>ImfThreading.cpp
5>Generating Code...
12>arch.cpp
12>assembler.cpp
12>codebuilder.cpp
12>codecompiler.cpp
12>codeemitter.cpp
12>codeholder.cpp
12>constpool.cpp
12>cpuinfo.cpp
12>func.cpp
12>globals.cpp
12>inst.cpp
12>logging.cpp
12>operand.cpp
12>osutils.cpp
12>regalloc.cpp
12>runtime.cpp
12>string.cpp
12>utils.cpp
12>vmem.cpp
12>zone.cpp
12>x86assembler.cpp
12>x86builder.cpp
12>x86compiler.cpp
12>x86internal.cpp
5>Compiling...
5>ImfWav.cpp
5>ImfLut.cpp
5>ImfCompressor.cpp
5>ImfRleCompressor.cpp
5>ImfZipCompressor.cpp
12>x86inst.cpp
5>ImfPizCompressor.cpp
12>x86instimpl.cpp
5>ImfMisc.cpp
12>x86logging.cpp
12>x86operand.cpp
12>x86operand_regs.cpp
5>ImfCompressionAttribute.cpp
12>x86regalloc.cpp
5>ImfDoubleAttribute.cpp
13>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/openexr/CMakeLists.txt
5>ImfConvert.cpp
14>------ Build started: Project: b44ExpLogTable, Configuration: Debug x64 ------
5>ImfPreviewImage.cpp
14>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/openexr/OpenEXR/IlmImf/CMakeLists.txt
5>ImfPreviewImageAttribute.cpp
5>ImfVersion.cpp
5>ImfChromaticities.cpp
14>b44ExpLogTable.cpp
5>ImfChromaticitiesAttribute.cpp
14>b44ExpLogTable.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\openexr\OpenEXR\IlmImf\Debug\b44ExpLogTable.exe
15>------ Build started: Project: dwaLookups, Configuration: Debug x64 ------
15>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/openexr/OpenEXR/IlmImf/CMakeLists.txt
5>ImfKeyCode.cpp
5>ImfKeyCodeAttribute.cpp
12>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification
12> Creating library D:/Mitsuba2/mitsuba2/ext_build/asmjit/Debug/asmjit.lib and object D:/Mitsuba2/mitsuba2/ext_build/asmjit/Debug/asmjit.exp
12>asmjit.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\asmjit\Debug\asmjit.dll
12>Done building project "asmjit.vcxproj".
16>------ Build started: Project: jpeg, Configuration: Debug x64 ------
16>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/libjpeg/CMakeLists.txt
15>dwaLookups.cpp
5>ImfTimeCode.cpp
5>ImfTimeCodeAttribute.cpp
5>ImfRational.cpp
15>dwaLookups.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\openexr\OpenEXR\IlmImf\Debug\dwaLookups.exe
17>------ Build started: Project: mitsuba-core-obj, Configuration: Debug x64 ------
5>Generating Code...
17>Building Custom Rule D:/Mitsuba2/mitsuba2/src/libcore/CMakeLists.txt
5>Compiling...
16>jmemnobs.c
5>ImfRationalAttribute.cpp
16>jaricom.c
16>jcapimin.c
16>jcapistd.c
16>jcarith.c
16>jccoefct.c
16>jccolor.c
17>string.cpp
16>jcdctmgr.c
17>appender.cpp
17>argparser.cpp
17>bitmap.cpp
16>jchuff.c
5>ImfFramesPerSecond.cpp
16>jcinit.c
5>ImfStandardAttributes.cpp
16>jcmainct.c
16>jcmarker.c
16>jcmaster.c
16>jcomapi.c
16>jcparam.c
16>jcprepct.c
16>jcsample.c
16>jctrans.c
16>jdapimin.c
16>jdapistd.c
16>Generating Code...
17>class.cpp
17>D:\Mitsuba2\mitsuba2\include\mitsuba/core/rfilter.h(408,1): warning C4910: 'mitsuba::ReconstructionFilter<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\libcore\bitmap.cpp)
5>ImfStdIO.cpp
17>D:\Mitsuba2\mitsuba2\include\mitsuba/core/rfilter.h(408,1): warning C4910: 'mitsuba::ReconstructionFilter<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\libcore\bitmap.cpp)
16>Compiling...
17>dstream.cpp
16>jdarith.c
16>jdatadst.c
16>jdatasrc.c
16>jdcoefct.c
17>filesystem.cpp
16>jdcolor.c
16>jddctmgr.c
16>jdhuff.c
16>jdinput.c
5>ImfEnvmap.cpp
16>jdmainct.c
16>jdmarker.c
16>jdmaster.c
17>formatter.cpp
16>jdmerge.c
16>jdpostct.c
17>fresolver.cpp
16>jdsample.c
17>D:\Mitsuba2\mitsuba2\src\libcore\bitmap.cpp(482,86): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
16>jdtrans.c
17>D:\Mitsuba2\mitsuba2\src\libcore\bitmap.cpp(487,86): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
17>D:\Mitsuba2\mitsuba2\src\libcore\bitmap.cpp(492,86): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
17>D:\Mitsuba2\mitsuba2\src\libcore\bitmap.cpp(497,86): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
17>D:\Mitsuba2\mitsuba2\src\libcore\bitmap.cpp(502,86): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
17>D:\Mitsuba2\mitsuba2\src\libcore\bitmap.cpp(507,86): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
16>jerror.c
16>jfdctflt.c
5>ImfEnvmapAttribute.cpp
16>jfdctfst.c
16>jfdctint.c
16>jidctflt.c
16>Generating Code...
17>fstream.cpp
16>Compiling...
17>jit.cpp
16>jidctfst.c
16>jidctint.c
5>ImfScanLineInputFile.cpp
16>jquant1.c
17>logger.cpp
16>jquant2.c
16>jutils.c
16>jmemmgr.c
16>Generating Code...
17>mmap.cpp
17>tensor.cpp
5>ImfTiledInputFile.cpp
17>mstream.cpp
16> Creating library D:/Mitsuba2/mitsuba2/ext_build/libjpeg/Debug/jpeg-mitsuba.lib and object D:/Mitsuba2/mitsuba2/ext_build/libjpeg/Debug/jpeg-mitsuba.exp
17>object.cpp
17>plugin.cpp
16>jpeg.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\libjpeg\Debug\jpeg-mitsuba.dll
17>profiler.cpp
17>progress.cpp
5>ImfTiledMisc.cpp
17>properties.cpp
18>------ Build started: Project: png16, Configuration: Debug x64 ------
5>ImfTiledOutputFile.cpp
17>qmc.cpp
17>rfilter.cpp
17>spectrum.cpp
17>D:\Mitsuba2\mitsuba2\include\mitsuba/core/rfilter.h(408,1): warning C4910: 'mitsuba::ReconstructionFilter<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\libcore\rfilter.cpp)
17>D:\Mitsuba2\mitsuba2\include\mitsuba/core/rfilter.h(408,1): warning C4910: 'mitsuba::ReconstructionFilter<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\libcore\rfilter.cpp)
17>stream.cpp
17>struct.cpp
18>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/libpng/CMakeLists.txt
5>ImfTiledRgbaFile.cpp
17>thread.cpp
17>tls.cpp
17>transform.cpp
17>xml.cpp
17>zstream.cpp
17>quad.cpp
5>ImfTileDescriptionAttribute.cpp
18>png.c
5>ImfTileOffsets.cpp
18>pngerror.c
5>ImfRgbaYca.cpp
18>pngget.c
18>pngmem.c
5>ImfPxr24Compressor.cpp
18>pngpread.c
18>pngread.c
5>ImfTestFile.cpp
18>pngrio.c
5>ImfStringVectorAttribute.cpp
18>pngrtran.c
5>ImfMultiView.cpp
18>pngrutil.c
17>dither-matrix256.cpp
18>pngset.c
5>ImfAcesFile.cpp
18>pngtrans.c
18>pngwio.c
5>ImfMultiPartOutputFile.cpp
18>pngwrite.c
18>pngwtran.c
17>util.cpp
18>pngwutil.c
5>Generating Code...
17>mitsuba-core-obj.vcxproj -> D:\Mitsuba2\mitsuba2\src\libcore\mitsuba-core-obj.dir\Debug\mitsuba-core-obj.lib
17>Done building project "mitsuba-core-obj.vcxproj".
19>------ Build started: Project: pugixml, Configuration: Debug x64 ------
18>Generating Code...
19>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/CMakeLists.txt
19>pugixml.cpp
18> Creating library D:/Mitsuba2/mitsuba2/ext_build/libpng/Debug/libpng16-mitsuba.lib and object D:/Mitsuba2/mitsuba2/ext_build/libpng/Debug/libpng16-mitsuba.exp
5>Compiling...
5>ImfGenericOutputFile.cpp
18>png16.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\libpng\Debug\libpng16-mitsuba.dll
20>------ Build started: Project: tbb, Configuration: Debug x64 ------
5>ImfOutputPartData.cpp
19> Creating library D:/Mitsuba2/mitsuba2/ext_build/Debug/pugixml.lib and object D:/Mitsuba2/mitsuba2/ext_build/Debug/pugixml.exp
19>pugixml.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\Debug\pugixml.dll
21>------ Build started: Project: mitsuba-render-obj, Configuration: Debug x64 ------
21>Running bin2c
5>ImfMultiPartInputFile.cpp
21>Building Custom Rule D:/Mitsuba2/mitsuba2/src/librender/CMakeLists.txt
21>bsdf.cpp
21>emitter.cpp
21>endpoint.cpp
21>film.cpp
5>ImfGenericInputFile.cpp
5>ImfPartType.cpp
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sampler.h(58,1): warning C4910: 'mitsuba::Sampler<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\film.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sampler.h(58,1): warning C4910: 'mitsuba::Sampler<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\film.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/film.h(108,1): warning C4910: 'mitsuba::Film<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\film.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/film.h(108,1): warning C4910: 'mitsuba::Film<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\film.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/bsdf.h(502,1): warning C4910: 'mitsuba::BSDF<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\bsdf.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/bsdf.h(502,1): warning C4910: 'mitsuba::BSDF<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\bsdf.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\emitter.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\emitter.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\endpoint.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\endpoint.cpp)
5>ImfInputPartData.cpp
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/endpoint.h(242,1): warning C4910: 'mitsuba::Endpoint<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\endpoint.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/endpoint.h(242,1): warning C4910: 'mitsuba::Endpoint<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\endpoint.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/endpoint.h(242,1): warning C4910: 'mitsuba::Endpoint<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\emitter.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/endpoint.h(242,1): warning C4910: 'mitsuba::Endpoint<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\emitter.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/emitter.h(86,1): warning C4910: 'mitsuba::Emitter<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\emitter.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/emitter.h(86,1): warning C4910: 'mitsuba::Emitter<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\emitter.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/medium.h(108,1): warning C4910: 'mitsuba::Medium<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\endpoint.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/medium.h(108,1): warning C4910: 'mitsuba::Medium<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\endpoint.cpp)
21>imageblock.cpp
21>integrator.cpp
21>kdtree.cpp
21>medium.cpp
5>ImfOutputPart.cpp
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/imageblock.h(214,1): warning C4910: 'mitsuba::ImageBlock<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\imageblock.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/imageblock.h(214,1): warning C4910: 'mitsuba::ImageBlock<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\imageblock.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sampler.h(58,1): warning C4910: 'mitsuba::Sampler<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sampler.h(58,1): warning C4910: 'mitsuba::Sampler<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/film.h(108,1): warning C4910: 'mitsuba::Film<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/film.h(108,1): warning C4910: 'mitsuba::Film<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/imageblock.h(214,1): warning C4910: 'mitsuba::ImageBlock<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/imageblock.h(214,1): warning C4910: 'mitsuba::ImageBlock<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\kdtree.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\kdtree.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/medium.h(108,1): warning C4910: 'mitsuba::Medium<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/medium.h(108,1): warning C4910: 'mitsuba::Medium<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
5>ImfTiledOutputPart.cpp
21>D:\Mitsuba2\mitsuba2\src\librender\imageblock.cpp(18,1): warning C4457: declaration of 'size' hides function parameter
21>D:\Mitsuba2\mitsuba2\src\librender\imageblock.cpp(8,63): message : see declaration of 'size'
21>D:\Mitsuba2\mitsuba2\src\librender\imageblock.cpp(11): message : while compiling class template member function 'mitsuba::ImageBlock<float,mitsuba::Spectrum<float,4>>::ImageBlock(const mitsuba::Vector<int,2> &,size_t,const mitsuba::ReconstructionFilter<float,mitsuba::Spectrum<float,4>> *,bool,bool,bool,bool)'
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/imageblock.h(214): message : see reference to class template instantiation 'mitsuba::ImageBlock<float,mitsuba::Spectrum<float,4>>' being compiled (compiling source file D:\Mitsuba2\mitsuba2\src\librender\imageblock.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/mesh.h(364,1): warning C4910: 'mitsuba::Mesh<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\kdtree.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/endpoint.h(242,1): warning C4910: 'mitsuba::Endpoint<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/endpoint.h(242,1): warning C4910: 'mitsuba::Endpoint<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/mesh.h(364,1): warning C4910: 'mitsuba::Mesh<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\kdtree.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/emitter.h(86,1): warning C4910: 'mitsuba::Emitter<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/emitter.h(86,1): warning C4910: 'mitsuba::Emitter<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\src\librender\imageblock.cpp(75,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
21>D:\Mitsuba2\mitsuba2\src\librender\imageblock.cpp(49): message : while compiling class template member function 'void mitsuba::ImageBlock<float,mitsuba::Spectrum<float,4>>::put(const mitsuba::ImageBlock<float,mitsuba::Spectrum<float,4>> *)'
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(196,1): warning C4910: 'mitsuba::Sensor<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(196,1): warning C4910: 'mitsuba::Sensor<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(197,1): warning C4910: 'mitsuba::ProjectiveCamera<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(197,1): warning C4910: 'mitsuba::ProjectiveCamera<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/bsdf.h(502,1): warning C4910: 'mitsuba::BSDF<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/bsdf.h(502,1): warning C4910: 'mitsuba::BSDF<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/scene.h(231,1): warning C4910: 'mitsuba::Scene<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sampler.h(58,1): warning C4910: 'mitsuba::Sampler<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sampler.h(58,1): warning C4910: 'mitsuba::Sampler<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/phase.h(193,1): warning C4910: 'mitsuba::PhaseFunction<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/phase.h(193,1): warning C4910: 'mitsuba::PhaseFunction<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/scene.h(231,1): warning C4910: 'mitsuba::Scene<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/integrator.h(216,1): warning C4910: 'mitsuba::Integrator<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/integrator.h(216,1): warning C4910: 'mitsuba::Integrator<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/integrator.h(217,1): warning C4910: 'mitsuba::SamplingIntegrator<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/integrator.h(217,1): warning C4910: 'mitsuba::SamplingIntegrator<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/integrator.h(218,1): warning C4910: 'mitsuba::MonteCarloIntegrator<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/integrator.h(218,1): warning C4910: 'mitsuba::MonteCarloIntegrator<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\src\librender\imageblock.cpp(68,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
21>D:\Mitsuba2\mitsuba2\src\librender\imageblock.cpp(49): message : while compiling class template member function 'void mitsuba::ImageBlock<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>::put(const mitsuba::ImageBlock<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>> *)'
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/endpoint.h(242,1): warning C4910: 'mitsuba::Endpoint<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/endpoint.h(242,1): warning C4910: 'mitsuba::Endpoint<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/emitter.h(86,1): warning C4910: 'mitsuba::Emitter<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/emitter.h(86,1): warning C4910: 'mitsuba::Emitter<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/film.h(108,1): warning C4910: 'mitsuba::Film<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/film.h(108,1): warning C4910: 'mitsuba::Film<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(196,1): warning C4910: 'mitsuba::Sensor<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(196,1): warning C4910: 'mitsuba::Sensor<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(197,1): warning C4910: 'mitsuba::ProjectiveCamera<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(197,1): warning C4910: 'mitsuba::ProjectiveCamera<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/scene.h(231,1): warning C4910: 'mitsuba::Scene<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/scene.h(231,1): warning C4910: 'mitsuba::Scene<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/texture.h(229,1): warning C4910: 'mitsuba::Texture<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/texture.h(229,1): warning C4910: 'mitsuba::Texture<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/texture.h(230,1): warning C4910: 'mitsuba::Volume<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
5>ImfInputPart.cpp
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/texture.h(230,1): warning C4910: 'mitsuba::Volume<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\medium.cpp)
21>D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp(55,12): warning C4189: 'n_threads': local variable is initialized but not referenced
21>D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp(48): message : while compiling class template member function 'bool mitsuba::SamplingIntegrator<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>::render(mitsuba::Scene<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>> *,mitsuba::Sensor<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>> *)'
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/integrator.h(217): message : see reference to class template instantiation 'mitsuba::SamplingIntegrator<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>' being compiled (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp(171,14): warning C4189: 'sample_count': local variable is initialized but not referenced
21>D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp(168): message : while compiling class template member function 'void mitsuba::SamplingIntegrator<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>::render_block(const mitsuba::Scene<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>> *,const mitsuba::Sensor<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>> *,mitsuba::Sampler<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>> *,mitsuba::ImageBlock<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>> *,Float *,size_t) const'
21> with
21> [
21> Float=enoki::DiffArray<enoki::CUDAArray<float>>
21> ]
21>D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp(170,14): warning C4189: 'pixel_count': local variable is initialized but not referenced
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/kdtree.h(2459,1): warning C4910: 'mitsuba::ShapeKDTree<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\kdtree.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/kdtree.h(2459,1): warning C4910: 'mitsuba::ShapeKDTree<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\kdtree.cpp)
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/array_router.h(200,1): warning C4267: 'argument': conversion from 'size_t' to 'T', possible loss of data
21> with
21> [
21> T=unsigned int
21> ] (compiling source file D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp)
21>D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp(139): message : see reference to function template instantiation 'T1 &enoki::operator /=<enoki::DiffArray<enoki::CUDAArray<uint32_t>>,0,size_t>(T1 &,const T2 &)' being compiled
21> with
21> [
21> T1=enoki::DiffArray<enoki::CUDAArray<uint32_t>>,
21> T2=size_t
21> ]
21>D:\Mitsuba2\mitsuba2\src\librender\integrator.cpp(48): message : while compiling class template member function 'bool mitsuba::SamplingIntegrator<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>::render(mitsuba::Scene<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>> *,mitsuba::Sensor<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>> *)'
5>ImfTiledInputPart.cpp
21>mesh.cpp
5>ImfDeepScanLineInputPart.cpp
21>microfacet.cpp
21>phase.cpp
5>ImfDeepScanLineOutputPart.cpp
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\mesh.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\mesh.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/mesh.h(364,1): warning C4910: 'mitsuba::Mesh<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\mesh.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/mesh.h(364,1): warning C4910: 'mitsuba::Mesh<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\mesh.cpp)
5>ImfDeepScanLineInputFile.cpp
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/bsdf.h(502,1): warning C4910: 'mitsuba::BSDF<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\phase.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/bsdf.h(502,1): warning C4910: 'mitsuba::BSDF<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\phase.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sampler.h(58,1): warning C4910: 'mitsuba::Sampler<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\phase.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sampler.h(58,1): warning C4910: 'mitsuba::Sampler<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\phase.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/phase.h(193,1): warning C4910: 'mitsuba::PhaseFunction<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\phase.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/phase.h(193,1): warning C4910: 'mitsuba::PhaseFunction<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\phase.cpp)
21>sampler.cpp
21>scene.cpp
21>D:\Mitsuba2\mitsuba2\include\mitsuba/core/distr_1d.h(78,1): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data (compiling source file D:\Mitsuba2\mitsuba2\src\librender\mesh.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/core/distr_1d.h(49): message : while compiling class template member function 'void mitsuba::DiscreteDistribution<Float>::update(void)'
21> with
21> [
21> Float=enoki::DiffArray<enoki::CUDAArray<float>>
21> ] (compiling source file D:\Mitsuba2\mitsuba2\src\librender\mesh.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/core/distr_1d.h(40): message : see reference to function template instantiation 'void mitsuba::DiscreteDistribution<Float>::update(void)' being compiled
21> with
21> [
21> Float=enoki::DiffArray<enoki::CUDAArray<float>>
21> ] (compiling source file D:\Mitsuba2\mitsuba2\src\librender\mesh.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/mesh.h(360): message : see reference to class template instantiation 'mitsuba::DiscreteDistribution<Float>' being compiled
21> with
21> [
21> Float=enoki::DiffArray<enoki::CUDAArray<float>>
21> ] (compiling source file D:\Mitsuba2\mitsuba2\src\librender\mesh.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/mesh.h(364): message : see reference to class template instantiation 'mitsuba::Mesh<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>' being compiled (compiling source file D:\Mitsuba2\mitsuba2\src\librender\mesh.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/core/distr_1d.h(79,1): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data (compiling source file D:\Mitsuba2\mitsuba2\src\librender\mesh.cpp)
21>D:\Mitsuba2\mitsuba2\src\librender\mesh.cpp(602,1): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data
21>D:\Mitsuba2\mitsuba2\src\librender\mesh.cpp(633): message : see reference to function template instantiation 'Result mitsuba::cuda_upload<Index,3,mitsuba::Mesh<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>::optix_geometry::<lambda_e87b4e8bf5ad6e1ea654dd0b877449a6>,enoki::Array<Index,3>>(size_t,Func)' being compiled
21> with
21> [
21> Result=enoki::Array<Index,3>,
21> Func=mitsuba::Mesh<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>::optix_geometry::<lambda_e87b4e8bf5ad6e1ea654dd0b877449a6>
21> ]
21>D:\Mitsuba2\mitsuba2\src\librender\mesh.cpp(620): message : while compiling class template member function 'RTgeometrytriangles mitsuba::Mesh<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>::optix_geometry(RTcontext)'
21>sensor.cpp
5>ImfDeepScanLineOutputFile.cpp
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sampler.h(58,1): warning C4910: 'mitsuba::Sampler<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\sampler.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sampler.h(58,1): warning C4910: 'mitsuba::Sampler<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\sampler.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/bsdf.h(502,1): warning C4910: 'mitsuba::BSDF<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/bsdf.h(502,1): warning C4910: 'mitsuba::BSDF<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/medium.h(108,1): warning C4910: 'mitsuba::Medium<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/medium.h(108,1): warning C4910: 'mitsuba::Medium<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/endpoint.h(242,1): warning C4910: 'mitsuba::Endpoint<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/endpoint.h(242,1): warning C4910: 'mitsuba::Endpoint<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/emitter.h(86,1): warning C4910: 'mitsuba::Emitter<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/emitter.h(86,1): warning C4910: 'mitsuba::Emitter<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sampler.h(58,1): warning C4910: 'mitsuba::Sampler<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sampler.h(58,1): warning C4910: 'mitsuba::Sampler<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/film.h(108,1): warning C4910: 'mitsuba::Film<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/film.h(108,1): warning C4910: 'mitsuba::Film<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(196,1): warning C4910: 'mitsuba::Sensor<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(196,1): warning C4910: 'mitsuba::Sensor<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(197,1): warning C4910: 'mitsuba::ProjectiveCamera<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(197,1): warning C4910: 'mitsuba::ProjectiveCamera<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/scene.h(231,1): warning C4910: 'mitsuba::Scene<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/scene.h(231,1): warning C4910: 'mitsuba::Scene<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/mesh.h(364,1): warning C4910: 'mitsuba::Mesh<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>shape.cpp
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/mesh.h(364,1): warning C4910: 'mitsuba::Mesh<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\sensor.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\sensor.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/endpoint.h(242,1): warning C4910: 'mitsuba::Endpoint<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\sensor.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/endpoint.h(242,1): warning C4910: 'mitsuba::Endpoint<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\sensor.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sampler.h(58,1): warning C4910: 'mitsuba::Sampler<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\sensor.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sampler.h(58,1): warning C4910: 'mitsuba::Sampler<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\sensor.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/film.h(108,1): warning C4910: 'mitsuba::Film<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\sensor.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/film.h(108,1): warning C4910: 'mitsuba::Film<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\sensor.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(196,1): warning C4910: 'mitsuba::Sensor<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\sensor.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(196,1): warning C4910: 'mitsuba::Sensor<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\sensor.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(197,1): warning C4910: 'mitsuba::ProjectiveCamera<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\sensor.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(197,1): warning C4910: 'mitsuba::ProjectiveCamera<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\sensor.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/kdtree.h(2459,1): warning C4910: 'mitsuba::ShapeKDTree<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/kdtree.h(2459,1): warning C4910: 'mitsuba::ShapeKDTree<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/imageblock.h(214,1): warning C4910: 'mitsuba::ImageBlock<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/imageblock.h(214,1): warning C4910: 'mitsuba::ImageBlock<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/integrator.h(216,1): warning C4910: 'mitsuba::Integrator<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/integrator.h(216,1): warning C4910: 'mitsuba::Integrator<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/integrator.h(217,1): warning C4910: 'mitsuba::SamplingIntegrator<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/integrator.h(217,1): warning C4910: 'mitsuba::SamplingIntegrator<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/integrator.h(218,1): warning C4910: 'mitsuba::MonteCarloIntegrator<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/integrator.h(218,1): warning C4910: 'mitsuba::MonteCarloIntegrator<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
5>ImfDeepTiledInputPart.cpp
21>texture.cpp
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>spiral.cpp
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/mesh.h(364,1): warning C4910: 'mitsuba::Mesh<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/mesh.h(364,1): warning C4910: 'mitsuba::Mesh<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\src\librender\scene_optix.inl(112,1): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\src\librender\scene_optix.inl(32): message : while compiling class template member function 'void mitsuba::Scene<float,mitsuba::Spectrum<float,4>>::accel_init_gpu(const mitsuba::Properties &)' (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/scene.h(231): message : see reference to class template instantiation 'mitsuba::Scene<float,mitsuba::Spectrum<float,4>>' being compiled (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
5>ImfDeepTiledOutputPart.cpp
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/array_router.h(1330,58): warning C4100: 'value': unreferenced formal parameter (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\src\librender\scene.cpp(188): message : see reference to function template instantiation 'bool enoki::any_or<true,enoki::DiffArray<enoki::CUDAArray<bool>>>(const T &)' being compiled
21> with
21> [
21> T=enoki::DiffArray<enoki::CUDAArray<bool>>
21> ]
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(1390): message : see reference to class template instantiation 'enoki::call_support<BaseType,enoki::DiffArray<enoki::CUDAArray<mitsuba::Emitter<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>> *>>>' being compiled (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(1388): message : while compiling class template member function 'enoki::call_support<BaseType,enoki::DiffArray<enoki::CUDAArray<mitsuba::Emitter<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>> *>>> enoki::DiffArray<enoki::CUDAArray<mitsuba::Emitter<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>> *>>::operator ->(void) const' (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\src\librender\scene.cpp(175): message : see reference to class template instantiation 'enoki::DiffArray<enoki::CUDAArray<mitsuba::Emitter<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>> *>>' being compiled
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/array_generic.h(263): message : see reference to class template instantiation 'enoki::StaticArrayBase<enoki::DiffArray<enoki::CUDAArray<float>>,2,false,Derived_>' being compiled
21> with
21> [
21> Derived_=mitsuba::Point<enoki::DiffArray<enoki::CUDAArray<float>>,2>
21> ] (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/core/vector.h(29): message : see reference to class template instantiation 'enoki::StaticArrayImpl<Value_,2,false,mitsuba::Point<Value_,2>,int>' being compiled
21> with
21> [
21> Value_=enoki::DiffArray<enoki::CUDAArray<float>>
21> ] (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/interaction.h(105): message : see reference to class template instantiation 'mitsuba::Point<enoki::DiffArray<enoki::CUDAArray<float>>,2>' being compiled (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\src\librender\scene.cpp(119): message : see reference to class template instantiation 'mitsuba::SurfaceInteraction<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>' being compiled
21>D:\Mitsuba2\mitsuba2\src\librender\scene.cpp(119): message : while compiling class template member function 'mitsuba::SurfaceInteraction<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>> mitsuba::Scene<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>::ray_intersect(const mitsuba::Ray<mitsuba::Point<enoki::DiffArray<enoki::CUDAArray<float>>,3>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>> &,enoki::DiffArray<enoki::CUDAArray<bool>>) const'
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/scene.h(231): message : see reference to class template instantiation 'mitsuba::Scene<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>' being compiled (compiling source file D:\Mitsuba2\mitsuba2\src\librender\scene.cpp)
21>D:\Mitsuba2\mitsuba2\src\librender\scene.cpp(153): message : while compiling class template member function 'std::pair<mitsuba::DirectionSample<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>,Spectrum> mitsuba::Scene<enoki::DiffArray<enoki::CUDAArray<float>>,Spectrum>::sample_emitter_direction(const mitsuba::Interaction<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>> &,const mitsuba::Point<enoki::DiffArray<enoki::CUDAArray<float>>,2> &,bool,enoki::DiffArray<enoki::CUDAArray<bool>>) const'
21> with
21> [
21> Spectrum=mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>
21> ]
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\texture.cpp)
5>ImfDeepTiledInputFile.cpp
5>ImfDeepTiledOutputFile.cpp
5>ImfDeepFrameBuffer.cpp
5>ImfDeepCompositing.cpp
5>Generating Code...
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/kdtree.h(2459,1): warning C4910: 'mitsuba::ShapeKDTree<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\texture.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/texture.h(229,1): warning C4910: 'mitsuba::Texture<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\texture.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/texture.h(229,1): warning C4910: 'mitsuba::Texture<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\texture.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/texture.h(230,1): warning C4910: 'mitsuba::Volume<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\texture.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/texture.h(230,1): warning C4910: 'mitsuba::Volume<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\texture.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/kdtree.h(2459,1): warning C4910: 'mitsuba::ShapeKDTree<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/endpoint.h(242,1): warning C4910: 'mitsuba::Endpoint<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/endpoint.h(242,1): warning C4910: 'mitsuba::Endpoint<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/emitter.h(86,1): warning C4910: 'mitsuba::Emitter<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/emitter.h(86,1): warning C4910: 'mitsuba::Emitter<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/bsdf.h(502,1): warning C4910: 'mitsuba::BSDF<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/bsdf.h(502,1): warning C4910: 'mitsuba::BSDF<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sampler.h(58,1): warning C4910: 'mitsuba::Sampler<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sampler.h(58,1): warning C4910: 'mitsuba::Sampler<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/film.h(108,1): warning C4910: 'mitsuba::Film<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/film.h(108,1): warning C4910: 'mitsuba::Film<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(196,1): warning C4910: 'mitsuba::Sensor<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(196,1): warning C4910: 'mitsuba::Sensor<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(197,1): warning C4910: 'mitsuba::ProjectiveCamera<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sensor.h(197,1): warning C4910: 'mitsuba::ProjectiveCamera<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/medium.h(108,1): warning C4910: 'mitsuba::Medium<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/medium.h(108,1): warning C4910: 'mitsuba::Medium<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\shape.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sampler.h(58,1): warning C4910: 'mitsuba::Sampler<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\spiral.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/sampler.h(58,1): warning C4910: 'mitsuba::Sampler<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\spiral.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/film.h(108,1): warning C4910: 'mitsuba::Film<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\spiral.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/film.h(108,1): warning C4910: 'mitsuba::Film<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\spiral.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/imageblock.h(214,1): warning C4910: 'mitsuba::ImageBlock<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\spiral.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/imageblock.h(214,1): warning C4910: 'mitsuba::ImageBlock<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\spiral.cpp)
21>srgb.cpp
21>librender_ptx.cpp
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\srgb.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/shape.h(336,1): warning C4910: 'mitsuba::Shape<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\srgb.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/texture.h(229,1): warning C4910: 'mitsuba::Texture<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\srgb.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/texture.h(229,1): warning C4910: 'mitsuba::Texture<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\srgb.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/texture.h(230,1): warning C4910: 'mitsuba::Volume<float,mitsuba::Spectrum<float,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\srgb.cpp)
21>D:\Mitsuba2\mitsuba2\include\mitsuba/render/texture.h(230,1): warning C4910: 'mitsuba::Volume<enoki::DiffArray<enoki::CUDAArray<float>>,mitsuba::Spectrum<enoki::DiffArray<enoki::CUDAArray<float>>,4>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation (compiling source file D:\Mitsuba2\mitsuba2\src\librender\srgb.cpp)
5>Compiling...
5>ImfCompositeDeepScanLine.cpp
21>mitsuba-render-obj.vcxproj -> D:\Mitsuba2\mitsuba2\src\librender\mitsuba-render-obj.dir\Debug\mitsuba-render-obj.lib
21>Done building project "mitsuba-render-obj.vcxproj".
22>------ Build started: Project: rgb2spec, Configuration: Debug x64 ------
22>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/rgb2spec/CMakeLists.txt
5>ImfDeepImageStateAttribute.cpp
22>rgb2spec.c
5>ImfFastHuf.cpp
22>rgb2spec.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\rgb2spec\Debug\rgb2spec.lib
5>ImfFloatVectorAttribute.cpp
5>ImfRle.cpp
5>ImfSystemSpecific.cpp
5>ImfZip.cpp
5>Generating Code...
5>IlmImf-obj.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\openexr\OpenEXR\IlmImf\IlmImf-obj.dir\Debug\IlmImf-obj.lib
23>------ Build started: Project: IlmImf, Configuration: Debug x64 ------
23> Building acceleration for DwaCompressor, 0.00 %
23>Generating b44ExpLogTable.h
23>Generating dwaLookups.h
23> Building acceleration for DwaCompressor, 6.10 %
9>Compiling CUDA source file ..\..\ext\enoki\src\cuda\common.cu...
9>Compiling CUDA source file ..\..\ext\enoki\src\cuda\horiz.cu...
9>Compiling CUDA source file ..\..\ext\enoki\src\cuda\jit.cu...
23> Building acceleration for DwaCompressor, 12.21 %
9>
9>D:\Mitsuba2\mitsuba2\ext_build\enoki>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc.exe" -gencode=arch=compute_61,code=\"compute_61,compute_61\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX64\x64" -x cu -ID:\Mitsuba2\mitsuba2\ext\enoki\include -ID:\Mitsuba2\mitsuba2\ext\enoki\ext\cub -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --keep-dir x64\Debug -maxrregcount=0 --machine 64 --compile -cudart shared -Xcompiler="-Zi -Ob0" -g -DENOKI_CUDA_COMPUTE_CAPABILITY=61 -DENOKI_CUDA=1 -DENOKI_BUILD=1 -DENOKI_AUTODIFF=1 -D"CMAKE_INTDIR=\"Debug\"" -Denoki_cuda_EXPORTS -D"CMAKE_INTDIR=\"Debug\"" -Denoki_cuda_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /Od /Fdenoki-cuda.dir\Debug\vc142.pdb /FS /Zi /RTC1 /MDd " -o enoki-cuda.dir\Debug\horiz.obj "D:\Mitsuba2\mitsuba2\ext\enoki\src\cuda\horiz.cu"
9>
9>D:\Mitsuba2\mitsuba2\ext_build\enoki>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc.exe" -gencode=arch=compute_61,code=\"compute_61,compute_61\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX64\x64" -x cu -ID:\Mitsuba2\mitsuba2\ext\enoki\include -ID:\Mitsuba2\mitsuba2\ext\enoki\ext\cub -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --keep-dir x64\Debug -maxrregcount=0 --machine 64 --compile -cudart shared -Xcompiler="-Zi -Ob0" -g -DENOKI_CUDA_COMPUTE_CAPABILITY=61 -DENOKI_CUDA=1 -DENOKI_BUILD=1 -DENOKI_AUTODIFF=1 -D"CMAKE_INTDIR=\"Debug\"" -Denoki_cuda_EXPORTS -D"CMAKE_INTDIR=\"Debug\"" -Denoki_cuda_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /Od /Fdenoki-cuda.dir\Debug\vc142.pdb /FS /Zi /RTC1 /MDd " -o enoki-cuda.dir\Debug\jit.obj "D:\Mitsuba2\mitsuba2\ext\enoki\src\cuda\jit.cu"
9>
9>D:\Mitsuba2\mitsuba2\ext_build\enoki>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc.exe" -gencode=arch=compute_61,code=\"compute_61,compute_61\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX64\x64" -x cu -ID:\Mitsuba2\mitsuba2\ext\enoki\include -ID:\Mitsuba2\mitsuba2\ext\enoki\ext\cub -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --keep-dir x64\Debug -maxrregcount=0 --machine 64 --compile -cudart shared -Xcompiler="-Zi -Ob0" -g -DENOKI_CUDA_COMPUTE_CAPABILITY=61 -DENOKI_CUDA=1 -DENOKI_BUILD=1 -DENOKI_AUTODIFF=1 -D"CMAKE_INTDIR=\"Debug\"" -Denoki_cuda_EXPORTS -D"CMAKE_INTDIR=\"Debug\"" -Denoki_cuda_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /Od /Fdenoki-cuda.dir\Debug\vc142.pdb /FS /Zi /RTC1 /MDd " -o enoki-cuda.dir\Debug\common.obj "D:\Mitsuba2\mitsuba2\ext\enoki\src\cuda\common.cu"
23> Building acceleration for DwaCompressor, 18.31 %
23> Building acceleration for DwaCompressor, 24.41 %
9>D:/Mitsuba2/mitsuba2/ext/enoki/src/cuda/horiz.cu(81): error : namespace "std" has no member "min"
9>
9>1 error detected in the compilation of "C:/Users/adminlab/AppData/Local/Temp/tmpxft_00003154_00000000-7_horiz.cpp1.ii".
9>horiz.cu
23> Building acceleration for DwaCompressor, 30.52 %
9>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\CUDA 10.2.targets(764,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc.exe" -gencode=arch=compute_61,code=\"compute_61,compute_61\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX64\x64" -x cu -ID:\Mitsuba2\mitsuba2\ext\enoki\include -ID:\Mitsuba2\mitsuba2\ext\enoki\ext\cub -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --keep-dir x64\Debug -maxrregcount=0 --machine 64 --compile -cudart shared -Xcompiler="-Zi -Ob0" -g -DENOKI_CUDA_COMPUTE_CAPABILITY=61 -DENOKI_CUDA=1 -DENOKI_BUILD=1 -DENOKI_AUTODIFF=1 -D"CMAKE_INTDIR=\"Debug\"" -Denoki_cuda_EXPORTS -D"CMAKE_INTDIR=\"Debug\"" -Denoki_cuda_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /Od /Fdenoki-cuda.dir\Debug\vc142.pdb /FS /Zi /RTC1 /MDd " -o enoki-cuda.dir\Debug\horiz.obj "D:\Mitsuba2\mitsuba2\ext\enoki\src\cuda\horiz.cu"" exited with code 1.
9>Done building project "enoki-cuda.vcxproj" -- FAILED.
9>common.cu
23> Building acceleration for DwaCompressor, 36.62 %
9>jit.cu
23> Building acceleration for DwaCompressor, 42.72 %
24>------ Build started: Project: enoki-autodiff, Configuration: Debug x64 ------
24>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/enoki/CMakeLists.txt
23> Building acceleration for DwaCompressor, 48.83 %
23> Building acceleration for DwaCompressor, 54.93 %
23> Building acceleration for DwaCompressor, 61.04 %
24>autodiff.cpp
24>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122,1): warning C4251: 'enoki::Tape<float>::s_tape': class 'std::unique_ptr<enoki::Tape<float>,std::default_delete<enoki::Tape<float>>>' needs to have dll-interface to be used by clients of struct 'enoki::Tape<float>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122): message : see declaration of 'std::unique_ptr<enoki::Tape<float>,std::default_delete<enoki::Tape<float>>>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1222): message : see reference to class template instantiation 'enoki::Tape<float>' being compiled
24>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122,1): warning C4251: 'enoki::Tape<double>::s_tape': class 'std::unique_ptr<enoki::Tape<double>,std::default_delete<enoki::Tape<double>>>' needs to have dll-interface to be used by clients of struct 'enoki::Tape<double>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122): message : see declaration of 'std::unique_ptr<enoki::Tape<double>,std::default_delete<enoki::Tape<double>>>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1225): message : see reference to class template instantiation 'enoki::Tape<double>' being compiled
24>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122,1): warning C4251: 'enoki::Tape<enoki::DynamicArray<enoki::Packet<float,8>>>::s_tape': class 'std::unique_ptr<enoki::Tape<enoki::DynamicArray<enoki::Packet<float,8>>>,std::default_delete<enoki::Tape<enoki::DynamicArray<enoki::Packet<float,8>>>>>' needs to have dll-interface to be used by clients of struct 'enoki::Tape<enoki::DynamicArray<enoki::Packet<float,8>>>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122): message : see declaration of 'std::unique_ptr<enoki::Tape<enoki::DynamicArray<enoki::Packet<float,8>>>,std::default_delete<enoki::Tape<enoki::DynamicArray<enoki::Packet<float,8>>>>>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1228): message : see reference to class template instantiation 'enoki::Tape<enoki::DynamicArray<enoki::Packet<float,8>>>' being compiled
24>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(1410,1): warning C4251: 'enoki::DiffArray<enoki::DynamicArray<enoki::Packet<float,8>>>::m_value': struct 'enoki::DynamicArray<enoki::Packet<float,8>>' needs to have dll-interface to be used by clients of struct 'enoki::DiffArray<enoki::DynamicArray<enoki::Packet<float,8>>>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1228): message : see declaration of 'enoki::DynamicArray<enoki::Packet<float,8>>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1229): message : see reference to class template instantiation 'enoki::DiffArray<enoki::DynamicArray<enoki::Packet<float,8>>>' being compiled
24>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122,1): warning C4251: 'enoki::Tape<enoki::DynamicArray<enoki::Packet<double,8>>>::s_tape': class 'std::unique_ptr<enoki::Tape<enoki::DynamicArray<enoki::Packet<double,8>>>,std::default_delete<enoki::Tape<enoki::DynamicArray<enoki::Packet<double,8>>>>>' needs to have dll-interface to be used by clients of struct 'enoki::Tape<enoki::DynamicArray<enoki::Packet<double,8>>>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122): message : see declaration of 'std::unique_ptr<enoki::Tape<enoki::DynamicArray<enoki::Packet<double,8>>>,std::default_delete<enoki::Tape<enoki::DynamicArray<enoki::Packet<double,8>>>>>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1231): message : see reference to class template instantiation 'enoki::Tape<enoki::DynamicArray<enoki::Packet<double,8>>>' being compiled
24>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(1410,1): warning C4251: 'enoki::DiffArray<enoki::DynamicArray<enoki::Packet<double,8>>>::m_value': struct 'enoki::DynamicArray<enoki::Packet<double,8>>' needs to have dll-interface to be used by clients of struct 'enoki::DiffArray<enoki::DynamicArray<enoki::Packet<double,8>>>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1231): message : see declaration of 'enoki::DynamicArray<enoki::Packet<double,8>>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1232): message : see reference to class template instantiation 'enoki::DiffArray<enoki::DynamicArray<enoki::Packet<double,8>>>' being compiled
24>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122,1): warning C4251: 'enoki::Tape<enoki::CUDAArray<float>>::s_tape': class 'std::unique_ptr<enoki::Tape<enoki::CUDAArray<float>>,std::default_delete<enoki::Tape<enoki::CUDAArray<float>>>>' needs to have dll-interface to be used by clients of struct 'enoki::Tape<enoki::CUDAArray<float>>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122): message : see declaration of 'std::unique_ptr<enoki::Tape<enoki::CUDAArray<float>>,std::default_delete<enoki::Tape<enoki::CUDAArray<float>>>>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1235): message : see reference to class template instantiation 'enoki::Tape<enoki::CUDAArray<float>>' being compiled
24>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(1410,1): warning C4251: 'enoki::DiffArray<enoki::CUDAArray<float>>::m_value': struct 'enoki::CUDAArray<float>' needs to have dll-interface to be used by clients of struct 'enoki::DiffArray<enoki::CUDAArray<float>>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1235): message : see declaration of 'enoki::CUDAArray<float>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1236): message : see reference to class template instantiation 'enoki::DiffArray<enoki::CUDAArray<float>>' being compiled
24>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122,1): warning C4251: 'enoki::Tape<enoki::CUDAArray<double>>::s_tape': class 'std::unique_ptr<enoki::Tape<enoki::CUDAArray<double>>,std::default_delete<enoki::Tape<enoki::CUDAArray<double>>>>' needs to have dll-interface to be used by clients of struct 'enoki::Tape<enoki::CUDAArray<double>>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122): message : see declaration of 'std::unique_ptr<enoki::Tape<enoki::CUDAArray<double>>,std::default_delete<enoki::Tape<enoki::CUDAArray<double>>>>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1238): message : see reference to class template instantiation 'enoki::Tape<enoki::CUDAArray<double>>' being compiled
24>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(1410,1): warning C4251: 'enoki::DiffArray<enoki::CUDAArray<double>>::m_value': struct 'enoki::CUDAArray<double>' needs to have dll-interface to be used by clients of struct 'enoki::DiffArray<enoki::CUDAArray<double>>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1238): message : see declaration of 'enoki::CUDAArray<double>'
24>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1239): message : see reference to class template instantiation 'enoki::DiffArray<enoki::CUDAArray<double>>' being compiled
23> Building acceleration for DwaCompressor, 67.14 %
23> Building acceleration for DwaCompressor, 73.24 %
24>LINK : fatal error LNK1104: cannot open file 'Debug\enoki-cuda.lib'
24>Done building project "enoki-autodiff.vcxproj" -- FAILED.
23> Building acceleration for DwaCompressor, 79.35 %
23> Building acceleration for DwaCompressor, 85.45 %
23> Building acceleration for DwaCompressor, 91.55 %
23> Building acceleration for DwaCompressor, 97.66 %
23>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/openexr/OpenEXR/IlmImf/CMakeLists.txt
23>ImfB44Compressor.cpp
23>ImfDwaCompressor.cpp
23>Generating Code...
23> Creating library D:/Mitsuba2/mitsuba2/ext_build/openexr/OpenEXR/IlmImf/Debug/IlmImf.lib and object D:/Mitsuba2/mitsuba2/ext_build/openexr/OpenEXR/IlmImf/Debug/IlmImf.exp
23>IlmImf.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\openexr\OpenEXR\IlmImf\Debug\IlmImf.dll
25>------ Build started: Project: mitsuba-core (mitsuba-core\mitsuba-core), Configuration: Debug x64 ------
25>Building Custom Rule D:/Mitsuba2/mitsuba2/src/libcore/CMakeLists.txt
25>LINK : fatal error LNK1104: cannot open file '..\..\ext_build\enoki\Debug\enoki-autodiff.lib'
25>Done building project "mitsuba-core.vcxproj" -- FAILED.
26>------ Build started: Project: mitsuba-render (mitsuba-render\mitsuba-render), Configuration: Debug x64 ------
26>Building Custom Rule D:/Mitsuba2/mitsuba2/src/librender/CMakeLists.txt
26>LINK : fatal error LNK1104: cannot open file '..\libcore\Debug\mitsuba-core.lib'
26>Done building project "mitsuba-render.vcxproj" -- FAILED.
27>------ Build started: Project: mitsuba, Configuration: Debug x64 ------
27>Building Custom Rule D:/Mitsuba2/mitsuba2/src/mitsuba/CMakeLists.txt
27>mitsuba.cpp
27>D:\Mitsuba2\mitsuba2\src\mitsuba\mitsuba.cpp(99,9): warning C4566: character represented by universal-character-name '\u274C' cannot be represented in the current code page (1252)
27>D:\Mitsuba2\mitsuba2\src\mitsuba\mitsuba.cpp(192,39): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
27>D:\Mitsuba2\mitsuba2\src\mitsuba\mitsuba.cpp(194,13): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
27>LINK : fatal error LNK1104: cannot open file '..\librender\Debug\mitsuba-render.lib'
27>Done building project "mitsuba.vcxproj" -- FAILED.
========== Build: 22 succeeded, 5 failed, 0 up-to-date, 0 skipped ==========
The failure seems to be related to error : namespace "std" has no member "min"
, error MSB3721
and some missing links LNK1104
. I tried several times to compile with different variants but could not resolve this issue.
Do you have an idea? Thanks!