#24 fatal error: 'openssl/opensslv.h'

オープン
2 年 前akwangl によって開かれました · 0 コメント
akwangl2 年 前 にコメントしました

我在mac 13中,将文档所有的依赖通过brew方式安装,再尝试运行make all命令时,它报错了,找不到这个头文件

./common/RSACipher.hpp:2:10: fatal error: 'openssl/opensslv.h' file not found
#include <openssl/opensslv.h>
         ^~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from ./navicat-patcher/PatchSolution2.cpp:1:
In file included from ./navicat-patcher/PatchSolutions.hpp:3:
./common/RSACipher.hpp:2:10: fatal error: 'openssl/opensslv.h' file not found
#include <openssl/opensslv.h>
         ^~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from ./navicat-patcher/PatchSolution3.cpp:1:
In file included from ./navicat-patcher/PatchSolutions.hpp:3:
./common/RSACipher.hpp:2:10: fatal error: 'openssl/opensslv.h' file not found
#include <openssl/opensslv.h>
         ^~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from ./navicat-patcher/main.cpp:10:
In file included from ./navicat-patcher/PatchSolutions.hpp:3:
./common/RSACipher.hpp:2:10: fatal error: 'openssl/opensslv.h' file not found
#include <openssl/opensslv.h>
         ^~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [patcher] Error 1
我在mac 13中,将文档所有的依赖通过brew方式安装,再尝试运行make all命令时,它报错了,找不到这个头文件 ``` ./common/RSACipher.hpp:2:10: fatal error: 'openssl/opensslv.h' file not found #include <openssl/opensslv.h> ^~~~~~~~~~~~~~~~~~~~ 1 error generated. In file included from ./navicat-patcher/PatchSolution2.cpp:1: In file included from ./navicat-patcher/PatchSolutions.hpp:3: ./common/RSACipher.hpp:2:10: fatal error: 'openssl/opensslv.h' file not found #include <openssl/opensslv.h> ^~~~~~~~~~~~~~~~~~~~ 1 error generated. In file included from ./navicat-patcher/PatchSolution3.cpp:1: In file included from ./navicat-patcher/PatchSolutions.hpp:3: ./common/RSACipher.hpp:2:10: fatal error: 'openssl/opensslv.h' file not found #include <openssl/opensslv.h> ^~~~~~~~~~~~~~~~~~~~ 1 error generated. In file included from ./navicat-patcher/main.cpp:10: In file included from ./navicat-patcher/PatchSolutions.hpp:3: ./common/RSACipher.hpp:2:10: fatal error: 'openssl/opensslv.h' file not found #include <openssl/opensslv.h> ^~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [patcher] Error 1 ```
会話に参加するには サインイン してください。
ラベルなし
マイルストーンなし
担当者なし
1 参加者
読み込み中…
キャンセル
保存
まだコンテンツがありません