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

codeblock 链接 openssl 库文件 #13

Open
TheBigFish opened this issue Jul 17, 2019 · 0 comments
Open

codeblock 链接 openssl 库文件 #13

TheBigFish opened this issue Jul 17, 2019 · 0 comments
Labels
C c language

Comments

@TheBigFish
Copy link
Owner

codeblock 链接 openssl 库文件

安装 codeblock

版本为: codeblocks-17.12mingw-setup.exe
gcc: 5.1.0

安装 MSYS-1.0.10.exe

将 `CodeBlocks\MinGW` 下文件拷贝至 `msys\1.0\mingw`
gcc -v 输出版本号即成功

安装 perl 5

strawberry-perl-5.30.0.1-64bit.msi

编译 openssl

- 版本 openssl-1.0.2j.tar.gz
- 编译
    - ./config
    - make
    - make test
    - make install
编译后文件位于 `msys\1.0\local\ssl`

配置codeblock

- project -> build options -> linker settings 增加:
    - libcrypto.a
    - libssl.a
    - libgdi32.a
- project -> build options -> search directories 增加:
    - msys\1.0\local\ssl\include

完成

@TheBigFish TheBigFish added the C c language label Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C c language
Projects
None yet
Development

No branches or pull requests

1 participant