You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i compile it with g++ main.cpp
and on the vulkan.elf i have everything in extern "C"{}
all plhook stuff is in the same directory as main.cpp
how do i solve this?
compiler error =
main.cpp: In function ‘ssize_t recv()’:
main.cpp:12:14: error: ‘main’ was not declared in this scope
12 | ssize_t rv = main();
| ^~~~
The text was updated successfully, but these errors were encountered:
The error itself is solved if int main(void); is added before ssize_t recv(){.
But even though it is solved, your code is useless. It calls main() and recv() alternately until the process crashes.
i compile it with
g++ main.cpp
and on the
vulkan.elf
i have everything inextern "C"{}
all plhook stuff is in the same directory as
main.cpp
how do i solve this?
compiler error =
The text was updated successfully, but these errors were encountered: