-
Notifications
You must be signed in to change notification settings - Fork 3
Windows Build failed #1
Description
I have tried to use VS2022 to build that branch of Mitsuba for UltraRay.
It is failed:
...\VC\Tools\MSVC\14.44.35207\include\thread(93,45): error C2672
: 'forward': no matching overloaded function found [....\UltraRay\external\mitsuba\bu
ild\src\core\mitsuba-core.vcxproj]
(compiling source file '../../../src/core/thread.cpp')
...\UltraRay\external\mitsuba\include\mitsuba\core\class.h(230,27):
could be 'mitsuba::Class::UnserializeFunctor mitsuba::detail::get_unserialize_functor(void)'
...\UltraRay\external\mitsuba\src\core\stream.cpp(123,1):
Failed to specialize function template 'mitsuba::Class::UnserializeFunctor mitsuba::detail::get_unserialize_f
unctor(void)'
...\UltraRay\external\mitsuba\src\core\stream.cpp(123,1):
With the following template arguments:
...\UltraRay\external\mitsuba\src\core\stream.cpp(123,1):
'T=mitsuba::Stream'
...\UltraRay\external\mitsuba\src\core\stream.cpp(123,1):
'__formal=0'
...\UltraRay\external\mitsuba\include\mitsuba\core\class.h(228,27):
or 'mitsuba::Class::UnserializeFunctor mitsuba::detail::get_unserialize_functor(void)'
...\UltraRay\external\mitsuba\src\core\stream.cpp(123,1):
'mitsuba::Class::UnserializeFunctor mitsuba::detail::get_unserialize_functor(void)': could not deduce templat
e argument for '__formal'
...\UltraRay\external\mitsuba\include\mitsuba\core\class.h(227,28):
'std::enable_if_t<false,int>' : Failed to specialize alias template
another issue is:
...\VC\Tools\MSVC\14.44.35207\include\memory(3370,70): error C26
61: 'std::_Compressed_pair<_Dx,mitsuba::Thread::ThreadPrivate *,true>::_Compressed_pair': no overloaded function takes
2 arguments
(compiling source file '../../../src/core/thread.cpp')
...\VC\Tools\MSVC\14.44.35207\include\xmemory(1534,5):
could be 'std::_Compressed_pair<_Dx,mitsuba::Thread::ThreadPrivate *,true>::_Compressed_pair(std::_One_then_varia
dic_args_t,_Other1 &&,_Other2 ...) noexcept()'
with
[
_Dx=std::default_deletemitsuba::Thread::ThreadPrivate
]
...\VC\Tools\MSVC\14.44.35207\include\memory(3370,97):
'initializing': cannot convert from 'std::_Zero_then_variadic_args_t' to 'std::_One_then_variadic_args_t'
...\VC\Tools\MSVC\14.44.35207\include\memory(3370,
97):
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be
called
It has more issues from my build test....
As i test the latest Mitsuba(3.7.1), it can be built against the latest VS2022.
Can it be migrated to Mitsuba(3.7.1) for that branch? also update ultraRay code to be compatible with those updates.
Thanks.
Dennis