-
Notifications
You must be signed in to change notification settings - Fork 119
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
Comments
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: |
Thanks to both of you, the INSTALL_WINDOWS file is indeed horribly outdated. If, maybe, the two of you might come up with a new version of that file according to your present experience, that would be highly appreciated! |
@cburstedde I could manage to compile with MinGW but got lots of strange errors down the line when linking to my project, so I end up compiled natively using VStudio. That works flawlessly. I could upload the details in the future since I was now in travel. |
Thanks! It would be nice if we could come up with working guidelines for MinGW. Nonetheless, good documentation for VStudio (and removing anything that does not work from the docs) would be highly appreciated! |
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, insc.h
andp4est_algorithms.c
there is code likedefined _WIN32
. So is the native build with Visual Studio supported or still experimental?The text was updated successfully, but these errors were encountered: