Compiling For XP With Visual Studio 2019 on Windows10

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Compiling For XP With Visual Studio 2019 on Windows10

Post 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
Last edited by wallyweb on 14 Apr 2019 07:39, edited 2 times in total.
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Re: Compiling With MinGW2 on Windows XP - Drastic Solution

Post 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
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: Compiling With MinGW2 on Windows XP - Drastic Solution

Post by Alberth »

Yep, it helps when you have someone that knows his way around a windows system here :)
Glad you got it working.
Being a retired OpenTTD developer does not mean I know what I am doing.
User avatar
orudge
Administrator
Administrator
Posts: 25134
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Re: Compiling With MinGW2 on Windows XP - Drastic Solution

Post 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.)
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Re: Compiling With MinGW2 on Windows XP - Drastic Solution

Post 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.
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Re: Compiling With MinGW2 on Windows XP - Drastic Solution

Post 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?
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 13 guests