[問題] 關於一個setup.py的build錯誤

看板Python作者 (hatemath)時間7年前發表 (2018/03/06 04:57), 7年前編輯推噓1(100)
留言1則, 1人參與, 7年前最新討論串1/1
抱歉我最近想安裝https://github.com/strawlab/python-pcl 這個package然後遇到了一些error 根據這一篇以及google到的 https://github.com/strawlab/python-pcl/issues/127 說在setup.py裡加上 ext_args['extra_compile_args'].append("-std=c++11") ext_args['extra_compile_args'].append("-fno-strict-aliasing") 但是還是一樣出現 warning: command line option “-Wstrict-prototypes” is valid for Ada/C/ObjC but not for C++ 這個錯誤訊息 想請問一下我是否少做了什麼? 我的作業系統為ubuntu 16.04 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.125.96.131 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1520312252.A.968.html

03/06 13:36, 7年前 , 1F
warning不等於錯誤啦 你先看能不能用再說
03/06 13:36, 1F
現在還是一樣 進去之後 " import pcl.pcl_visualization ImportError: No module named pcl_visualizatio" ※ 編輯: hatemath1991 (140.125.96.131), 03/10/2018 17:29:05
文章代碼(AID): #1QdX-ybe (Python)