thanks for impressive work, it is such great contribution to community however though I followed instruction from install.md, it did not successfully install DOTA_devkit
SWIG Version 4.0.1
Compiled with g++ [x86_64-pc-linux-gnu]
Configured options: +pcre
pytorch 1.10.1+cu113
code:
inheriate from install.md
swig -c++ -python polyiou.i #works fine without any output
#then , it has following situation
python setup.py build_ext --inplace
running build_ext
building '_polyiou' extension
gcc -pthread -B /root/miniconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/root/miniconda3/include/python3.8 -c polyiou_wrap.cxx -o build/temp.linux-x86_64-3.8/polyiou_wrap.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
gcc -pthread -B /root/miniconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/root/miniconda3/include/python3.8 -c polyiou.cpp -o build/temp.linux-x86_64-3.8/polyiou.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
polyiou.cpp: In function ‘double intersectArea(Point, Point, Point, Point)’:
polyiou.cpp:88:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
88 | if(s1*s2==-1) res=-res;return res;
| ^~
polyiou.cpp:88:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
88 | if(s1*s2==-1) res=-res;return res;
| ^~~~~~
g++ -pthread -shared -B /root/miniconda3/compiler_compat -L/root/miniconda3/lib -Wl,-rpath=/root/miniconda3/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/polyiou_wrap.o build/temp.linux-x86_64-3.8/polyiou.o -o /root/repo/yolov5_obb/DOTA_devkit/_polyiou.cpython-38-x86_64-linux-gnu.so
install issue
expected behavior
successfully install DOTA_devkit
situation description:
thanks for impressive work, it is such great contribution to community however though I followed instruction from install.md, it did not successfully install DOTA_devkit
reproduce the situation:
packages:
gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
Python 3.8.10
newest main version on the date 2022/9/27
swig 4.0.1
pytorch 1.10.1+cu113
code:
inheriate from install.md