Polynomial optics to Arnold. Camera shader with high-order aberrations, including bidirectional filter that adaptively samples out-of-focus highlights (top level repo)
I've tried to build the current version against 7.2.1.0 but failed with flying colors.
nothing worked for me in that regards. using CMakeGUI and VS2015
1>------ Build started: Project: ZERO_CHECK, Configuration: Release x64 ------ 1> Checking Build System 2>------ Build started: Project: lentil, Configuration: Release x64 ------ 2> Building Custom Rule C:/src/lentil/pota/src/CMakeLists.txt 2> lentil.cpp 2>C:\src\lentil\pota\src\lentil.cpp(3): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 2>C:\src\lentil\pota\src\lentil.cpp(3): error C2146: syntax error: missing ';' before identifier 'l_critsec' 2> lentil_loader.cpp 2> lentil_operator.cpp 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(144): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(144): error C2146: syntax error: missing ';' before identifier 'g_critsec' 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(174): error C3861: 'AiCritSecInit': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(181): error C3861: 'AiCritSecClose': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(188): error C3861: 'AiCritSecEnter': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(195): error C3861: 'AiCritSecLeave': identifier not found 2>c:\src\lentil\pota\src\aov_data.h(179): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(22): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 2>c:\src\lentil\pota\src\lentil.h(22): error C2146: syntax error: missing ';' before identifier 'l_critsec' 2>c:\src\lentil\pota\src\lentil.h(35): error C3861: 'AiCritSecInit': identifier not found 2>c:\src\lentil\pota\src\lentil.h(42): error C3861: 'AiCritSecClose': identifier not found 2>c:\src\lentil\pota\src\lentil.h(49): error C3861: 'AiCritSecEnter': identifier not found 2>c:\src\lentil\pota\src\lentil.h(56): error C3861: 'AiCritSecLeave': identifier not found 2>c:\src\lentil\pota\src\lentil.h(227): error C2660: 'AiRenderAbort': function does not take 0 arguments 2>c:\src\lentil\pota\src\lentil.h(248): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(1058): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(1167): error C2660: 'AiRenderAbort': function does not take 0 arguments 2> lentil_camera.cpp 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(144): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(144): error C2146: syntax error: missing ';' before identifier 'g_critsec' 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(174): error C3861: 'AiCritSecInit': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(181): error C3861: 'AiCritSecClose': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(188): error C3861: 'AiCritSecEnter': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(195): error C3861: 'AiCritSecLeave': identifier not found 2>c:\src\lentil\pota\src\aov_data.h(179): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(22): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 2>c:\src\lentil\pota\src\lentil.h(22): error C2146: syntax error: missing ';' before identifier 'l_critsec' 2>c:\src\lentil\pota\src\lentil.h(35): error C3861: 'AiCritSecInit': identifier not found 2>c:\src\lentil\pota\src\lentil.h(42): error C3861: 'AiCritSecClose': identifier not found 2>c:\src\lentil\pota\src\lentil.h(49): error C3861: 'AiCritSecEnter': identifier not found 2>c:\src\lentil\pota\src\lentil.h(56): error C3861: 'AiCritSecLeave': identifier not found 2>c:\src\lentil\pota\src\lentil.h(227): error C2660: 'AiRenderAbort': function does not take 0 arguments 2>c:\src\lentil\pota\src\lentil.h(248): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(1058): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(1167): error C2660: 'AiRenderAbort': function does not take 0 arguments 2> lentil_filter.cpp 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(144): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(144): error C2146: syntax error: missing ';' before identifier 'g_critsec' 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(174): error C3861: 'AiCritSecInit': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(181): error C3861: 'AiCritSecClose': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(188): error C3861: 'AiCritSecEnter': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(195): error C3861: 'AiCritSecLeave': identifier not found 2>c:\src\lentil\pota\src\aov_data.h(179): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(22): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 2>c:\src\lentil\pota\src\lentil.h(22): error C2146: syntax error: missing ';' before identifier 'l_critsec' 2>c:\src\lentil\pota\src\lentil.h(35): error C3861: 'AiCritSecInit': identifier not found 2>c:\src\lentil\pota\src\lentil.h(42): error C3861: 'AiCritSecClose': identifier not found 2>c:\src\lentil\pota\src\lentil.h(49): error C3861: 'AiCritSecEnter': identifier not found 2>c:\src\lentil\pota\src\lentil.h(56): error C3861: 'AiCritSecLeave': identifier not found 2>c:\src\lentil\pota\src\lentil.h(227): error C2660: 'AiRenderAbort': function does not take 0 arguments 2>c:\src\lentil\pota\src\lentil.h(248): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(1058): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(1167): error C2660: 'AiRenderAbort': function does not take 0 arguments 2> lentil_imager.cpp 2>c:\src\lentil\pota\src\global.h(60): error C2039: 'string': is not a member of 'std' 2> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\algorithm(14): note: see declaration of 'std' 2>c:\src\lentil\pota\src\global.h(60): error C2065: 'string': undeclared identifier 2>c:\src\lentil\pota\src\global.h(60): error C2146: syntax error: missing ')' before identifier 'str' 2>c:\src\lentil\pota\src\global.h(60): error C2143: syntax error: missing ';' before '{' 2>c:\src\lentil\pota\src\global.h(60): error C2447: '{': missing function header (old-style formal list?) 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(144): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(144): error C2146: syntax error: missing ';' before identifier 'g_critsec' 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(174): error C3861: 'AiCritSecInit': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(181): error C3861: 'AiCritSecClose': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(188): error C3861: 'AiCritSecEnter': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(195): error C3861: 'AiCritSecLeave': identifier not found 2>c:\src\lentil\pota\src\aov_data.h(135): error C3861: 'string_to_arnold_type': identifier not found 2>c:\src\lentil\pota\src\aov_data.h(179): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data 2>c:\src\lentil\pota\src\aov_data.h(186): error C3861: 'string_to_arnold_type': identifier not found 2>c:\src\lentil\pota\src\lentil.h(22): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 2>c:\src\lentil\pota\src\lentil.h(22): error C2146: syntax error: missing ';' before identifier 'l_critsec' 2>c:\src\lentil\pota\src\lentil.h(35): error C3861: 'AiCritSecInit': identifier not found 2>c:\src\lentil\pota\src\lentil.h(42): error C3861: 'AiCritSecClose': identifier not found 2>c:\src\lentil\pota\src\lentil.h(49): error C3861: 'AiCritSecEnter': identifier not found 2>c:\src\lentil\pota\src\lentil.h(56): error C3861: 'AiCritSecLeave': identifier not found 2>c:\src\lentil\pota\src\lentil.h(227): error C2660: 'AiRenderAbort': function does not take 0 arguments 2>c:\src\lentil\pota\src\lentil.h(248): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(1058): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(1167): error C2660: 'AiRenderAbort': function does not take 0 arguments
can you please advise on what is happening here?
tried with 2019 as well, same problem
Hi Zeno
I've tried to build the current version against 7.2.1.0 but failed with flying colors. nothing worked for me in that regards. using CMakeGUI and VS2015
1>------ Build started: Project: ZERO_CHECK, Configuration: Release x64 ------ 1> Checking Build System 2>------ Build started: Project: lentil, Configuration: Release x64 ------ 2> Building Custom Rule C:/src/lentil/pota/src/CMakeLists.txt 2> lentil.cpp 2>C:\src\lentil\pota\src\lentil.cpp(3): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 2>C:\src\lentil\pota\src\lentil.cpp(3): error C2146: syntax error: missing ';' before identifier 'l_critsec' 2> lentil_loader.cpp 2> lentil_operator.cpp 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(144): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(144): error C2146: syntax error: missing ';' before identifier 'g_critsec' 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(174): error C3861: 'AiCritSecInit': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(181): error C3861: 'AiCritSecClose': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(188): error C3861: 'AiCritSecEnter': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(195): error C3861: 'AiCritSecLeave': identifier not found 2>c:\src\lentil\pota\src\aov_data.h(179): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(22): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 2>c:\src\lentil\pota\src\lentil.h(22): error C2146: syntax error: missing ';' before identifier 'l_critsec' 2>c:\src\lentil\pota\src\lentil.h(35): error C3861: 'AiCritSecInit': identifier not found 2>c:\src\lentil\pota\src\lentil.h(42): error C3861: 'AiCritSecClose': identifier not found 2>c:\src\lentil\pota\src\lentil.h(49): error C3861: 'AiCritSecEnter': identifier not found 2>c:\src\lentil\pota\src\lentil.h(56): error C3861: 'AiCritSecLeave': identifier not found 2>c:\src\lentil\pota\src\lentil.h(227): error C2660: 'AiRenderAbort': function does not take 0 arguments 2>c:\src\lentil\pota\src\lentil.h(248): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(1058): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(1167): error C2660: 'AiRenderAbort': function does not take 0 arguments 2> lentil_camera.cpp 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(144): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(144): error C2146: syntax error: missing ';' before identifier 'g_critsec' 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(174): error C3861: 'AiCritSecInit': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(181): error C3861: 'AiCritSecClose': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(188): error C3861: 'AiCritSecEnter': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(195): error C3861: 'AiCritSecLeave': identifier not found 2>c:\src\lentil\pota\src\aov_data.h(179): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(22): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 2>c:\src\lentil\pota\src\lentil.h(22): error C2146: syntax error: missing ';' before identifier 'l_critsec' 2>c:\src\lentil\pota\src\lentil.h(35): error C3861: 'AiCritSecInit': identifier not found 2>c:\src\lentil\pota\src\lentil.h(42): error C3861: 'AiCritSecClose': identifier not found 2>c:\src\lentil\pota\src\lentil.h(49): error C3861: 'AiCritSecEnter': identifier not found 2>c:\src\lentil\pota\src\lentil.h(56): error C3861: 'AiCritSecLeave': identifier not found 2>c:\src\lentil\pota\src\lentil.h(227): error C2660: 'AiRenderAbort': function does not take 0 arguments 2>c:\src\lentil\pota\src\lentil.h(248): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(1058): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(1167): error C2660: 'AiRenderAbort': function does not take 0 arguments 2> lentil_filter.cpp 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(144): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(144): error C2146: syntax error: missing ';' before identifier 'g_critsec' 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(174): error C3861: 'AiCritSecInit': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(181): error C3861: 'AiCritSecClose': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(188): error C3861: 'AiCritSecEnter': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(195): error C3861: 'AiCritSecLeave': identifier not found 2>c:\src\lentil\pota\src\aov_data.h(179): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(22): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 2>c:\src\lentil\pota\src\lentil.h(22): error C2146: syntax error: missing ';' before identifier 'l_critsec' 2>c:\src\lentil\pota\src\lentil.h(35): error C3861: 'AiCritSecInit': identifier not found 2>c:\src\lentil\pota\src\lentil.h(42): error C3861: 'AiCritSecClose': identifier not found 2>c:\src\lentil\pota\src\lentil.h(49): error C3861: 'AiCritSecEnter': identifier not found 2>c:\src\lentil\pota\src\lentil.h(56): error C3861: 'AiCritSecLeave': identifier not found 2>c:\src\lentil\pota\src\lentil.h(227): error C2660: 'AiRenderAbort': function does not take 0 arguments 2>c:\src\lentil\pota\src\lentil.h(248): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(1058): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(1167): error C2660: 'AiRenderAbort': function does not take 0 arguments 2> lentil_imager.cpp 2>c:\src\lentil\pota\src\global.h(60): error C2039: 'string': is not a member of 'std' 2> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\algorithm(14): note: see declaration of 'std' 2>c:\src\lentil\pota\src\global.h(60): error C2065: 'string': undeclared identifier 2>c:\src\lentil\pota\src\global.h(60): error C2146: syntax error: missing ')' before identifier 'str' 2>c:\src\lentil\pota\src\global.h(60): error C2143: syntax error: missing ';' before '{' 2>c:\src\lentil\pota\src\global.h(60): error C2447: '{': missing function header (old-style formal list?) 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(144): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(144): error C2146: syntax error: missing ';' before identifier 'g_critsec' 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(174): error C3861: 'AiCritSecInit': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(181): error C3861: 'AiCritSecClose': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(188): error C3861: 'AiCritSecEnter': identifier not found 2>C:\src\lentil\pota\../CryptomatteArnold/cryptomatte/cryptomatte.h(195): error C3861: 'AiCritSecLeave': identifier not found 2>c:\src\lentil\pota\src\aov_data.h(135): error C3861: 'string_to_arnold_type': identifier not found 2>c:\src\lentil\pota\src\aov_data.h(179): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data 2>c:\src\lentil\pota\src\aov_data.h(186): error C3861: 'string_to_arnold_type': identifier not found 2>c:\src\lentil\pota\src\lentil.h(22): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 2>c:\src\lentil\pota\src\lentil.h(22): error C2146: syntax error: missing ';' before identifier 'l_critsec' 2>c:\src\lentil\pota\src\lentil.h(35): error C3861: 'AiCritSecInit': identifier not found 2>c:\src\lentil\pota\src\lentil.h(42): error C3861: 'AiCritSecClose': identifier not found 2>c:\src\lentil\pota\src\lentil.h(49): error C3861: 'AiCritSecEnter': identifier not found 2>c:\src\lentil\pota\src\lentil.h(56): error C3861: 'AiCritSecLeave': identifier not found 2>c:\src\lentil\pota\src\lentil.h(227): error C2660: 'AiRenderAbort': function does not take 0 arguments 2>c:\src\lentil\pota\src\lentil.h(248): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(1058): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data 2>c:\src\lentil\pota\src\lentil.h(1167): error C2660: 'AiRenderAbort': function does not take 0 arguments
can you please advise on what is happening here? tried with 2019 as well, same problem