摘要: 举例: b2 runtime-link=static link=static threading=multi(生成静态库,该静态库静态链接C运行库) 生成的文件: libboost_thread-vc142-mt-sgd-x64-1_74.lib libboost_thread-vc142-mt-s 阅读全文
posted @ 2022-04-11 16:50 jiftle 阅读(504) 评论(0) 推荐(0) 编辑
摘要: 调试蚂蚁链时,遇到蚂蚁提供的静态库不能被动态库引用。 找到如下解释: gcc 编译静态库如果有可能被动态库引用,请增加 -fPIC编译选项 编译 https://wenku.baidu.com/view/f8bbe122cf1755270722192e453610661ed95a3a.html 阅读全文
posted @ 2022-04-11 16:45 jiftle 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 1.证书工具 (1)查看当前证书属于哪个用户 openssl x509 -in config/msp/signcerts/cert.pem -noout -subject (2)打印证书的过期时间 openssl x509 -in signed.crt -noout -dates (3)打印出证书的 阅读全文
posted @ 2022-04-11 14:54 jiftle 阅读(203) 评论(0) 推荐(0) 编辑