mitsuba icon indicating copy to clipboard operation
mitsuba copied to clipboard

Compile with VS 2022 and python3

Open wenjian-zhou opened this issue 1 year ago • 0 comments

Hi, I was compiling mitsuba with scons-python3 branch, my environments are:

  • Windows 11
  • VS 2022
  • Python 3.7

Then I found an error with std::binary_function, the error message says C2143: syntax error : missing ',' before '<'. I found that the error was caused by functional not included in the header files, so I added #include <functional> to mitsuba.h. Then the compilation went successful. Could you check if this is an issue? Thanks!

wenjian-zhou avatar Jun 16 '24 16:06 wenjian-zhou