You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i run the installation but it wont generate the .so file and wont recognize polyiou in the code.
this is the final result of runnig the installation code (python setup.py build_ext --inplace) :
running build_ext
building '_polyiou' extension
creating build
creating build/temp.linux-x86_64-3.7
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c polyiou_wrap.cxx -o build/temp.linux-x86_64-3.7/polyiou_wrap.o
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c polyiou.cpp -o build/temp.linux-x86_64-3.7/polyiou.o
polyiou.cpp: In function ‘double intersectArea(Point, Point, Point, Point)’:
polyiou.cpp:88:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(s1s2==-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’
if(s1s2==-1) res=-res;return res;
^~~~~~
x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/polyiou_wrap.o build/temp.linux-x86_64-3.7/polyiou.o -o /content/BBAVectors-Oriented-Object-Detection/datasets/DOTA_devkit/_polyiou.cpython-37m-x86_64-linux-gnu.so
tnx for your help in advance.
The text was updated successfully, but these errors were encountered:
i run the installation but it wont generate the .so file and wont recognize polyiou in the code.
this is the final result of runnig the installation code (python setup.py build_ext --inplace) :
running build_ext
building '_polyiou' extension
creating build
creating build/temp.linux-x86_64-3.7
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c polyiou_wrap.cxx -o build/temp.linux-x86_64-3.7/polyiou_wrap.o
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c polyiou.cpp -o build/temp.linux-x86_64-3.7/polyiou.o
polyiou.cpp: In function ‘double intersectArea(Point, Point, Point, Point)’:
polyiou.cpp:88:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(s1s2==-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’
if(s1s2==-1) res=-res;return res;
^~~~~~
x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/polyiou_wrap.o build/temp.linux-x86_64-3.7/polyiou.o -o /content/BBAVectors-Oriented-Object-Detection/datasets/DOTA_devkit/_polyiou.cpython-37m-x86_64-linux-gnu.so
tnx for your help in advance.
The text was updated successfully, but these errors were encountered: