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

ninja execution error #4

Open
WhyICanNotDo opened this issue Jul 26, 2023 · 3 comments
Open

ninja execution error #4

WhyICanNotDo opened this issue Jul 26, 2023 · 3 comments

Comments

@WhyICanNotDo
Copy link

Sorry to bother you, I'm having an error executing "ninja", I've tried many times to fix this, but to no avail. The following is the error message:

"nitsuba3/ext/drjit/include/drjit/loop.h:82:32: error: 'jit_var_dec_ref_ext’ was not declared in this scope,and no declarations were found by argunent-dependent lookup at the point of instantiation [-fpernissive] ... ninja: build stopped: subcomnand failed."

@merlinND
Copy link
Member

Hello @WhyICanNotDo,

It is difficult to help with the given information, please specify the OS and compiler that you have tried using.
In the Getting Started section of the README, you can see which compiler was explicitly tested.

Although this branch is somewhat outdated compared to the latest version of Mitsuba 3, the documentation is still applicable: https://mitsuba.readthedocs.io/en/stable/src/developer_guide/compiling.html

@WhyICanNotDo
Copy link
Author

Sorry for not replying to your message in time.

Ubuntu 20.04 & CUDA12.0 & 3.30GHz Intel i9-7900K CPU & NVIDIA RTX-3090Ti GPU & Clang++ 10.0.0 & Python3.8.17

In fact, I failed to execute "git clone --recursive https://github.com/mitsuba-renderer/mitsuba3 --branch unbiased-inverse-volume-rendering" successfully. Therefore, I directly downloaded the unbiased-inverse-volume-rendering branch and its sub-branches. Then execute the command:
cd mitsuba3
mkdir build && cd build
cmake -GNinja ..
ninja

@merlinND
Copy link
Member

Could you try with a more recent version of Clang? As specified in the README, this code was tested with 12.0.0.

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

2 participants