-
Notifications
You must be signed in to change notification settings - Fork 31
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
Best compiler for Windows 10 #33
Comments
When I originally started this port, Daniel had a lot of success compiling this for windows using visual studio. I believe VS-Code does things quite differently but it should be easy to setup a project solution to make everything work as it uses very standardised tools and libraries such as cmake and SDL2. The only thing you may need to be mindful of is the #define directives that tell DIV what to do or what to include when it is being compiled for windows. If I get a chance I will try to compile for windows myself but as I rarely use windows anymore this could be a while! |
I've spent a little while trying to get this working under msys2 in windows and using visual studio 2017 but not much luck. The best way to compile div for windows at the moment is cross compile from linux, which is not really ideal for most people, that's why we have the build-bot that produces the archives you see on https://div-arena.co.uk/downloads/nightly We may get a better way to do things in future, as I am working on another port which will run everywhere :) |
Hello Mike, The porting of cmake to work with msys2 in windows I have been developing it for a long time, some minor changes should be made so that the compilation in Linux does not break, if you need the cmakelists file I will send it to you. |
I'm not very used to compile C projects in Windows except for those made in Microsoft VS. But importing your source code to VS has proven to have to many issues. So instead of working problems out of a perfectly made code I would like you to recommend me a windows compiler for your code. Thanks in advance for your help.
The text was updated successfully, but these errors were encountered: