joncampbell123 / dosbox-svn

DOSBox SVN (clone of SVN repo to help coordinate any patches between DOSBox and DOSBox-X)
GNU General Public License v2.0
3 stars 0 forks source link

Question: Which Windows build environment to use? #2

Open emendelson opened 5 years ago

emendelson commented 5 years ago

Which build environment do you use with this code in Windows? VS2017 clearly doesn't work, and I guess I'll need to use the command line. Is MinGW the way to go?

joncampbell123 commented 5 years ago

Currently I develop this on Linux and Mac OS X from the command line.

The VS2017 project files were copied hastily from DOSBox-X to make DOSBox SVN compile on more modern systems on Linux and OS X. Windows is not a concern yet.

emendelson commented 5 years ago

This very rough-and-ready patch makes it possible to build dosbox-svn under VS2017, but with at least two issues:

  1. SDL_net causes an error that I can't figure out how to fix, so I disabled modem and IPX in config.h.
  2. Alt-Enter doesn't toggle to full screen (it simply removes the window border and cuts off some of the window).

https://github.com/emendelson/dosbox-svn/commit/468521289b53ca9c65fa2de4777b3475c1fa8627

Maybe someone who knows more than I do can fix the rest!

joncampbell123 commented 5 years ago

The latest commit updates the VS2015 solution to compile SVN correctly (as far as I know). Have fun.

emendelson commented 5 years ago

Thank you. I know this isn't a priority for you, but the VS2017 build doesn't toggle to full-screen. Alt-Enter leaves a small DOSBox window on screen, with no border, but it doesn't scale to full-screen. This really isn't worth the effort, but if there's ever an easy fix, it would be good to have!