Skip to content

Fail to build after #69041 #995

Closed
Closed
@tobyclh

Description

@tobyclh

If you do not know the root cause of the problem / bug, and wish someone to help you, please
post according to this template:

🐛 Bugs / Unexpected behaviors

Building pytorch3d from github master shows the following error

  /tmp/pip-req-build-efpu1n0n/pytorch3d/csrc/pulsar/pytorch/renderer.cpp:944:3: error: ‘TORCH_CHECK_ARG’ was not declared in this scope
     TORCH_CHECK_ARG(
     ^~~~~~~~~~~~~~~
  /tmp/pip-req-build-efpu1n0n/pytorch3d/csrc/pulsar/pytorch/renderer.cpp:944:3: note: suggested alternative: ‘TORCH_CHECK_MSG’
     TORCH_CHECK_ARG(
     ^~~~~~~~~~~~~~~
     TORCH_CHECK_MSG

Instructions To Reproduce the Issue:

pip install "git+https://github.com/facebookresearch/pytorch3d.git"

This seems to be introduced by a very recent commit in

#define ARGCHECK TORCH_CHECK_ARG

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