mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 18:24:58 +00:00
Fix build error
This commit is contained in:
1 parent
deb73c5669
commit
3ea4cad55d
4 files changed
+4
-2
No files matched your search
@@ -44,7 +44,7 @@ export PKG_CONFIG_PATH=/usr/lib64/pkgconfig
|
|||||||
cmake -DCMAKE_BUILD_TYPE=Release .
|
cmake -DCMAKE_BUILD_TYPE=Release .
|
||||||
make -j2
|
make -j2
|
||||||
rm subconverter
|
rm subconverter
|
||||||
g++ -o base/subconverter $(find CMakeFiles/subconverter.dir/src/ -name "*.o") -static -lpcre2-8 -levent -lyaml-cpp -L/usr/lib64 -lcurl -lmbedtls -lmbedcrypto -lmbedx509 -lz -lquickjs -llibcron -O3 -s
|
g++ -o base/subconverter $(find CMakeFiles/subconverter.dir/src/ -name "*.o") -static -lpcre2-8 -levent -lyaml-cpp -L/usr/lib64 -lcurl -lmbedtls -lmbedcrypto -lmbedx509 -lz -l:quickjs/libquickjs.a -llibcron -O3 -s
|
||||||
|
|
||||||
cd base
|
cd base
|
||||||
chmod +rx subconverter
|
chmod +rx subconverter
|
||||||
|
|||||||
@@ -48,5 +48,5 @@ rm -f C:/Strawberry/perl/bin/pkg-config C:/Strawberry/perl/bin/pkg-config.bat
|
|||||||
cmake -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" .
|
cmake -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" .
|
||||||
make -j4
|
make -j4
|
||||||
rm subconverter.exe
|
rm subconverter.exe
|
||||||
g++ $(find CMakeFiles/subconverter.dir/src -name "*.obj") curl/lib/libcurl.a -o base/subconverter.exe -static -lbcrypt -levent -lpcre2-8 -lquickjs -llibcron -lyaml-cpp -liphlpapi -lcrypt32 -lws2_32 -lwsock32 -lz -s
|
g++ $(find CMakeFiles/subconverter.dir/src -name "*.obj") curl/lib/libcurl.a -o base/subconverter.exe -static -lbcrypt -levent -lpcre2-8 -l:quickjs/libquickjs.a -llibcron -lyaml-cpp -liphlpapi -lcrypt32 -lws2_32 -lwsock32 -lz -s
|
||||||
mv base subconverter
|
mv base subconverter
|
||||||
@@ -4,6 +4,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include "../utils/string.h"
|
#include "../utils/string.h"
|
||||||
#include "../utils/tribool.h"
|
#include "../utils/tribool.h"
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
#define STRING_HASH_H_INCLUDED
|
#define STRING_HASH_H_INCLUDED
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
using hash_t = uint64_t;
|
using hash_t = uint64_t;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user