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

按照INSTALL操作,编译不过,这是啥原因 #108

Open
mahxn0 opened this issue Sep 20, 2023 · 3 comments
Open

按照INSTALL操作,编译不过,这是啥原因 #108

mahxn0 opened this issue Sep 20, 2023 · 3 comments

Comments

@mahxn0
Copy link

mahxn0 commented Sep 20, 2023

running build_ext
building 'poly_nms_cuda' extension
creating /maxiangjun/AerialDetection/mmdet/ops/poly_nms/build
creating /maxiangjun/AerialDetection/mmdet/ops/poly_nms/build/temp.linux-x86_64-3.8
creating /maxiangjun/AerialDetection/mmdet/ops/poly_nms/build/temp.linux-x86_64-3.8/src
Emitting ninja build file /maxiangjun/AerialDetection/mmdet/ops/poly_nms/build/temp.linux-x86_64-3.8/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
1.10.2.git.kitware.jobserver-1
creating build/lib.linux-x86_64-3.8
x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /maxiangjun/AerialDetection/mmdet/ops/poly_nms/build/temp.linux-x86_64-3.8/src/poly_nms_cuda.o /maxiangjun/AerialDetection/mmdet/ops/poly_nms/build/temp.linux-x86_64-3.8/src/poly_nms_kernel.o -L/usr/local/lib/python3.8/dist-packages/torch/lib -L/usr/local/cuda/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-3.8/poly_nms_cuda.cpython-38-x86_64-linux-gnu.so
x86_64-linux-gnu-g++: error: /maxiangjun/AerialDetection/mmdet/ops/poly_nms/build/temp.linux-x86_64-3.8/src/poly_nms_cuda.o: No such file or directory
x86_64-linux-gnu-g++: error: /maxiangjun/AerialDetection/mmdet/ops/poly_nms/build/temp.linux-x86_64-3.8/src/poly_nms_kernel.o: No such file or directory
error: command 'x86_64-linux-gnu-g++' failed with exit status 1

@mahxn0 mahxn0 changed the title 按照INSTALL操作,编译不过,这是这个什么勾8问题 按照INSTALL操作,编译不过,这是什么勾8问题 Sep 20, 2023
@mahxn0
Copy link
Author

mahxn0 commented Sep 20, 2023

gcc (Ubuntu 7.5.0-6ubuntu2) 7.5.0
torch 1.9
mmcv 1.3

@mahxn0
Copy link
Author

mahxn0 commented Sep 20, 2023

.o编译到哪去了 

@mahxn0
Copy link
Author

mahxn0 commented Sep 20, 2023

为啥根本没有生成.o

@mahxn0 mahxn0 changed the title 按照INSTALL操作,编译不过,这是什么勾8问题 按照INSTALL操作,编译不过,这是啥原因 Sep 20, 2023
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