Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile with VS 2022 and python3 #181

Open
wenjian-zhou opened this issue Jun 16, 2024 · 0 comments
Open

Compile with VS 2022 and python3 #181

wenjian-zhou opened this issue Jun 16, 2024 · 0 comments

Comments

@wenjian-zhou
Copy link

wenjian-zhou commented Jun 16, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant