RFBNet
RFBNet copied to clipboard
fail to run ./make.sh
c_type’? tstate->exc_type = local_type; ^~~~~~~~ curexc_type pycocotools/_mask.c:14327:13: error: ‘PyThreadState {aka struct _ts’ has no member named ‘exc_value’; did you mean ‘curexc_value’? tstate->exc_value = local_value; ^~~~~~~~~ curexc_value pycocotools/_mask.c:14328:13: error: ‘PyThreadState {aka struct _ts’ has no member named ‘exc_traceback’; did you mean ‘curexc_tracebac’? tstate->exc_traceback = local_tb; ^~~~~~~~~~~~~ curexc_traceback error: command 'gcc' failed with exit status 1
same error...
how to fix it
change all the 'exc' stuff into 'curexc', it will be alright.
In case anybody hasn't found a solution yet, forcing the build worked for me.
python build.py build_ext --inplace --force