Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译so报错 #659

Open
LisaLiu19920103 opened this issue Oct 15, 2024 · 4 comments
Open

编译so报错 #659

LisaLiu19920103 opened this issue Oct 15, 2024 · 4 comments

Comments

@LisaLiu19920103
Copy link

LisaLiu19920103 commented Oct 15, 2024

F:\gitworkspace\tongsuo\tongsuolibrary\src\main\cpp\include\openssl\opensslconf.h:14:11: fatal error: 'openssl/configuration.h' file not found
F:\gitworkspace\tongsuo\tongsuolibrary\src\main\cpp\include\openssl\conf.h:13:11: fatal error: 'openssl/bio.h' file not found
F:\gitworkspace\tongsuo\tongsuolibrary\src\main\cpp\crypto\ct\ct_b64.c:13:10: fatal error: 'openssl/ct.h' file not found
F:\gitworkspace\tongsuo\tongsuolibrary\src\main\cpp\crypto\ct\ct_policy.c:14:10: fatal error: 'openssl/ct.h' file not found

@dongbeiouba
Copy link
Member

如何构建的?贴一下完整命令

@LisaLiu19920103
Copy link
Author

LisaLiu19920103 commented Oct 16, 2024

CMakeLists.txt

在Android Studio里构建的

@dongbeiouba
Copy link
Member

CMakeLists.txt

在Android Studio里构建的

部分头文件是需要动态生成的,比如从configuration.h.in生成configuration.h,cmake里面没有体现这些步骤,所以就没有configuration.h文件,当然编译就失败了。

想要使用cmake构建铜锁你需要研究一下Tongsuo项目的构建过程。

@LisaLiu19920103
Copy link
Author

您好,是否有较为详细的指导文件呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants