Skip to content
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

compile #6

Open
iband2011 opened this issue Mar 18, 2024 · 1 comment
Open

compile #6

iband2011 opened this issue Mar 18, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@iband2011
Copy link

Hi:
Once I set up the additional contain directory for Vcore references to libuv, the static library file was successfully generated.
image

However, when compiling VNetWork, if I do not perform the same Settings, an error will be reported, indicating the following:
image
If the additional include directory of libuv is set on VNetWork, the compilation succeeds.
But this leads to a new problem.
Import both VCore.lib and vcore.lib into my newly created project
After vnetwork-lib two library files are compiled, the following error will be reported:
image

I suspect that both libraries contain libuv, or duplicate files.
May I ask how to deal with this situation in order to run normally?
Look forward to your help, thank you!

@Antruly
Copy link
Owner

Antruly commented Apr 17, 2024

Hi:
Once I set up the additional contain directory for Vcore references to libuv, the static library file was successfully generated.
image

However, when compiling VNetWork, if I do not perform the same Settings, an error will be reported, indicating the following:
image
If the additional include directory of libuv is set on VNetWork, the compilation succeeds.
But this leads to a new problem.
Import both VCore.lib and vcore.lib into my newly created project
After vnetwork-lib two library files are compiled, the following error will be reported:
image

I suspect that both libraries contain libuv, or duplicate files.
May I ask how to deal with this situation in order to run normally?
Look forward to your help, thank you!

Thank you for your usage. In fact, both VCore and VNetWork require including the libuv header file, which is uv.h. However, only VCore fully links the source files of libuv, while VNetWork only includes the header file. The VNetWork library depends on the VCore library, so linking the VCore library and including VCore.h is sufficient. Of course, the latest repository has updated the test project, and you can try generating it with CMake.

@Antruly Antruly added the help wanted Extra attention is needed label Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants