schwabe / ics-openvpn

OpenVPN for Android
3.25k stars 1.18k forks source link

epkibase.hpp(1) : Error: Illegal token '�'. #1691

Closed hfc123 closed 4 months ago

hfc123 commented 4 months ago

i can't build success ,pls help me ! com.android.ide.common.process.ProcessException: ninja: Entering directory `F:\githubProject\ics-openvpn\main.cxx\Debug\5gl6d3c1\arm64-v8a' [1/1133] Building C object CMakeFiles/crypto.dir/openssl/providers/implementations/ciphers/cipher_aria_hw.c.o [2/1133] Building C object CMakeFiles/crypto.dir/openssl/providers/implementations/ciphers/cipher_null.c.o [3/1133] Building C object CMakeFiles/crypto.dir/openssl/providers/implementations/ciphers/cipher_aes_hw.c.o [4/1133] Building C object CMakeFiles/crypto.dir/openssl/providers/implementations/ciphers/cipher_aes_gcm.c.o [5/1133] Building C object CMakeFiles/crypto.dir/openssl/providers/implementations/ciphers/cipher_aes_siv.c.o [6/1133] Building C object CMakeFiles/crypto.dir/openssl/providers/implementations/ciphers/cipher_desx_hw.c.o [7/1133] Building C object CMakeFiles/crypto.dir/openssl/providers/implementations/ciphers/ciphercommon_ccm_hw.c.o [8/1133] Building C object CMakeFiles/crypto.dir/openssl/providers/implementations/ciphers/cipher_tdes_common.c.o [9/1133] Building C object CMakeFiles/crypto.dir/openssl/providers/implementations/ciphers/cipher_aes_ccm.c.o [10/1133] Building C object CMakeFiles/crypto.dir/openssl/providers/implementations/ciphers/cipher_aes_xts.c.o [11/1133] Building C object CMakeFiles/crypto.dir/openssl/providers/implementations/ciphers/cipher_aes_ocb_hw.c.o [12/1133] Building C object CMakeFiles/crypto.dir/openssl/providers/implementations/ciphers/cipher_chacha20_poly1305_hw.c.o

hfc123 commented 4 months ago

FAILED: ovpncli_wrap.cxx F:/githubProject/ics-openvpn/main/.cxx/Debug/5gl6d3c1/arm64-v8a/ovpncli_wrap.cxx cmd.exe /C "cd /D F:\githubProject\ics-openvpn\main.cxx\Debug\5gl6d3c1\arm64-v8a && D:\Sdk\cmake\3.22.1\bin\cmake.exe -E make_directory ovpn3 && C:\Users\Administrator\Downloads\swigwin-4.2.1\swigwin-4.2.1\swig.exe -outdir ovpn3 -c++ -java -package net.openvpn.ovpn3 -outcurrentdir -DOPENVPN_PLATFORM_ANDROID -IF:/githubProject/ics-openvpn/main/src/main/cpp/openvpn3/client -IF:/githubProject/ics-openvpn/main/src/main/cpp/openvpn3 F:/githubProject/ics-openvpn/main/src/main/cpp/openvpn3/client/ovpncli.i" F:\githubProject\ics-openvpn\main\src\main\cpp\openvpn3\openvpn\pki\epkibase.hpp(1) : Error: Illegal token ''. F:\githubProject\ics-openvpn\main\src\main\cpp\openvpn3\openvpn\pki\epkibase.hpp(1) : Error: Syntax error in input(1). [1119/1133] Building C object CMakeFiles/openvpn.dir/openvpn/src/openvpn/xkey_provider.c.o [1120/1133] Building C object CMakeFiles/openvpn.dir/openvpn/src/openvpn/compstub.c.o [1121/1133] Building C object CMakeFiles/openvpn.dir/openvpn/src/openvpn/tls_crypt.c.o [1122/1133] Building CXX object CMakeFiles/osslutil.dir/ovpnutil/osslutil.cpp.o ninja: build stopped: subcommand failed.

schwabe commented 4 months ago

That sounds like you have a corrupted source repository. \epkibase.hpp does not contain illegal chars for me.

hfc123 commented 4 months ago

thank you,it helps me find probrom ,The file is ok,but The file is encrypted, and the company's computer will encrypt the file,so it shows Illegal token