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

Local compiling issue #24

Open
Start1er opened this issue Nov 10, 2024 · 1 comment
Open

Local compiling issue #24

Start1er opened this issue Nov 10, 2024 · 1 comment

Comments

@Start1er
Copy link

Hi, thanks for your nice work. I compile locally in windows with mitsuba 3.4.1 and drjit 0.4.4 and then compile the fastsweep. But I have met the issue when I run optimize.py

    sdf_scene = mi.load_file(ref_scene_name, shape_file='dummysdf.xml', sdf_filename=join(SCENE_DIR, 'sdfs', 'bunny_64.vol'),
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: ​[xml.cpp:1119] Error while loading "C:\research\method\diff-sdf\differentiable-sdf-rendering\scenes\dragon\...\integrator_sdf.xml" (near line 5, col 3): could not instantiate integrator plugin of type "sdf_direct_reparam": TypeError: redistance(): incompatible function arguments. The following argument types are supported:
[xml.cpp:1119]     1. (arg0: drjit::Tensor<drjit::CUDAArray<float> >) -> drjit::Tensor<drjit::CUDAArray<float> >
[xml.cpp:1119]     2. (arg0: drjit::Tensor<drjit::LLVMArray<float> >) -> drjit::Tensor<drjit::LLVMArray<float> >

Seems like the program can not find the sdf integrator.
Any response would be helpful!

@Start1er
Copy link
Author

I compile mitsuba and drjit for specific 3.4.1 and 0.4.4 version in my local enviroment, then compile the fastsweep, seems like it will in defualt update drjit to 0.4.6. And the data type mismatch happen as your readme saying. Any thing I can do for compiling them one by one?

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