[re-unsolved] Mingw compiling problems

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

Terkhen
OpenTTD Developer
OpenTTD Developer
Posts: 1034
Joined: 11 Sep 2008 07:32
Location: Spain

Re: [re-unsolved] Mingw compiling problems

Post by Terkhen »

hgnmu128 wrote:I had already taken the privilege of updating the link to pkg-config, but it seems it wasn't needed after all. And why did you remove the 'don't panic' part?
pkg-config is still required. Removing it was an overlook in my part, thanks for noticing that :)

I removed the 'don't panic' part because it is quite difficult to find compilation errors for a user that compiles only occasionally. This kind of errors in trunk are usually discovered in a few hours. So if a user gets a compilation error, it is probably a patch what is causing it. All of the places that explain how to apply a patch should recommend to compile unpatched OpenTTD first.

And thank you for the pkg-config update :)
hgnmu128
Engineer
Engineer
Posts: 29
Joined: 31 May 2011 02:22

Re: [re-unsolved] Mingw compiling problems

Post by hgnmu128 »

Terkhen wrote:
hgnmu128 wrote:I had already taken the privilege of updating the link to pkg-config, but it seems it wasn't needed after all. And why did you remove the 'don't panic' part?
pkg-config is still required. Removing it was an overlook in my part, thanks for noticing that :)

I removed the 'don't panic' part because it is quite difficult to find compilation errors for a user that compiles only occasionally. This kind of errors in trunk are usually discovered in a few hours. So if a user gets a compilation error, it is probably a patch what is causing it. All of the places that explain how to apply a patch should recommend to compile unpatched OpenTTD first.

And thank you for the pkg-config update :)
You're welcome, but you shouldn't have mentioned it. I did hardly anything, just appended ".zip" to the pkg-config link and changed it to a newer version.

About the 'don't panic' part: I think although it is patches or trunk versions that are causing a compilation error, that part should just have been refined a little to guide the user to use the stable version and not apply any patches and so on... Never mind.
Terkhen
OpenTTD Developer
OpenTTD Developer
Posts: 1034
Joined: 11 Sep 2008 07:32
Location: Spain

Re: [re-unsolved] Mingw compiling problems

Post by Terkhen »

No, I meant trunk. Usually compilation errors will be discovered when someone else tries to compile just after a commit, and in those case the error is quickly reported through IRC or Flyspray and fixed. In the worst case, compilation errors will be discovered when the compile farm makes its daily run. Given that margin of detection and their scarcity, making the user think that compilation errors are probably a fault of the source and not caused by patches is misleading IMO.

The version to compile is not mentioned in the tutorial; the user is just given a link to the "How I obtain the source". It might make sense to add a link to http://wiki.openttd.org/FAQ_OpenTTD_versions so they can understand the differences but I don't think that we should advocate which version should be compiled on the tutorial.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 5 guests