make
gcc word2vec.c -o word2vec -lm -pthread -O3 -march=native -Wall -funroll-loops -Wno-unused-result
cc1: error: unrecognized command line option "-Wno-unused-result"
word2vec.c:1: error: bad value (native) for -march= switch
word2vec.c:1: error: bad value (native) for -mtune= switch
make: *** [word2vec] Error 1

Here we need modified the Makefile for mac os:

3 #CFLAGS = -lm -pthread -O3 -march=native -Wall -funroll-loops -Wno-unused-re sult
4 CFLAGS = -lm -pthread -O3 -Wall -funroll-loops

原文链接:http://textminingonline.com/getting-started-with-word2vec-and-glove

最新文章

  1. gRPC源码分析1-SSL/TLS
  2. SQL Server的AlwaysOn错误19456和41158
  3. Oracle启动报错ORA-03113解决
  4. 一起买beta版本文档报告汇总
  5. 专业IT培训机构-传智播客
  6. JSP中的Servlet及Filter
  7. NoSQL分类
  8. Ov
  9. Intellij 中的git操作 转!
  10. Equivalent Strings (字符串相等?)
  11. nginx对于Yii2的前后台的配置
  12. c++设计模式之观察者模式
  13. Java 学习 第三篇;面向对象
  14. HDU-1049
  15. 关于xml的一些操作
  16. HTML5中a标签的锚点使用
  17. iOS7 CookBook精彩瞬间(三)UIActivityViewController的基本使用及自定义Activity
  18. js检查身份证号是否正确
  19. Python_初识函数和返回值_22
  20. Linux MMC framework2:基本组件之host

热门文章

  1. liunx下,只获取主机的IP?
  2. 面向对象的JavaScript
  3. ssi项目(1)环境搭建
  4. keep the bar green to keep the code clean——Junit详解(二)
  5. Switch图形练习
  6. uboot环境变量实现分析
  7. Sqrtx
  8. AliOS编译安装MyRocks
  9. Socket模块学习
  10. iOS 指定圆角个数