| 5 | 1/1 | 返回列表 |
| 查看: 2324 | 回復(fù): 7 | ||
| 【懸賞金幣】回答本帖問題,作者mujie2319將贈送您 20 個金幣 | ||
| 當(dāng)前只顯示滿足指定條件的回帖,點擊這里查看本話題的所有回帖 | ||
mujie2319新蟲 (小有名氣)
|
[求助]
thirdorder求解力常數(shù) 已有2人參與
|
|
|
在安裝編譯thirdorder的過程中,出現(xiàn)了錯誤。請問有人知道怎么解決嗎?anaconda已經(jīng)安裝好 [slb@slb thirdorder]$ ./compile.sh running build running build_ext building 'thirdorder_core' extension gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/lib64/python2.6/site-packages/numpy/core/include -I/home/slb/Desktop/spglib-1.11.2.1/include -I/usr/include/python2.6 -c thirdorder_core.c -o build/temp.linux-x86_64-2.6/thirdorder_core.o thirdorder_core.c:559:27: error: spglib/spglib.h: No such file or directory thirdorder_core.c: In function ‘__pyx_f_15thirdorder_core_18SymmetryOperations___spg_get_dataset’: thirdorder_core.c:4895: error: ‘SpglibDataset’ undeclared (first use in this function) thirdorder_core.c:4895: error: (Each undeclared identifier is reported only once thirdorder_core.c:4895: error: for each function it appears in.) thirdorder_core.c:4895: error: ‘__pyx_v_data’ undeclared (first use in this function) thirdorder_core.c:4934: warning: implicit declaration of function ‘spg_get_dataset’ thirdorder_core.c:6011: warning: implicit declaration of function ‘spg_free_dataset’ thirdorder_core.c: In function ‘__pyx_f_5numpy_PyDataType_SHAPE’: thirdorder_core.c:19446: warning: implicit declaration of function ‘PyDataType_HASSUBARRAY’ error: command 'gcc' failed with exit status 1 |
新蟲 (小有名氣)
新蟲 (小有名氣)
新蟲 (初入文壇)
鐵蟲 (初入文壇)
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|