Page 2 of 2

Compiling For XP With Visual Studio 2019 on Windows10

Posted: 13 Apr 2019 12:40
by wallyweb
michael blunck wrote:It's called "change for change's sake". :twisted:
aka Microsoft. :twisted:

Thanks Alberth. Orudge's solution saved the solution. 8)

Thanks orudge. :bow:

Now to see if OpenTTD20190411-master-g5bd2b15e86 is to be equally appreciated by WindowsXP. :D

Regards,

Wally

Re: Compiling With MinGW2 on Windows XP - Drastic Solution

Posted: 13 Apr 2019 13:53
by wallyweb
Thank you one and all who replied to this topic.

SUCCESS

WindowsXP appreciates our efforts. :D

Now all I need is for Visual Studio to do make bundle. Time to rtfm. :mrgreen:

Regards,

Wally

Re: Compiling With MinGW2 on Windows XP - Drastic Solution

Posted: 13 Apr 2019 20:03
by Alberth
Yep, it helps when you have someone that knows his way around a windows system here :)
Glad you got it working.

Re: Compiling With MinGW2 on Windows XP - Drastic Solution

Posted: 13 Apr 2019 20:22
by orudge
wallyweb wrote:Now all I need is for Visual Studio to do make bundle. Time to rtfm. :mrgreen:
Once the CMake pull request is merged in you should be able to run a command or two which will allow you to build the code plus package it up (including a proper installer if you wish). When that happens the existing MSVC project files will be removed, so you may find yourself needing to come back to this topic if you can’t get it working yourself! (The wiki will be due an update at that point anyway, maybe I’ll be able to do that.)

Re: Compiling With MinGW2 on Windows XP - Drastic Solution

Posted: 14 Apr 2019 08:27
by wallyweb
orudge wrote:Once the CMake pull request is merged in you should be able to run a command or two which will allow you to build the code plus package it up (including a proper installer if you wish). When that happens ...
Is the merge for me to do or is this done in the OpenTTD shops?
the existing MSVC project files will be removed, so you may find yourself needing to come back to this topic if you can’t get it working yourself! (The wiki will be due an update at that point anyway, maybe I’ll be able to do that.)
Definitely there will be at least one solution and several projects.
Patch/diff builds will be involved.

NOTE TO READERS: Package (aka bundle)/installer contains documentation (license, readme, changelog) that must be included with any distribution beyond your own environment.

Absent a proper package:
After compilation, the OpenTTD executable is found in the bin folder of the end product.
YOU CANNOT SIMPLY COPY THE EXECUTABLE (.exe) FROM WINDOWS10 TO YOUR XP BOX.
The entire bin folder must be copied (not moved).
Besides the executable, the bin folder contains sub-folders and files that the executable requires in order to run properly without your XP box belching and posting deprecating messages across your monitor.
After the copy is done and safely lodged in your XP box, be sure to change the copy's name from bin to something more descriptive of your endeavours.

Re: Compiling With MinGW2 on Windows XP - Drastic Solution

Posted: 14 May 2019 12:07
by wallyweb
wallyweb wrote:Patch/diff builds will be involved.
Apparently VS can create a diff. Then it mentions something about a merge. Would that be what we refer to as patching?