Windows Build FAILED

Discussion related to the LuxCore functionality, implementations and API.
acasta69
Developer
Posts: 437
Joined: Tue Jan 09, 2018 3:45 pm
Location: Italy

Re: Windows Build FAILED

Post by acasta69 » Thu Feb 25, 2021 12:48 pm

theoharkes wrote:
Thu Feb 25, 2021 10:31 am
2) LINK : fatal error C1002: compiler is out of heap space in pass 2
Are you using the "x64 Native Tools Command Prompt for VS 2019" command prompt to run the build process?

You could also try to reduce to number of parallel processes used to build. RAM usage can be very high due to LTCG, normally it just slows down because of swapping, but sometimes that error can occur.
I also have a 16 GB PC and normally I use 2 parallel processes:

Code: Select all

cmake-build-x64 /cpucount:2 
In the end it's not even much slower because no swap occurs.
Support LuxCoreRender project with salts and bounties

Windows 10 64 bits, i7-4770 3.4 GHz, RAM 16 GB, GTX 970 4GB v445.87

theoharkes
Posts: 7
Joined: Fri Feb 05, 2021 4:17 pm

Re: Windows Build FAILED

Post by theoharkes » Thu Feb 25, 2021 1:02 pm

acasta69 wrote:
Thu Feb 25, 2021 12:48 pm
theoharkes wrote:
Thu Feb 25, 2021 10:31 am
2) LINK : fatal error C1002: compiler is out of heap space in pass 2
Are you using the "x64 Native Tools Command Prompt for VS 2019" command prompt to run the build process?

You could also try to reduce to number of parallel processes used to build. RAM usage can be very high due to LTCG, normally it just slows down because of swapping, but sometimes that error can occur.
I also have a 16 GB PC and normally I use 2 parallel processes:

Code: Select all

cmake-build-x64 /cpucount:2 
In the end it's not even much slower because no swap occurs.
Yes, I'm using "x64 Native Tools Command Prompt for VS 2019". Which automatically selects vs2019.

I just tried a fresh build with the "x64 Native Tools Command Prompt for VS 2017", but I had the same "fatal error C1002: compiler is out of heap space in pass 2".

I'm currently building with less threads and keeping track of the memory usage.

theoharkes
Posts: 7
Joined: Fri Feb 05, 2021 4:17 pm

Re: Windows Build FAILED

Post by theoharkes » Thu Feb 25, 2021 1:22 pm

I had 2 memory spikes which capped my 16GB RAM when building with 2 cpu's.

On a single core it barely made it (using around 8 GB of memory during most of the building process)

I guess it's time to close chrome when building or download more RAM :')

Code: Select all

19>*\luxcorerender\luxcore\src\slg\materials\material.cpp : fatal error C1002: compiler is out of heap space in pass 2 [*\LuxCoreRender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoreconsole\luxcoreconsole.vcxproj]
19>LINK : fatal error LNK1257: code generation failed [*\LuxCoreRender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoreconsole\luxcoreconsole.vcxproj]
23>*\luxcorerender\luxcore\src\slg\materials\material.cpp : fatal error C1002: compiler is out of heap space in pass 2 [*\LuxCoreRender\WindowsCompile\Build_CMake\LuxCore\samples\luxcorescenedemo\luxcorescenedemo.vcxproj]
23>LINK : fatal error LNK1257: code generation failed [*\LuxCoreRender\WindowsCompile\Build_CMake\LuxCore\samples\luxcorescenedemo\luxcorescenedemo.vcxproj]
24>LINK : fatal error C1002: compiler is out of heap space in pass 2 [*\LuxCoreRender\WindowsCompile\Build_CMake\LuxCore\tests\luxcoreimplserializationdemo\luxcoreimplserializationdemo.vcxproj]
24>LINK : fatal error LNK1257: code generation failed [*\LuxCoreRender\WindowsCompile\Build_CMake\LuxCore\tests\luxcoreimplserializationdemo\luxcoreimplserializationdemo.vcxproj]
24>Done Building Project "*\LuxCoreRender\WindowsCompile\Build_CMake\LuxCore\tests\luxcoreimplserializationdemo\luxcoreimplserializationdemo.vcxproj" (default targets) -- FAILED.
14>Done Building Project "*\LuxCoreRender\WindowsCompile\Build_CMake\LuxCore\tests\luxcoreimplserializationdemo\luxcoreimplserializationdemo.vcxproj.metaproj" (default targets) -- FAILED.

Code: Select all

25>*\luxcorerender\luxcore\src\luxrays\core\accelerator.cpp : fatal error C1002: compiler is out of heap space in pass 2 [*\LuxCoreRender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoredemo\luxcoredemo.vcxproj]
22>*\luxcorerender\luxcore\deps\openvdb-7.0.0\openvdb\openvdb.cc : fatal error C1002 : compiler is out of heap space in pass 2 [*\LuxCoreRender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoreui\luxcoreui.vcxproj]
22>LINK : fatal error LNK1257: code generation failed [*\LuxCoreRender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoreui\luxcoreui.vcxproj]
25>LINK : fatal error LNK1257: code generation failed [*\LuxCoreRender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoredemo\luxcoredemo.vcxproj]
22>Done Building Project "*\LuxCoreRender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoreui\luxcoreui.vcxproj" (default targets) -- FAILED.
16>Done Building Project "*\LuxCoreRender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoreui\luxcoreui.vcxproj.metaproj" (default targets) -- FAILED.
25>Done Building Project "*\LuxCoreRender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoredemo\luxcoredemo.vcxproj" (default targets) -- FAILED.
13>Done Building Project "*\LuxCoreRender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoredemo\luxcoredemo.vcxproj.metaproj" (default targets) -- FAILED.
1>Done Building Project "*\LuxCoreRender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default targets) -- FAILED.
Attachments
memory.png

acasta69
Developer
Posts: 437
Joined: Tue Jan 09, 2018 3:45 pm
Location: Italy

Re: Windows Build FAILED

Post by acasta69 » Thu Feb 25, 2021 2:02 pm

Weird, I've just tried builds with 3 and 8 CPUs on my PC (16 GB) and they all succeeded.
Maybe I was not using so much memory overall, even if I have some other programs open.

By the way, if you don't need all samples like luxcoreconsole, luxcoreimplserializationdemo, etc., you can use:

Code: Select all

cmake-build-x64 /minimal
This builds only luxcoreui, pyluxcore and pyluxcoretools and it takes less time.
Support LuxCoreRender project with salts and bounties

Windows 10 64 bits, i7-4770 3.4 GHz, RAM 16 GB, GTX 970 4GB v445.87

User avatar
Dade
Developer
Posts: 5524
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Windows Build FAILED

Post by Dade » Thu Feb 25, 2021 2:17 pm

Do you have a swap file ? You may need one to enable virtual memory.
Support LuxCoreRender project with salts and bounties

theoharkes
Posts: 7
Joined: Fri Feb 05, 2021 4:17 pm

Re: Windows Build FAILED

Post by theoharkes » Fri Mar 05, 2021 1:40 pm

Dade wrote:
Thu Feb 25, 2021 2:17 pm
Do you have a swap file ? You may need one to enable virtual memory.
Thanks a lot for pointing that out! I may have tempered with those before, as it seems the page and swapfile are not setup properly :roll:

kintuX
Posts: 710
Joined: Wed Jan 10, 2018 2:37 am

Re: Windows Build FAILED / FATAL ERROR RUNNING CMAKE

Post by kintuX » Thu Jul 29, 2021 6:49 pm

As of today, this is what I get.

Code: Select all

Microsoft Windows [Version 10.0.17763.2061]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\309>cd/

C:\>cd luxcorerender/windowscompile/

C:\luxcorerender\WindowsCompile>cmake-build-x64.bat
Could not determine Visual Studio version, using VS2019
Finding if CMake is installed...
CMake found at "C:\Program Files\CMake\bin\cmake.exe  "
We are using CMake version: 3
LIB_DIR: C:\luxcorerender\WindowsCompileDeps\x64\Release\lib
CMAKE_OPTS=-G "Visual Studio 16 2019" -A x64 -T v142,host=x64 -D CMAKE_INCLUDE_PATH="C:\luxcorerender\WindowsCompileDeps\include" -D CMAKE_LIBRARY_PATH="C:\luxcorerender\WindowsCompileDeps\x64\Release\lib" -D PYTHON_LIBRARY="C:\luxcorerender\WindowsCompileDeps\x64\Release\lib" -D PYTHON_V="39" -D PYTHON_INCLUDE_DIR="C:\luxcorerender\WindowsCompileDeps\include\Python39" -D CMAKE_BUILD_TYPE=Release       -DWIN_BUILD_DEMOS=1
-- CMake version 3.21.1 detected
-- The C compiler identification is MSVC 19.28.29915.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is MSVC 19.28.29915.0
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCXXCompiler.cmake:167 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "MSVC" will no longer be dereferenced when the policy
  is set to NEW.  Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
  CMakeLists.txt:43 (enable_language)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCXXCompiler.cmake:188 (elseif):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "MSVC" will no longer be dereferenced when the policy
  is set to NEW.  Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
  CMakeLists.txt:43 (enable_language)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Multi-config generator detected
-- MSVC
-- MSVC Version: 1928
-- Available custom configurations in cmake/SpecializedConfig:
--   Config_Dade
--   Config_Linux-Static
--   Config_OSX
--   Config_Windows
-- Using custom build config: cmake\SpecializedConfig\Config_Windows.cmake
-- Using Windows Configuration settings
-- Building for target x86
-- Lux build environment variables found
--   LUX_WINDOWS_BUILD_ROOT = C:\luxcorerender\WindowsCompile
--   INCLUDE_DIR = C:\luxcorerender\WindowsCompileDeps\include
--   LIB_DIR = C:\luxcorerender\WindowsCompileDeps\x64\Release\lib
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Found OpenImageIO: C:/luxcorerender/WindowsCompileDeps/x64/Release/lib/OpenImageIO.lib
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (OPENEXR)
  does not match the name of the calling package (OpenEXR).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/Packages/FindOpenEXR.cmake:120 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake/Dependencies.cmake:33 (find_package)
  CMakeLists.txt:103 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OPENEXR: C:/luxcorerender/WindowsCompileDeps/x64/Release/lib/Iex.lib;C:/luxcorerender/WindowsCompileDeps/x64/Release/lib/IlmImf.lib;C:/luxcorerender/WindowsCompileDeps/x64/Release/lib/Half.lib;C:/luxcorerender/WindowsCompileDeps/x64/Release/lib/Imath.lib;C:/luxcorerender/WindowsCompileDeps/x64/Release/lib/IlmThread.lib
-- Found TIFF: C:/luxcorerender/WindowsCompileDeps/x64/Release/lib/libtiff.lib (found version "4.0.9")
-- Found JPEG: C:/luxcorerender/WindowsCompileDeps/x64/Release/lib/jpeg.lib (found version "90")
-- Found ZLIB: C:/luxcorerender/WindowsCompileDeps/x64/Release/lib/zlib1.lib (found version "1.2.11")
-- Found PNG: C:/luxcorerender/WindowsCompileDeps/x64/Release/lib/libpng.lib (found version "1.6.37")
-- Found PythonLibs: C:/luxcorerender/WindowsCompileDeps/x64/Release/lib (found suitable version "3.9.5", minimum required is "3.4")
-- Found Boost: C:/luxcorerender/WindowsCompileDeps/include/Boost (found suitable version "1.72.0", minimum required is "1.56.0") found components: thread program_options filesystem serialization iostreams regex system python39 chrono serialization numpy39 date_time missing components: atomic
-- Found OpenGL: opengl32
-- Found OpenMP_C: -openmp (found version "2.0")
-- Found OpenMP_CXX: -openmp (found version "2.0")
-- Found OpenMP: TRUE (found version "2.0")
-- OpenMP found - compiling with
-- Found BISON: C:\luxcorerender\WindowsCompile/support/bin/win_bison.exe (found version "3.7.1")
-- Found FLEX: C:\luxcorerender\WindowsCompile/support/bin/win_flex.exe (found version "2.6.4")
-- OpenCL support: enabled
-- CUDA support: enabled
-- Intel OIDN support: enabled
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/luxrays_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/luxrays_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/color/color_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/color_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/color/color_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/color_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/bvh/bvhbuild_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/bvhbuild_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/accelerators/bvh.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/bvh_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/accelerators/mbvh.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/mbvh_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/accelerators/optixaccel.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/optixaccel_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/accelerators/optixemptyaccel.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/optixemptyaccel_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/exttrianglemesh_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/exttrianglemesh_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/exttrianglemesh_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/exttrianglemesh_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/randomgen_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/randomgen_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/randomgen_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/randomgen_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/trianglemesh_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/trianglemesh_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/matrix4x4_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/matrix4x4_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/matrix4x4_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/matrix4x4_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/transform_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/transform_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/transform_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/transform_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/frame_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/frame_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/frame_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/frame_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/epsilon_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/epsilon_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/epsilon_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/epsilon_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/ray_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/ray_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/ray_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/ray_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/point_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/point_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/vector_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/vector_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/vector_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/vector_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/normal_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/normal_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/quaternion_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/quaternion_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/quaternion_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/quaternion_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/bbox_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/bbox_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/bbox_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/bbox_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/motionsystem_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/motionsystem_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/motionsystem_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/motionsystem_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/triangle_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/triangle_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/triangle_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/triangle_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/geometry/uv_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/uv_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/core/utils_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/utils_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/devices/cudadevice_math.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/cudadevice_math_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/devices/cudadevice_oclemul_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/cudadevice_oclemul_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/devices/cudadevice_oclemul_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/cudadevice_oclemul_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/devices/ocldevice_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/ocldevice_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/utils/atomic_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/atomic_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/luxrays/utils/mc_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/luxrays-kernels/mc_funcs_kernel.cpp
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/cameras/camera_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/camera_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/cameras/camera_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/camera_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/engines/caches/photongi/pgic_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/pgic_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/engines/caches/photongi/pgic_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/pgic_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/engines/pathoclbase/kernels/pathoclbase_datatypes.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/pathoclbase_datatypes_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/engines/pathoclbase/kernels/pathoclbase_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/pathoclbase_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/engines/pathoclbase/kernels/pathoclbase_kernels_micro.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/pathoclbase_kernels_micro_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/engines/pathtracer_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/pathtracer_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/film_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/film_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/film_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/film_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/film_mergesamplebuffer_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/film_mergesamplebuffer_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/denoiser/filmdenoiser_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/filmdenoiser_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/sampleresult_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/sampleresult_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/imagepipeline/plugins/plugin_backgroundimg_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/plugin_backgroundimg_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/imagepipeline/plugins/plugin_bloom_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/plugin_bloom_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/imagepipeline/plugins/plugin_cameraresponse_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/plugin_cameraresponse_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/imagepipeline/plugins/plugin_coloraberration_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/plugin_coloraberration_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/imagepipeline/plugins/plugin_gammacorrection_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/plugin_gammacorrection_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/imagepipeline/plugins/plugin_gaussianblur3x3_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/plugin_gaussianblur3x3_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/imagepipeline/plugins/plugin_objectidmask_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/plugin_objectidmask_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/imagepipeline/plugins/plugin_optixdenoiser_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/plugin_optixdenoiser_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/imagepipeline/plugins/plugin_premultiplyalpha_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/plugin_premultiplyalpha_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/imagepipeline/plugins/plugin_vignetting_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/plugin_vignetting_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/imagepipeline/plugins/plugin_whitebalance_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/plugin_whitebalance_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/imagepipeline/plugins/tonemaps/tonemap_reduce_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/tonemap_reduce_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/imagepipeline/plugins/tonemaps/tonemap_autolinear_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/tonemap_autolinear_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/imagepipeline/plugins/tonemaps/tonemap_linear_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/tonemap_linear_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/imagepipeline/plugins/tonemaps/tonemap_luxlinear_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/tonemap_luxlinear_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/imagepipeline/plugins/tonemaps/tonemap_reinhard02_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/tonemap_reinhard02_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/sampleresult_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/sampleresult_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/filters/filter_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/filter_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/film/filters/filter_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/filter_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/imagemap/imagemap_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/imagemap_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/imagemap/imagemap_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/imagemap_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/lights/light_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/light_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/lights/light_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/light_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/lights/strategies/dlsc_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/dlsc_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/lights/strategies/dlsc_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/dlsc_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/lights/strategies/lightstrategy_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/lightstrategy_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/lights/visibility/elvc_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/elvc_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/lights/visibility/elvc_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/elvc_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/samplers/sampler_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/sampler_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/samplers/sampler_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/sampler_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/samplers/sampler_random_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/sampler_random_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/samplers/sampler_sobol_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/sampler_sobol_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/samplers/sampler_metropolis_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/sampler_metropolis_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/samplers/sampler_tilepath_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/sampler_tilepath_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/bsdf/bsdf_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/bsdf_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/bsdf/bsdf_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/bsdf_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/bsdf/bsdfutils_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/bsdfutils_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/bsdf/hitpoint_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/hitpoint_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/bsdf/hitpoint_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/hitpoint_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/material_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/material_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_generic.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_generic_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_default.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_default_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_archglass.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_archglass_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_carpaint.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_carpaint_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_clearvol.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_clearvol_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_cloth.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_cloth_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_glass.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_glass_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_glossy2.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_glossy2_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_glossycoating.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_glossycoating_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_glossytranslucent.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_glossytranslucent_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_heterogeneousvol.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_heterogeneousvol_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_homogeneousvol.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_homogeneousvol_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_matte.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_matte_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_matte_translucent.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_matte_translucent_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_metal2.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_metal2_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_mirror.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_mirror_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_mix.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_mix_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_null.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_null_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_roughglass.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_roughglass_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_roughmatte_translucent.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_roughmatte_translucent_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_thinfilmcoating.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_thinfilmcoating_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_velvet.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_velvet_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_disney.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_disney_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/materialdefs_funcs_twosided.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/materialdefs_funcs_twosided_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/material_funcs_evalops.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/material_funcs_evalops_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/materials/material_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/material_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/scene/scene_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/scene_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/scene/scene_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/scene_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/scene/sceneobject_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/sceneobject_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/hitpoint/texture_hitpoint_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_hitpoint_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/mapping/mapping_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/mapping_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/mapping/mapping_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/mapping_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/math/texture_abs_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_abs_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/math/texture_clamp_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_clamp_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/math/texture_random_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_random_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_funcs_evalops.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_funcs_evalops_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_bilerp_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_bilerp_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_blackbody_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_blackbody_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_blender_noise_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_blender_noise_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_blender_noise_funcs2.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_blender_noise_funcs2_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_blender_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_blender_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_bombing_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_bombing_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_brick_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_brick_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_bump_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_bump_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_colordepth_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_colordepth_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_densitygrid_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_densitygrid_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_distort_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_distort_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_hsv_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_hsv_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_irregulardata_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_irregulardata_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_noise_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_noise_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_imagemap_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_imagemap_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_others_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_others_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/texture_triplanar_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_triplanar_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/fresnel/texture_fresnelcolor_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_fresnelcolor_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/textures/fresnel/texture_fresnelconst_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/texture_fresnelconst_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/utils/evalstack_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/evalstack_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/utils/mortoncurve_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/mortoncurve_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/utils/pathdepthinfo_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/pathdepthinfo_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/utils/pathdepthinfo_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/pathdepthinfo_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/utils/pathvolumeinfo_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/pathvolumeinfo_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/utils/pathvolumeinfo_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/pathvolumeinfo_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/utils/pathinfo_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/pathinfo_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/utils/pathinfo_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/pathinfo_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/utils/varianceclamping_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/varianceclamping_funcs_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/volumes/volume_types.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/volume_types_kernel.cpp
-- Preprocessing OpenCL kernel: C:/luxcorerender/LuxCore/include/slg/volumes/volume_funcs.cl => C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore/generated/slg-kernels/volume_funcs_kernel.cpp
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
CMake Warning at src/pyluxcoretools/CMakeLists.txt:74 (message):
  pyside-uic not available - using pre-generated files from the source tree


CMake Deprecation Warning at samples/luxcoreui/deps/glfw-3.1.1/CMakeLists.txt:3 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at samples/luxcoreui/deps/glfw-3.1.1/CMakeLists.txt:8 (cmake_policy):
  The OLD behavior for policy CMP0042 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Using Win32 for window creation
-- Using WGL for context creation
-- Configuring done
-- Generating done
-- Build files have been written to: C:/luxcorerender/WindowsCompile/Build_CMake/LuxCore
'msbuild' is not recognized as an internal or external command,
operable program or batch file.
--- FATAL ERROR RUNNING CMAKE ---

C:\luxcorerender\WindowsCompile>

acasta69
Developer
Posts: 437
Joined: Tue Jan 09, 2018 3:45 pm
Location: Italy

Re: Windows Build FAILED / FATAL ERROR RUNNING CMAKE

Post by acasta69 » Thu Jul 29, 2021 7:29 pm

kintuX wrote:
Thu Jul 29, 2021 6:49 pm
As of today, this is what I get.

Code: Select all

...
Could not determine Visual Studio version, using VS2019
...
This is a bit strange, the script should recognize Visual Studio version between 2017 and 2019.
Are you sure you are running the script from the "x64 Native Tools Command Prompt for VS 2017"?
If so, you should have the "VisualStudioVersion" environment variable defined, which is used to determine which version you have.
Could you please verify if it is defined and what value it has?

You can use this as a workaround (assuming you are trying to use VS 2017):

Code: Select all

cmake-build-x64.bat /vs2017
Support LuxCoreRender project with salts and bounties

Windows 10 64 bits, i7-4770 3.4 GHz, RAM 16 GB, GTX 970 4GB v445.87

acasta69
Developer
Posts: 437
Joined: Tue Jan 09, 2018 3:45 pm
Location: Italy

Re: Windows Build FAILED / FATAL ERROR RUNNING CMAKE

Post by acasta69 » Thu Jul 29, 2021 7:42 pm

Also this:

Code: Select all

...
'msbuild' is not recognized as an internal or external command,
...
Either you are not using the "x64 etc..." or something is not ok with your Visual Studio installation.
Support LuxCoreRender project with salts and bounties

Windows 10 64 bits, i7-4770 3.4 GHz, RAM 16 GB, GTX 970 4GB v445.87

kintuX
Posts: 710
Joined: Wed Jan 10, 2018 2:37 am

Re: Windows Build FAILED / FATAL ERROR RUNNING CMAKE

Post by kintuX » Thu Jul 29, 2021 8:26 pm

acasta69 wrote:
Thu Jul 29, 2021 7:29 pm

Are you sure you are running the script from the "x64 Native Tools Command Prompt for VS 2017"?
Using VS 2019. I made a silly mistake :oops: , compiled it from "Command Prompt" instead of "VS 2019 Native tools".
All is fine now. ;) Thanks for your help!

Post Reply