Open liutianling opened 4 years ago
You should use same compiler version used to build your python runtime.
may help: in python run: import sys print(sys.version)
you should see the compiler version ... and then check $(CXX) used in https://github.com/MichalBusta/E2E-MLT/blob/c147bfbf7fa66c97419d2d38333cbb0f33e91492/nms/Makefile#L1
I hope it helps.
I ran into this while working with EAST as well. This solution worked for me
https://github.com/argman/EAST/issues/156#issuecomment-404166990
You might have to remove some flags from python3-config --cflags
output as suggested in above link, depending on the type of machine your on.
when i run the demo.py, then the errors as follows: g++: error: unrecognized command line option ‘-fno-plt’ Makefile:10: recipe for target 'adaptor.so' failed make: *** [adaptor.so] Error 1
Anyone can tell me how to fix it?Thanks!