iT邦幫忙

0

Botan 在windows編譯

最近要使用Botan加解密
我是下載:http://botan.randombit.net/files/Botan-1.8.13.tgz
這個版本

只是爬文要怎麼生成lib檔,對我來說都無法生成
網路上說要去viusal studio 的命令提示符打下面的程式可以生成lib

> python configure.py --cc=msvc
> nmake
> nmake check # optional, but recommended
> nmake install

我目前卡在vs的提示符找不到我存的botan裡的python檔
https://ithelp.ithome.com.tw/upload/images/20191118/20122463l09l78fMVZ.png

一個是直接複製 python configure.py --cc=msvc
一個是在configure前加存的位置

想請問我打的方式哪裡有問題嗎?

更新

我改用在cmd、改用2.10.0版本
現在又出現另一個問題,會有錯誤
https://ithelp.ithome.com.tw/upload/images/20191118/20122463NRhEL503cG.png

froce iT邦大師 1 級 ‧ 2019-11-19 08:02:43 檢舉
2.10.0版的只出一個警告而已啊。
你要不要執行看看?
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

2
froce
iT邦大師 1 級 ‧ 2019-11-18 16:27:39

第一個錯誤是簡單的工作目錄問題...
c:\....\2019\Community>python configure.py ...
這裡的configure.py是 c:\....\2019\Community\configure.py

第二個是你寫錯了。
629行多了個「.」

lingwu iT邦新手 5 級 ‧ 2019-11-18 16:57:09 檢舉

那我要打什麼才能生成lib?

configure.py 本身就存在這個檔案裡的,所以我並沒有更動內部的程式

我要發表回答

立即登入回答