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

RuntimeError: Error compiling objects for extension #910

Closed
wangleishan opened this issue Oct 27, 2021 · 7 comments
Closed

RuntimeError: Error compiling objects for extension #910

wangleishan opened this issue Oct 27, 2021 · 7 comments

Comments

@wangleishan
Copy link

when I python setup.py install to install 0.4.0 .It failed .how can I solve it?

Traceback (most recent call last):
File "setup.py", line 144, in
cmdclass={"build_ext": BuildExtension},
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/site-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/site-packages/setuptools/command/install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 164, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 150, in call_command
self.run_command(cmdname)
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/site-packages/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/distutils/command/install_lib.py", line 107, in build
self.run_command('build_ext')
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 649, in build_extensions
build_ext.build_extensions(self)
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
_build_ext.build_extension(self, ext)
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
depends=ext.depends)
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 478, in unix_wrap_ninja_compile
with_cuda=with_cuda)
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "/home/wangls@1/anaconda3/envs/ssr2/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1529, in _run_ninja_build
raise RuntimeError(message)
RuntimeError: Error compiling objects for extension

@Alihamdy2496
Copy link

i get the same error
Traceback (most recent call last):
File "setup.py", line 128, in
setup(
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\site-packages\setuptools_init_.py", line 153, in setup
return distutils.core.setup(**attrs)
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\site-packages\setuptools\command\install.py", line 67, in run
self.do_egg_install()
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\site-packages\setuptools\command\install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\site-packages\setuptools\command\bdist_egg.py", line 164, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\site-packages\setuptools\command\bdist_egg.py", line 150, in call_command
self.run_command(cmdname)
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\site-packages\setuptools\command\install_lib.py", line 11, in run
self.build()
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\distutils\command\install_lib.py", line 107, in build
self.run_command('build_ext')
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\site-packages\setuptools\command\build_ext.py", line 79, in run
_build_ext.run(self)
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\distutils\command\build_ext.py", line 340, in run
self.build_extensions()
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\site-packages\torch\utils\cpp_extension.py", line 670, in build_extensions
build_ext.build_extensions(self)
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\distutils\command\build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\site-packages\setuptools\command\build_ext.py", line 202, in build_extension
_build_ext.build_extension(self, ext)
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\distutils\command\build_ext.py", line 528, in build_extension
objects = self.compiler.compile(sources,
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\site-packages\torch\utils\cpp_extension.py", line 643, in win_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\site-packages\torch\utils\cpp_extension.py", line 1250, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "C:\Users\ali.hamdy\Anaconda3\envs\pytorch3d\lib\site-packages\torch\utils\cpp_extension.py", line 1555, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension

@bottler
Copy link
Contributor

bottler commented Nov 2, 2021

There should be specific error messages in these cases, perhaps in a log file? Or can you set the variable PYTORCH3D_NO_NINJA to 1 and try again? This makes the build process simpler.

@Alihamdy2496
Copy link

Alihamdy2496 commented Nov 2, 2021

thank Jeremy for your time and effort,

setting PYTORCH3D_NO_NINJA to 1 didn't change any thing
and the error is so very large , here are some snippets of it that may help


[2/53] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -ID:\pytorch3d\pytorch3d\csrc -ID:\pytorch3d\1 -IC:\Users\ali.hamdy\Anaconda3\envs\sfm\lib\site-packages\torch\include -IC:\Users\ali.hamdy\Anaconda3\envs\sfm\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\ali.hamdy\Anaconda3\envs\sfm\lib\site-packages\torch\include\TH -IC:\Users\ali.hamdy\Anaconda3\envs\sfm\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\ali.hamdy\Anaconda3\envs\sfm\include -IC:\Users\ali.hamdy\Anaconda3\envs\sfm\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c D:\pytorch3d\pytorch3d\csrc\pulsar\pytorch\util.cpp /FoD:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\pulsar\pytorch\util.obj -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
cl : Command line warning D9002 : ignoring unknown option '-std=c++14'


C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1328): error: expected a "("
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const uint64_t *&]"
(5756): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &, _Pr) [with _FwdIt=const uint64_t *, _Ty=uint64_t, _Pr=std::less]"
(5777): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
C:/Users/ali.hamdy/Anaconda3/envs/sfm/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1329): error: expression must have class type
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const uint64_t *&]"
(5756): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &, _Pr) [with _FwdIt=const uint64_t *, _Ty=uint64_t, _Pr=std::less]"
(5777): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
C:/Users/ali.hamdy/Anaconda3/envs/sfm/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1326): error: expected a "("
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const uint64_t *const &]"
(5757): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &, _Pr) [with _FwdIt=const uint64_t *, _Ty=uint64_t, _Pr=std::less]"
(5777): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
C:/Users/ali.hamdy/Anaconda3/envs/sfm/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1328): error: expected a "("
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const uint64_t *const &]"
(5757): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &, _Pr) [with _FwdIt=const uint64_t *, _Ty=uint64_t, _Pr=std::less]"
(5777): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
C:/Users/ali.hamdy/Anaconda3/envs/sfm/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

Error limit reached.
100 errors detected in the compilation of "D:/pytorch3d/pytorch3d/csrc/blending/sigmoid_alpha_blend.cu".


C:\Users\ali.hamdy\Anaconda3\envs\sfm\lib\site-packages\torch\include\c10/util/Optional.h(427): note: see reference to alias template instantiation 'c10::OptionalBase<std::vector<std::vector<torch::autograd::profiler::LegacyEvent,std::allocatortorch::autograd::profiler::LegacyEvent>,std::allocator<std::vector<torch::autograd::profiler::LegacyEvent,std::allocatortorch::autograd::profiler::LegacyEvent>>>>' being compiled
C:\Users\ali.hamdy\Anaconda3\envs\sfm\lib\site-packages\torch\include\torch/csrc/autograd/profiler_legacy.h(588): note: see reference to class template instantiation 'c10::optional<std::vector<std::vector<torch::autograd::profiler::LegacyEvent,std::allocatortorch::autograd::profiler::LegacyEvent>,std::allocator<std::vector<torch::autograd::profiler::LegacyEvent,std::allocatortorch::autograd::profiler::LegacyEvent>>>>' being compiled
C:\Users\ali.hamdy\Anaconda3\envs\sfm\lib\site-packages\torch\include\c10/util/Optional.h(395): warning C4624: 'c10::trivially_copyable_optimization_optional_base': destructor was implicitly defined as deleted
with
[
T=std::vector<std::vector<torch::autograd::profiler::LegacyEvent,std::allocatortorch::autograd::profiler::LegacyEvent>,std::allocator<std::vector<torch::autograd::profiler::LegacyEvent,std::allocatortorch::autograd::profiler::LegacyEvent>>>
]
C:\Users\ali.hamdy\Anaconda3\envs\sfm\lib\site-packages\torch\include\c10/util/Optional.h(183): warning C4624: 'c10::constexpr_storage_t': destructor was implicitly defined as deleted
with
[
T=std::vector<at::Tensor,std::allocatorat::Tensor>
]
C:\Users\ali.hamdy\Anaconda3\envs\sfm\lib\site-packages\torch\include\c10/util/Optional.h(367): note: see reference to class template instantiation 'c10::constexpr_storage_t' being compiled
with
[
T=std::vector<at::Tensor,std::allocatorat::Tensor>
]
C:\Users\ali.hamdy\Anaconda3\envs\sfm\lib\site-packages\torch\include\c10/util/Optional.h(427): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base' being compiled
with
[
T=std::vector<at::Tensor,std::allocatorat::Tensor>
]
C:\Users\ali.hamdy\Anaconda3\envs\sfm\lib\site-packages\torch\include\c10/util/Optional.h(427): note: see reference to alias template instantiation 'c10::OptionalBase<std::vector<at::Tensor,std::allocatorat::Tensor>>' being compiled
C:\Users\ali.hamdy\Anaconda3\envs\sfm\lib\site-packages\torch\include\torch\csrc\api\include\torch/optim/lbfgs.h(47): note: see reference to class template instantiation 'c10::optional<std::vector<at::Tensor,std::allocatorat::Tensor>>' being compiled
C:\Users\ali.hamdy\Anaconda3\envs\sfm\lib\site-packages\torch\include\c10/util/Optional.h(395): warning C4624: 'c10::trivially_copyable_optimization_optional_base': destructor was implicitly defined as deleted
with
[
T=std::vector<at::Tensor,std::allocatorat::Tensor>
]
C:\Users\ali.hamdy\Anaconda3\envs\sfm\lib\site-packages\torch\include\pybind11\detail/common.h(108): warning C4005: 'HAVE_SNPRINTF': macro redefinition
C:\Users\ali.hamdy\Anaconda3\envs\sfm\include\pyerrors.h(490): note: see previous definition of 'HAVE_SNPRINTF'
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "C:\Users\ali.hamdy\Anaconda3\envs\sfm\lib\site-packages\torch\utils\cpp_extension.py", line 1672, in _run_ninja_build
env=env)
File "C:\Users\ali.hamdy\Anaconda3\envs\sfm\lib\subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

@bottler
Copy link
Contributor

bottler commented Nov 2, 2021

The environment variable didn't get passed in for some reason. But you now have more info, and it looks like you have the problem which has been seen before with error: expected a "(". Please see #876 (comment)

@Alihamdy2496
Copy link

thank you for your time
i check your comment


Your error list has

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1309): error: expected a "("
          detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=const char *, _Sentinel=const char *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xlocale(1990): here

Can you check actions/virtual-environments#3485 and https://stackoverflow.com/questions/67732065/why-does-vs2019-pro-have-compile-errors-with-xutility-xmemory-and-atomic-when which seem to be related to what you are seeing? If you need to get rid of the c++14 flag, you would change pytorch3d's setup.py.

and modified pytorch3d's setup.py to get rid of the c++14 flag


def get_extensions():
this_dir = os.path.dirname(os.path.abspath(file))
extensions_dir = os.path.join(this_dir, "pytorch3d", "csrc")
sources = glob.glob(os.path.join(extensions_dir, "", "*.cpp"), recursive=True)
source_cuda = glob.glob(os.path.join(extensions_dir, "
", "*.cu"), recursive=True)
extension = CppExtension

#extra_compile_args = {"cxx": ["-std=c++14"]}
define_macros = []
include_dirs = [extensions_dir]

force_cuda = os.getenv("FORCE_CUDA", "0") == "1"
if (torch.cuda.is_available() and CUDA_HOME is not None) or force_cuda:
    extension = CUDAExtension
    sources += source_cuda
    define_macros += [("WITH_CUDA", None)]
    # Thrust is only used for its tuple objects.
    # With CUDA 11.0 we can't use the cudatoolkit's version of cub.
    # We take the risk that CUB and Thrust are incompatible, because
    # we aren't using parts of Thrust which actually use CUB.
    define_macros += [("THRUST_IGNORE_CUB_VERSION_CHECK", None)]
    cub_home = os.environ.get("CUB_HOME", None)
    nvcc_args = [
        # "-std=c++14",
        "-DCUDA_HAS_FP16=1",
        "-D__CUDA_NO_HALF_OPERATORS__",
        "-D__CUDA_NO_HALF_CONVERSIONS__",
        "-D__CUDA_NO_HALF2_OPERATORS__",
    ]
    if cub_home is None:
        prefix = os.environ.get("CONDA_PREFIX", None)
        if prefix is not None and os.path.isdir(prefix + "/include/cub"):
            cub_home = prefix + "/include"

    if cub_home is None:
        warnings.warn(
            "The environment variable `CUB_HOME` was not found. "
            "NVIDIA CUB is required for compilation and can be downloaded "
            "from `https://github.com/NVIDIA/cub/releases`. You can unpack "
            "it to a location of your choice and set the environment variable "
            "`CUB_HOME` to the folder containing the `CMakeListst.txt` file."
        )
    else:
        include_dirs.append(os.path.realpath(cub_home).replace("\\ ", " "))
    nvcc_flags_env = os.getenv("NVCC_FLAGS", "")
    if nvcc_flags_env != "":
        nvcc_args.extend(nvcc_flags_env.split(" "))

    # This is needed for pytorch 1.6 and earlier. See e.g.
    # https://github.com/facebookresearch/pytorch3d/issues/436
    # It is harmless after https://github.com/pytorch/pytorch/pull/47404 .
    # But it can be problematic in torch 1.7.0 and 1.7.1
    if torch.__version__[:4] != "1.7.":
        CC = os.environ.get("CC", None)
        if CC is not None:
            existing_CC = get_existing_ccbin(nvcc_args)
            if existing_CC is None:
                CC_arg = "-ccbin={}".format(CC)
                nvcc_args.append(CC_arg)
            elif existing_CC != CC:
                msg = f"Inconsistent ccbins: {CC} and {existing_CC}"
                raise ValueError(msg)

    #extra_compile_args["nvcc"] = nvcc_args

sources = [os.path.join(extensions_dir, s) for s in sources]

ext_modules = [
    extension(
        "pytorch3d._C",
        sources,
        include_dirs=include_dirs,
        define_macros=define_macros,
        # extra_compile_args=extra_compile_args,
    )
]

return ext_modules

i commented the following


#extra_compile_args = {"cxx": ["-std=c++14"]}

nvcc_args = [
# "-std=c++14",
"-DCUDA_HAS_FP16=1",
"-D__CUDA_NO_HALF_OPERATORS__",
"-D__CUDA_NO_HALF_CONVERSIONS__",
"-D__CUDA_NO_HALF2_OPERATORS__",
]

#extra_compile_args["nvcc"] = nvcc_args

ext_modules = [
extension(
"pytorch3d._C",
sources,
include_dirs=include_dirs,
define_macros=define_macros,
# extra_compile_args=extra_compile_args,
)
]

i got many warrnings but got this at the end


Generating code
D:\pytorch3d\pytorch3d\csrc\point_mesh\point_mesh_cpu.cpp(39) : warning C4700: uninitialized local variable 'tag' used
D:\pytorch3d\pytorch3d\csrc\point_mesh\point_mesh_cpu.cpp(39) : warning C4700: uninitialized local variable 'tag' used
Finished generating code
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\pytorch3d
creating build\bdist.win-amd64\egg\pytorch3d\datasets
creating build\bdist.win-amd64\egg\pytorch3d\datasets\r2n2
copying build\lib.win-amd64-3.7\pytorch3d\datasets\r2n2\r2n2.py -> build\bdist.win-amd64\egg\pytorch3d\datasets\r2n2
copying build\lib.win-amd64-3.7\pytorch3d\datasets\r2n2\utils.py -> build\bdist.win-amd64\egg\pytorch3d\datasets\r2n2
copying build\lib.win-amd64-3.7\pytorch3d\datasets\r2n2_init_.py -> build\bdist.win-amd64\egg\pytorch3d\datasets\r2n2
creating build\bdist.win-amd64\egg\pytorch3d\datasets\shapenet
copying build\lib.win-amd64-3.7\pytorch3d\datasets\shapenet\shapenet_core.py -> build\bdist.win-amd64\egg\pytorch3d\datasets\shapenet
copying build\lib.win-amd64-3.7\pytorch3d\datasets\shapenet_init_.py -> build\bdist.win-amd64\egg\pytorch3d\datasets\shapenet
copying build\lib.win-amd64-3.7\pytorch3d\datasets\shapenet_base.py -> build\bdist.win-amd64\egg\pytorch3d\datasets
copying build\lib.win-amd64-3.7\pytorch3d\datasets\utils.py -> build\bdist.win-amd64\egg\pytorch3d\datasets
copying build\lib.win-amd64-3.7\pytorch3d\datasets_init_.py -> build\bdist.win-amd64\egg\pytorch3d\datasets
creating build\bdist.win-amd64\egg\pytorch3d\io
copying build\lib.win-amd64-3.7\pytorch3d\io\mtl_io.py -> build\bdist.win-amd64\egg\pytorch3d\io
copying build\lib.win-amd64-3.7\pytorch3d\io\obj_io.py -> build\bdist.win-amd64\egg\pytorch3d\io
copying build\lib.win-amd64-3.7\pytorch3d\io\pluggable.py -> build\bdist.win-amd64\egg\pytorch3d\io
copying build\lib.win-amd64-3.7\pytorch3d\io\pluggable_formats.py -> build\bdist.win-amd64\egg\pytorch3d\io
copying build\lib.win-amd64-3.7\pytorch3d\io\ply_io.py -> build\bdist.win-amd64\egg\pytorch3d\io
copying build\lib.win-amd64-3.7\pytorch3d\io\utils.py -> build\bdist.win-amd64\egg\pytorch3d\io
copying build\lib.win-amd64-3.7\pytorch3d\io_init_.py -> build\bdist.win-amd64\egg\pytorch3d\io
creating build\bdist.win-amd64\egg\pytorch3d\loss
copying build\lib.win-amd64-3.7\pytorch3d\loss\chamfer.py -> build\bdist.win-amd64\egg\pytorch3d\loss
copying build\lib.win-amd64-3.7\pytorch3d\loss\mesh_edge_loss.py -> build\bdist.win-amd64\egg\pytorch3d\loss
copying build\lib.win-amd64-3.7\pytorch3d\loss\mesh_laplacian_smoothing.py -> build\bdist.win-amd64\egg\pytorch3d\loss
copying build\lib.win-amd64-3.7\pytorch3d\loss\mesh_normal_consistency.py -> build\bdist.win-amd64\egg\pytorch3d\loss
copying build\lib.win-amd64-3.7\pytorch3d\loss\point_mesh_distance.py -> build\bdist.win-amd64\egg\pytorch3d\loss
copying build\lib.win-amd64-3.7\pytorch3d\loss_init_.py -> build\bdist.win-amd64\egg\pytorch3d\loss
creating build\bdist.win-amd64\egg\pytorch3d\ops
copying build\lib.win-amd64-3.7\pytorch3d\ops\cameras_alignment.py -> build\bdist.win-amd64\egg\pytorch3d\ops
copying build\lib.win-amd64-3.7\pytorch3d\ops\cubify.py -> build\bdist.win-amd64\egg\pytorch3d\ops
copying build\lib.win-amd64-3.7\pytorch3d\ops\graph_conv.py -> build\bdist.win-amd64\egg\pytorch3d\ops
copying build\lib.win-amd64-3.7\pytorch3d\ops\interp_face_attrs.py -> build\bdist.win-amd64\egg\pytorch3d\ops
copying build\lib.win-amd64-3.7\pytorch3d\ops\knn.py -> build\bdist.win-amd64\egg\pytorch3d\ops
copying build\lib.win-amd64-3.7\pytorch3d\ops\marching_cubes.py -> build\bdist.win-amd64\egg\pytorch3d\ops
copying build\lib.win-amd64-3.7\pytorch3d\ops\marching_cubes_data.py -> build\bdist.win-amd64\egg\pytorch3d\ops
copying build\lib.win-amd64-3.7\pytorch3d\ops\mesh_face_areas_normals.py -> build\bdist.win-amd64\egg\pytorch3d\ops
copying build\lib.win-amd64-3.7\pytorch3d\ops\mesh_filtering.py -> build\bdist.win-amd64\egg\pytorch3d\ops
copying build\lib.win-amd64-3.7\pytorch3d\ops\packed_to_padded.py -> build\bdist.win-amd64\egg\pytorch3d\ops
copying build\lib.win-amd64-3.7\pytorch3d\ops\perspective_n_points.py -> build\bdist.win-amd64\egg\pytorch3d\ops
copying build\lib.win-amd64-3.7\pytorch3d\ops\points_alignment.py -> build\bdist.win-amd64\egg\pytorch3d\ops
copying build\lib.win-amd64-3.7\pytorch3d\ops\points_normals.py -> build\bdist.win-amd64\egg\pytorch3d\ops
copying build\lib.win-amd64-3.7\pytorch3d\ops\points_to_volumes.py -> build\bdist.win-amd64\egg\pytorch3d\ops
copying build\lib.win-amd64-3.7\pytorch3d\ops\sample_points_from_meshes.py -> build\bdist.win-amd64\egg\pytorch3d\ops
copying build\lib.win-amd64-3.7\pytorch3d\ops\subdivide_meshes.py -> build\bdist.win-amd64\egg\pytorch3d\ops
copying build\lib.win-amd64-3.7\pytorch3d\ops\utils.py -> build\bdist.win-amd64\egg\pytorch3d\ops
copying build\lib.win-amd64-3.7\pytorch3d\ops\vert_align.py -> build\bdist.win-amd64\egg\pytorch3d\ops
copying build\lib.win-amd64-3.7\pytorch3d\ops_init_.py -> build\bdist.win-amd64\egg\pytorch3d\ops
creating build\bdist.win-amd64\egg\pytorch3d\renderer
copying build\lib.win-amd64-3.7\pytorch3d\renderer\blending.py -> build\bdist.win-amd64\egg\pytorch3d\renderer
copying build\lib.win-amd64-3.7\pytorch3d\renderer\cameras.py -> build\bdist.win-amd64\egg\pytorch3d\renderer
copying build\lib.win-amd64-3.7\pytorch3d\renderer\camera_utils.py -> build\bdist.win-amd64\egg\pytorch3d\renderer
copying build\lib.win-amd64-3.7\pytorch3d\renderer\compositing.py -> build\bdist.win-amd64\egg\pytorch3d\renderer
creating build\bdist.win-amd64\egg\pytorch3d\renderer\implicit
copying build\lib.win-amd64-3.7\pytorch3d\renderer\implicit\raymarching.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\implicit
copying build\lib.win-amd64-3.7\pytorch3d\renderer\implicit\raysampling.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\implicit
copying build\lib.win-amd64-3.7\pytorch3d\renderer\implicit\renderer.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\implicit
copying build\lib.win-amd64-3.7\pytorch3d\renderer\implicit\utils.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\implicit
copying build\lib.win-amd64-3.7\pytorch3d\renderer\implicit_init_.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\implicit
copying build\lib.win-amd64-3.7\pytorch3d\renderer\lighting.py -> build\bdist.win-amd64\egg\pytorch3d\renderer
copying build\lib.win-amd64-3.7\pytorch3d\renderer\materials.py -> build\bdist.win-amd64\egg\pytorch3d\renderer
creating build\bdist.win-amd64\egg\pytorch3d\renderer\mesh
copying build\lib.win-amd64-3.7\pytorch3d\renderer\mesh\rasterizer.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\mesh
copying build\lib.win-amd64-3.7\pytorch3d\renderer\mesh\rasterize_meshes.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\mesh
copying build\lib.win-amd64-3.7\pytorch3d\renderer\mesh\renderer.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\mesh
copying build\lib.win-amd64-3.7\pytorch3d\renderer\mesh\shader.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\mesh
copying build\lib.win-amd64-3.7\pytorch3d\renderer\mesh\shading.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\mesh
copying build\lib.win-amd64-3.7\pytorch3d\renderer\mesh\textures.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\mesh
copying build\lib.win-amd64-3.7\pytorch3d\renderer\mesh\utils.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\mesh
copying build\lib.win-amd64-3.7\pytorch3d\renderer\mesh_init_.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\mesh
creating build\bdist.win-amd64\egg\pytorch3d\renderer\points
copying build\lib.win-amd64-3.7\pytorch3d\renderer\points\compositor.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\points
creating build\bdist.win-amd64\egg\pytorch3d\renderer\points\pulsar
copying build\lib.win-amd64-3.7\pytorch3d\renderer\points\pulsar\renderer.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\points\pulsar
copying build\lib.win-amd64-3.7\pytorch3d\renderer\points\pulsar\unified.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\points\pulsar
copying build\lib.win-amd64-3.7\pytorch3d\renderer\points\pulsar_init_.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\points\pulsar
copying build\lib.win-amd64-3.7\pytorch3d\renderer\points\rasterizer.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\points
copying build\lib.win-amd64-3.7\pytorch3d\renderer\points\rasterize_points.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\points
copying build\lib.win-amd64-3.7\pytorch3d\renderer\points\renderer.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\points
copying build\lib.win-amd64-3.7\pytorch3d\renderer\points_init_.py -> build\bdist.win-amd64\egg\pytorch3d\renderer\points
copying build\lib.win-amd64-3.7\pytorch3d\renderer\utils.py -> build\bdist.win-amd64\egg\pytorch3d\renderer
copying build\lib.win-amd64-3.7\pytorch3d\renderer_init_.py -> build\bdist.win-amd64\egg\pytorch3d\renderer
creating build\bdist.win-amd64\egg\pytorch3d\structures
copying build\lib.win-amd64-3.7\pytorch3d\structures\meshes.py -> build\bdist.win-amd64\egg\pytorch3d\structures
copying build\lib.win-amd64-3.7\pytorch3d\structures\pointclouds.py -> build\bdist.win-amd64\egg\pytorch3d\structures
copying build\lib.win-amd64-3.7\pytorch3d\structures\utils.py -> build\bdist.win-amd64\egg\pytorch3d\structures
copying build\lib.win-amd64-3.7\pytorch3d\structures\volumes.py -> build\bdist.win-amd64\egg\pytorch3d\structures
copying build\lib.win-amd64-3.7\pytorch3d\structures_init_.py -> build\bdist.win-amd64\egg\pytorch3d\structures
creating build\bdist.win-amd64\egg\pytorch3d\transforms
copying build\lib.win-amd64-3.7\pytorch3d\transforms\rotation_conversions.py -> build\bdist.win-amd64\egg\pytorch3d\transforms
copying build\lib.win-amd64-3.7\pytorch3d\transforms\so3.py -> build\bdist.win-amd64\egg\pytorch3d\transforms
copying build\lib.win-amd64-3.7\pytorch3d\transforms\transform3d.py -> build\bdist.win-amd64\egg\pytorch3d\transforms
copying build\lib.win-amd64-3.7\pytorch3d\transforms_init_.py -> build\bdist.win-amd64\egg\pytorch3d\transforms
creating build\bdist.win-amd64\egg\pytorch3d\utils
copying build\lib.win-amd64-3.7\pytorch3d\utils\ico_sphere.py -> build\bdist.win-amd64\egg\pytorch3d\utils
copying build\lib.win-amd64-3.7\pytorch3d\utils\torus.py -> build\bdist.win-amd64\egg\pytorch3d\utils
copying build\lib.win-amd64-3.7\pytorch3d\utils_init_.py -> build\bdist.win-amd64\egg\pytorch3d\utils
creating build\bdist.win-amd64\egg\pytorch3d\vis
copying build\lib.win-amd64-3.7\pytorch3d\vis\plotly_vis.py -> build\bdist.win-amd64\egg\pytorch3d\vis
copying build\lib.win-amd64-3.7\pytorch3d\vis\texture_vis.py -> build\bdist.win-amd64\egg\pytorch3d\vis
copying build\lib.win-amd64-3.7\pytorch3d\vis_init_.py -> build\bdist.win-amd64\egg\pytorch3d\vis
copying build\lib.win-amd64-3.7\pytorch3d_C.cp37-win_amd64.pyd -> build\bdist.win-amd64\egg\pytorch3d
copying build\lib.win-amd64-3.7\pytorch3d_init_.py -> build\bdist.win-amd64\egg\pytorch3d
byte-compiling build\bdist.win-amd64\egg\pytorch3d\datasets\r2n2\r2n2.py to r2n2.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\datasets\r2n2\utils.py to utils.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\datasets\r2n2_init_.py to init.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\datasets\shapenet\shapenet_core.py to shapenet_core.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\datasets\shapenet_init_.py to init.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\datasets\shapenet_base.py to shapenet_base.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\datasets\utils.py to utils.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\datasets_init_.py to init.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\io\mtl_io.py to mtl_io.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\io\obj_io.py to obj_io.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\io\pluggable.py to pluggable.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\io\pluggable_formats.py to pluggable_formats.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\io\ply_io.py to ply_io.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\io\utils.py to utils.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\io_init_.py to init.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\loss\chamfer.py to chamfer.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\loss\mesh_edge_loss.py to mesh_edge_loss.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\loss\mesh_laplacian_smoothing.py to mesh_laplacian_smoothing.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\loss\mesh_normal_consistency.py to mesh_normal_consistency.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\loss\point_mesh_distance.py to point_mesh_distance.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\loss_init_.py to init.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\ops\cameras_alignment.py to cameras_alignment.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\ops\cubify.py to cubify.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\ops\graph_conv.py to graph_conv.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\ops\interp_face_attrs.py to interp_face_attrs.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\ops\knn.py to knn.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\ops\marching_cubes.py to marching_cubes.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\ops\marching_cubes_data.py to marching_cubes_data.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\ops\mesh_face_areas_normals.py to mesh_face_areas_normals.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\ops\mesh_filtering.py to mesh_filtering.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\ops\packed_to_padded.py to packed_to_padded.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\ops\perspective_n_points.py to perspective_n_points.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\ops\points_alignment.py to points_alignment.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\ops\points_normals.py to points_normals.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\ops\points_to_volumes.py to points_to_volumes.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\ops\sample_points_from_meshes.py to sample_points_from_meshes.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\ops\subdivide_meshes.py to subdivide_meshes.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\ops\utils.py to utils.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\ops\vert_align.py to vert_align.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\ops_init_.py to init.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\blending.py to blending.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\cameras.py to cameras.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\camera_utils.py to camera_utils.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\compositing.py to compositing.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\implicit\raymarching.py to raymarching.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\implicit\raysampling.py to raysampling.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\implicit\renderer.py to renderer.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\implicit\utils.py to utils.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\implicit_init_.py to init.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\lighting.py to lighting.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\materials.py to materials.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\mesh\rasterizer.py to rasterizer.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\mesh\rasterize_meshes.py to rasterize_meshes.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\mesh\renderer.py to renderer.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\mesh\shader.py to shader.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\mesh\shading.py to shading.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\mesh\textures.py to textures.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\mesh\utils.py to utils.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\mesh_init_.py to init.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\points\compositor.py to compositor.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\points\pulsar\renderer.py to renderer.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\points\pulsar\unified.py to unified.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\points\pulsar_init_.py to init.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\points\rasterizer.py to rasterizer.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\points\rasterize_points.py to rasterize_points.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\points\renderer.py to renderer.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\points_init_.py to init.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer\utils.py to utils.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\renderer_init_.py to init.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\structures\meshes.py to meshes.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\structures\pointclouds.py to pointclouds.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\structures\utils.py to utils.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\structures\volumes.py to volumes.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\structures_init_.py to init.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\transforms\rotation_conversions.py to rotation_conversions.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\transforms\so3.py to so3.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\transforms\transform3d.py to transform3d.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\transforms_init_.py to init.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\utils\ico_sphere.py to ico_sphere.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\utils\torus.py to torus.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\utils_init_.py to init.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\vis\plotly_vis.py to plotly_vis.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\vis\texture_vis.py to texture_vis.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d\vis_init_.py to init.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\pytorch3d_init_.py to init.cpython-37.pyc
creating stub loader for pytorch3d_C.cp37-win_amd64.pyd
byte-compiling build\bdist.win-amd64\egg\pytorch3d_C.py to _C.cpython-37.pyc
creating build\bdist.win-amd64\egg\EGG-INFO
copying pytorch3d.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying pytorch3d.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying pytorch3d.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying pytorch3d.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying pytorch3d.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
writing build\bdist.win-amd64\egg\EGG-INFO\native_libs.txt
zip_safe flag not set; analyzing archive contents...
pytorch3d.pycache._C.cpython-37: module references file
pytorch3d.datasets.r2n2.pycache.r2n2.cpython-37: module references file
pytorch3d.datasets.shapenet.pycache.shapenet_core.cpython-37: module references file
creating 'dist\pytorch3d-0.3.0-py3.7-win-amd64.egg' and adding 'build\bdist.win-amd64\egg' to it
removing 'build\bdist.win-amd64\egg' (and everything under it)
Processing pytorch3d-0.3.0-py3.7-win-amd64.egg
creating c:\users\ali.hamdy\anaconda3\envs\sfm\lib\site-packages\pytorch3d-0.3.0-py3.7-win-amd64.egg
Extracting pytorch3d-0.3.0-py3.7-win-amd64.egg to c:\users\ali.hamdy\anaconda3\envs\sfm\lib\site-packages
Adding pytorch3d 0.3.0 to easy-install.pth file

Installed c:\users\ali.hamdy\anaconda3\envs\sfm\lib\site-packages\pytorch3d-0.3.0-py3.7-win-amd64.egg
Processing dependencies for pytorch3d==0.3.0
Searching for iopath==0.1.9
Best match: iopath 0.1.9
Adding iopath 0.1.9 to easy-install.pth file

Using c:\users\ali.hamdy\anaconda3\envs\sfm\lib\site-packages
Searching for fvcore==0.1.5.post20210825
Best match: fvcore 0.1.5.post20210825
Adding fvcore 0.1.5.post20210825 to easy-install.pth file

Using c:\users\ali.hamdy\anaconda3\envs\sfm\lib\site-packages
Searching for torchvision==0.10.0
Best match: torchvision 0.10.0
Adding torchvision 0.10.0 to easy-install.pth file

Using c:\users\ali.hamdy\anaconda3\envs\sfm\lib\site-packages
Searching for portalocker==2.3.2
Best match: portalocker 2.3.2
Adding portalocker 2.3.2 to easy-install.pth file

Using c:\users\ali.hamdy\anaconda3\envs\sfm\lib\site-packages
Searching for tqdm==4.62.2
Best match: tqdm 4.62.2
Adding tqdm 4.62.2 to easy-install.pth file
Installing tqdm-script.py script to C:\Users\ali.hamdy\Anaconda3\envs\sfm\Scripts
Installing tqdm.exe script to C:\Users\ali.hamdy\Anaconda3\envs\sfm\Scripts

Using c:\users\ali.hamdy\anaconda3\envs\sfm\lib\site-packages
Searching for tabulate==0.8.9
Best match: tabulate 0.8.9
Adding tabulate 0.8.9 to easy-install.pth file
Installing tabulate-script.py script to C:\Users\ali.hamdy\Anaconda3\envs\sfm\Scripts
Installing tabulate.exe script to C:\Users\ali.hamdy\Anaconda3\envs\sfm\Scripts

Using c:\users\ali.hamdy\anaconda3\envs\sfm\lib\site-packages
Searching for Pillow==8.3.1
Best match: Pillow 8.3.1
Adding Pillow 8.3.1 to easy-install.pth file

Using c:\users\ali.hamdy\anaconda3\envs\sfm\lib\site-packages
Searching for termcolor==1.1.0
Best match: termcolor 1.1.0
Adding termcolor 1.1.0 to easy-install.pth file

Using c:\users\ali.hamdy\anaconda3\envs\sfm\lib\site-packages
Searching for PyYAML==5.4.1
Best match: PyYAML 5.4.1
Adding PyYAML 5.4.1 to easy-install.pth file

Using c:\users\ali.hamdy\anaconda3\envs\sfm\lib\site-packages
Searching for yacs==0.1.8
Best match: yacs 0.1.8
Adding yacs 0.1.8 to easy-install.pth file

Using c:\users\ali.hamdy\anaconda3\envs\sfm\lib\site-packages
Searching for numpy==1.21.2
Best match: numpy 1.21.2
Adding numpy 1.21.2 to easy-install.pth file
Installing f2py-script.py script to C:\Users\ali.hamdy\Anaconda3\envs\sfm\Scripts
Installing f2py.exe script to C:\Users\ali.hamdy\Anaconda3\envs\sfm\Scripts

Using c:\users\ali.hamdy\anaconda3\envs\sfm\lib\site-packages
Searching for torch==1.9.0
Best match: torch 1.9.0
Adding torch 1.9.0 to easy-install.pth file
Installing convert-caffe2-to-onnx-script.py script to C:\Users\ali.hamdy\Anaconda3\envs\sfm\Scripts
Installing convert-caffe2-to-onnx.exe script to C:\Users\ali.hamdy\Anaconda3\envs\sfm\Scripts
Installing convert-onnx-to-caffe2-script.py script to C:\Users\ali.hamdy\Anaconda3\envs\sfm\Scripts
Installing convert-onnx-to-caffe2.exe script to C:\Users\ali.hamdy\Anaconda3\envs\sfm\Scripts

Using c:\users\ali.hamdy\anaconda3\envs\sfm\lib\site-packages
Searching for pywin32==301
Best match: pywin32 301
Adding pywin32 301 to easy-install.pth file

Using c:\users\ali.hamdy\anaconda3\envs\sfm\lib\site-packages
Searching for colorama==0.4.4
Best match: colorama 0.4.4
Adding colorama 0.4.4 to easy-install.pth file

Using c:\users\ali.hamdy\anaconda3\envs\sfm\lib\site-packages
Searching for typing-extensions==3.10.0.0
Best match: typing-extensions 3.10.0.0
Adding typing-extensions 3.10.0.0 to easy-install.pth file

Using c:\users\ali.hamdy\anaconda3\envs\sfm\lib\site-packages
Finished processing dependencies for pytorch3d==0.3.0


so this means that it has Finished processing successfully ?


@bottler
Copy link
Contributor

bottler commented Nov 3, 2021

Yes, I think that looks like a complete build. To check if it installed, you can do import pytorch3d in python.

@Alihamdy2496
Copy link

yup it worked thank you Jeremy

@bottler bottler closed this as completed Nov 3, 2021
@facebookresearch facebookresearch locked as resolved and limited conversation to collaborators Nov 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants