-
Notifications
You must be signed in to change notification settings - Fork 36
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
Libsc failes to compile with CMake on MinGW #206
Comments
Thanks. I wouldn't mind adding a SC_WIN32 variable (with the prefix). @scivision: would that conflict with our windows builds that you usually execute? |
I think I stumbled about a similar problem last week. The
I got a similar warning when trying to include the sc library in a cmake build, but with one of the other variables. When i replaced the I am not sure why the generator expression does not work here, but would replacing it by seperate target_link_libraries calls wrapped in corresponding |
Thank you all for your input! I consider this issue resolved. |
Description
Compilation failes with CMake on MinGW platform. This problem is associated with creating
a t8code JLL package. See this pull request: JuliaPackaging/Yggdrasil#9718
The error output comes at llinking libsc with:
cannot find $<1:wsock32
andcannot find -lIphlpapi
.Especially, the first error output suggest that the generator expression is somehow wrong.
The used CMake version is
v3.21
.The following patch solved the issue:
T/t8code/bundled/patches/libsc.patch
But it is not clear to me if this is a proper solution.
To Reproduce
For reproduction, I suggest to try to create a t8code JLL package via Yggdrasil without the application of the patches.
Additional information
I used Julia 1.11. But this shouldn't have any effect.
The text was updated successfully, but these errors were encountered: