小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

(原創(chuàng))ubuntu10.04下編譯disney的partio

 Tech-d 2012-06-26
1. 安裝scons, swig1.3,doxygen, openGL(sudo apt-get install mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev)
注意若沒安裝swig,編譯時可能會出現(xiàn) “is static and is not compatible with shared target ” 類的錯誤。
2. https://github.com/wdas/partio/ 下:
$ git clone https://github.com/wdas/partio.git
$ cd partio
$ scons -j 4
就可以了~

如果出現(xiàn) “/usr/bin/ld: cannot find -lGL”,進行如下步驟:
sudo rm /usr/lib/libGL.so
sudo ln -s /usr/lib/libGL.so.xxx.xx /usr/lib/libGL.so

如果出現(xiàn)"cc1plus: warnings being treated as errors",則打開Sconstruct文件,將所有的-Werror刪除

===============================================
部署python的partio:
將/partio/dist/Linux-2.6.32-x86_64-optimize/lib/python2.6/site-packages 中的兩個文件,
拷貝到/usr/lib/python2.6/dist-packages .
(如果之間將dist中的所有內(nèi)容拷貝到/usr下,partio.py會被拷貝到/usr/lib/python2.6/site-packages中,
但site-package不在默認的sys.path中,所以需要移動到dist-packages去。)


    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導購買等信息,謹防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多