-
Notifications
You must be signed in to change notification settings - Fork 159
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
error: expected identifier or '(' #5
Comments
Because the Windows file system does not support symbolic links, you need to replace the files with the same name in the e.g. cp src/kern/task/hev-task.h include/hev-task.h
... |
Much appreciated, but how do i do that with android studio ? or i have to define manually each file location ? |
If you can't start building after replacement, I think you can fork this project and modify it, and then integrate it into your project. :) |
I think im not getting it, Android Studio generates the include folder & i
cannot modify it as i see, probably i'd have to modify the paths &
re-import...
Thanks
…On Sat, Jan 23, 2021, 10:31 hev ***@***.***> wrote:
If you can't start building after replacement, I think you can fork this
project and modify it, and then integrate it into your project. :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJUM7N7PYCLEM7XZTR4Y7DDS3KCPVANCNFSM4WPO7JHQ>
.
|
Off topic sorry, where should i put the config file in the android studio project ?
|
Fixed the paths, no errors thrown , can't get it work though...Don't know where to include the file & how to debug the reason... |
Please verify the establishment of TCP connection via IPv4/IPv6 address first, and then look at DNS. |
Does it have a default configuration ? ( The 1080 port is also closed ) |
What do you need to do? capture packets via VPN? (I see you integrate hev-socks5-server in the project. |
No not capturing packets , it's an app where the android device comes as proxy server for other clients. |
Looks this is easy to do, only hev-socks5-server is dependent. If it runs as a standalone process, it's same as running on Linux. If it run as an Android service, something are missing, such as:
You can refer to: |
Hi, i've linked this library to my project, just adding this to gradle:
externalNativeBuild { ndkBuild { path file('../../../hev-socks5-tunnel-master/jni/Android.mk') } }
Now when building it it throws the below error, could you please help me out with it ?
In file included from C:\Users\User\Downloads\hev-socks5-tunnel-master\jni\src\hev-socks5-session.c:14: C:\Users\User\Downloads\hev-socks5-tunnel-master\jni\third-part\hev-task-system\include\hev-task.h:1:1: error: expected identifier or '('
Any Help would be kindly appreciated,
Thanks
The text was updated successfully, but these errors were encountered: