Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
issue
issue
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • chainmaker
  • issueissue
  • Issues
  • #667

Closed
Open
Opened Feb 08, 2023 by huahua xiaomuzhu@huahuaxiaomuzhu

SDK国密依赖

vendor/chainmaker.org/chainmaker/common/v2/opencrypto/tencentsm/tencentsm/base.go:12:10: fatal error: sm.h: No such file or directory
 #include "sm.h"
          ^~~~~~
compilation terminated.
# chainmaker.org/chainmaker/common/v2/opencrypto/gmssl/gmssl
vendor/chainmaker.org/chainmaker/common/v2/opencrypto/gmssl/gmssl/certificate.go:59:10: fatal error: openssl/sm2.h: No such file or directory
 #include <openssl/sm2.h>
          ^~~~~~~~~~~~~~~
compilation terminated.

在使用2.3.0版本SDK尝试连接国密算法的链时出现如上报错,请问如何获取sm.h和sm2.h?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: chainmaker/issue#667

Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。