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

LINK : fatal error LNK1181: 无法打开输入文件“G:\code\GeoTransformer-main\build\temp.win-amd64-cpython-38\Release\geotransformer\extensions\cpu\grid_subsampling\grid_subsampling.obj” #97

Open
zsqwe opened this issue Feb 29, 2024 · 1 comment

Comments

@zsqwe
Copy link

zsqwe commented Feb 29, 2024

(geotransformer) G:\code\GeoTransformer-main>python setup.py build develop
running build
running build_ext
building 'geotransformer.ext' extension
creating G:\code\GeoTransformer-main\build\temp.win-amd64-cpython-38
creating G:\code\GeoTransformer-main\build\temp.win-amd64-cpython-38\Release
creating G:\code\GeoTransformer-main\build\temp.win-amd64-cpython-38\Release\geotransformer
creating G:\code\GeoTransformer-main\build\temp.win-amd64-cpython-38\Release\geotransformer\extensions
creating G:\code\GeoTransformer-main\build\temp.win-amd64-cpython-38\Release\geotransformer\extensions\cpu
creating G:\code\GeoTransformer-main\build\temp.win-amd64-cpython-38\Release\geotransformer\extensions\cpu\grid_subsampling
creating G:\code\GeoTransformer-main\build\temp.win-amd64-cpython-38\Release\geotransformer\extensions\cpu\radius_neighbors
creating G:\code\GeoTransformer-main\build\temp.win-amd64-cpython-38\Release\geotransformer\extensions\extra
creating G:\code\GeoTransformer-main\build\temp.win-amd64-cpython-38\Release\geotransformer\extensions\extra\cloud
Emitting ninja build file G:\code\GeoTransformer-main\build\temp.win-amd64-cpython-38\Release\build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
1.11.1.git.kitware.jobserver-1
F:\visualstudio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\ProgramData\anaconda3\envs\geotransformer\lib\site-packages\torch\lib "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\lib/x64" /LIBPATH:C:\ProgramData\anaconda3\envs\geotransformer\libs /LIBPATH:C:\ProgramData\anaconda3\envs\geotransformer /LIBPATH:C:\ProgramData\anaconda3\envs\geotransformer\PCbuild\amd64 /LIBPATH:F:\visualstudio\2022\Community\VC\Tools\MSVC\14.38.33130\ATLMFC\lib\x64 /LIBPATH:F:\visualstudio\2022\Community\VC\Tools\MSVC\14.38.33130\lib\x64 "/LIBPATH:F:\Windows Kits\10\lib\10.0.22621.0\ucrt\x64" "/LIBPATH:F:\Windows Kits\10\lib\10.0.22621.0\um\x64" c10.lib torch.lib torch_cpu.lib torch_python.lib cudart.lib c10_cuda.lib torch_cuda.lib /EXPORT:PyInit_ext G:\code\GeoTransformer-main\build\temp.win-amd64-cpython-38\Release\geotransformer/extensions/cpu/grid_subsampling/grid_subsampling.obj G:\code\GeoTransformer-main\build\temp.win-amd64-cpython-38\Release\geotransformer/extensions/cpu/grid_subsampling/grid_subsampling_cpu.obj G:\code\GeoTransformer-main\build\temp.win-amd64-cpython-38\Release\geotransformer/extensions/cpu/radius_neighbors/radius_neighbors.obj G:\code\GeoTransformer-main\build\temp.win-amd64-cpython-38\Release\geotransformer/extensions/cpu/radius_neighbors/radius_neighbors_cpu.obj G:\code\GeoTransformer-main\build\temp.win-amd64-cpython-38\Release\geotransformer/extensions/extra/cloud/cloud.obj G:\code\GeoTransformer-main\build\temp.win-amd64-cpython-38\Release\geotransformer/extensions/pybind.obj /OUT:build\lib.win-amd64-cpython-38\geotransformer\ext.cp38-win_amd64.pyd /IMPLIB:G:\code\GeoTransformer-main\build\temp.win-amd64-cpython-38\Release\geotransformer/extensions/cpu/grid_subsampling\ext.cp38-win_amd64.lib
LINK : fatal error LNK1181: 无法打开输入文件“G:\code\GeoTransformer-main\build\temp.win-amd64-cpython-38\Release\geotransformer\extensions\cpu\grid_subsampling\grid_subsampling.obj”
error: command 'F:\visualstudio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\HostX86\x64\link.exe' failed with exit code 1181
What should I do if I haven't compiled the corresponding file

@zeroAska
Copy link

Same error here. Have you found ways to fix it?

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