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

Відкрити
2 роки тому відкрито akwangl · 0 коментарів
akwangl відкоментовано 2 роки тому

我在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 учасників
Завантажується...
Скасувати
Зберегти
Тут ще немає жодного вмісту.