Skip to content

Local compiling issue  #24

@Start1er

Description

@Start1er

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions