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

Windows build with Msys2/MinGW64 #330

Open
vryy opened this issue Dec 2, 2024 · 1 comment
Open

Windows build with Msys2/MinGW64 #330

vryy opened this issue Dec 2, 2024 · 1 comment

Comments

@vryy
Copy link

vryy commented Dec 2, 2024

It seems that the instruction to compile on Windows (see #26) is outdated. I looked at INSTALL_WINDOWS and saw the line numbers are not correct anymore. Also, in sc.h and p4est_algorithms.c there is code like defined _WIN32. So is the native build with Visual Studio supported or still experimental?

@sloede
Copy link
Contributor

sloede commented Dec 3, 2024

I don't know about native builds using VS, but note that we still build p4est regularly using MinGW as part of Julia's BinaryBuilder stack (such that p4est is available as a library in Julia without user compilation).

This is essentially the build script being used, maybe it can be of use for you to get started:
https://github.com/JuliaPackaging/Yggdrasil/blob/494a78263c891933191a3c6308420036a243357d/P/P4est/build_tarballs.jl#L19-L65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants