thunlp / Fast-TransX

An Efficient implementation of TransE and its extended models for Knowledge Representation Learning
MIT License
402 stars 108 forks source link

编译出错 #22

Closed syllenz closed 6 years ago

syllenz commented 6 years ago

你好,我照此执行: cd transE g++ transE.cpp -o transE -pthread -O3 -march=native 编译出错,提示: transE.cpp:1: error: bad value (native) for -march= switch transE.cpp:1: error: bad value (native) for -mtune= switch 请帮忙看看

THUCSTHanxu13 commented 6 years ago

你把-march=native去掉试试看,可能你机器的指令集比较奇怪。