我在使用python版本3对EAST进行编译时,出现以下错误:
g++: error: unrecognized command line option ‘-fno-plt’
解决办法:
将Makefile文件的以下行
CXXFLAGS = -I include -std=c++11 -O3 $(shell python3-config --cflags)
中的$(shell python3-config --cflags)替换为
-I/home/xx/anaconda3/include/python3.6m
注意:替换的部分请换成自己的anaconda目录,如果不知道按照在哪,可以通过在命令行输入python3-config --cflags,然后回车看到,anaconda路径