Skip to content
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

OpenTTD fails to compile with MS Visual C++ 2008 #1826

Closed
DorpsGek opened this issue Mar 4, 2008 · 2 comments
Closed

OpenTTD fails to compile with MS Visual C++ 2008 #1826

DorpsGek opened this issue Mar 4, 2008 · 2 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Mar 4, 2008

Tekky opened the ticket and wrote:

In the latest revision (r12337), I get the following error message when trying to compile OpenTTD when using Visual C++ 2008 Express Edition:

2>..srcottdres.rc(16) : fatal error RC1015: cannot open include file 'afxres.h'.

It seems that there is no file "afxres.h" included in Visual C++ 2008 Express Edition, in contrast to previous versions of Visual C++.

I was able to resolve this issue by changing ottdres.rc line 16 from
# include "afxres.h"
to
# define IDC_STATIC -1

At least under Visual C++ 2008, IDC_STATIC is the only required definition required from afxres.h.

I have set the severity of this task to "high" because, as far as I can tell, all MS Visual C++ 2008 users are currently unable to compile OpenTTD without this modification.

Reported version: trunk
Operating system: Windows


This issue was imported from FlySpray: https://bugs.openttd.org/task/1826
@DorpsGek
Copy link
Member Author

DorpsGek commented Mar 4, 2008

Belugas wrote:

I've set it very low since it does not affect game play, but only user side compiler


This comment was imported from FlySpray: https://bugs.openttd.org/task/1826#comment3602

@DorpsGek
Copy link
Member Author

DorpsGek commented Mar 7, 2008

Belugas closed the ticket.

Reason for closing: Fixed

in r12349


This comment was imported from FlySpray: https://bugs.openttd.org/task/1826

@DorpsGek DorpsGek closed this as completed Mar 7, 2008
@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant