Revision 152 compiling error
Moderator: OpenTTD Developers
Revision 152 compiling error
I can't compile the newest revision (152) with MS Visual C++. The problem is in win32.c:
S:\SYSTEM\OPENTTD\trunk\win32.c(110) : error C2065: 'VK_OEM_3' : undeclared identifier
S:\SYSTEM\OPENTTD\trunk\win32.c(110) : error C2099: initializer is not a constant
-- I have no problems with compiling r151 and older revisions --
S:\SYSTEM\OPENTTD\trunk\win32.c(110) : error C2065: 'VK_OEM_3' : undeclared identifier
S:\SYSTEM\OPENTTD\trunk\win32.c(110) : error C2099: initializer is not a constant
-- I have no problems with compiling r151 and older revisions --
It should be in your winuser.h -- USER procedure declarations, constant definitions and macros file. Really weird, since you ARE using Visual studio. Please look if you have that file or not.
VK_OEM_3 is 0xC0 btw.
VK_OEM_3 is 0xC0 btw.
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
Hi since a few day they are no update on http://openttd.rulez.org/download/nightlybuilds/.
The laste nighty build is the revision 145 and the latest source is the revision 146.
I thinked this is a problem with svn because I cannot download anymore.
Is the a problème with me? Where can I find the revision 152? (I hope we speak about the same thing
Thank you
Sorry for my English
The laste nighty build is the revision 145 and the latest source is the revision 146.
I thinked this is a problem with svn because I cannot download anymore.
Is the a problème with me? Where can I find the revision 152? (I hope we speak about the same thing

Thank you
Sorry for my English
Darkvater: I've XP and MSVC 6.0
Anyway, it's working from r154
Torrasque: The SVN server had changed to svn://svn.openttd.com/trunk
See the topic: http://www.tt-forums.net/viewtopic.php?t=9736
Anyway, it's working from r154
Torrasque: The SVN server had changed to svn://svn.openttd.com/trunk
See the topic: http://www.tt-forums.net/viewtopic.php?t=9736
WTF? You are right..Hmm, something's fishy. I'll look at the win-nightly-builder the next time I get to that PC, which will be on Tuesday.Torrasque wrote:Hi since a few day they are no update on http://openttd.rulez.org/download/nightlybuilds/.
The laste nighty build is the revision 145 and the latest source is the revision 146.
Really strange. Winuser.h you should have!bociusz wrote:Darkvater: I've XP and MSVC 6.0
Anyway, it's working from r154
Just look here: http://www.winnetmag.com/Article/Articl ... 22277.html
You should go and find it on your system or install it, because this means your Windows SDK is incomplete!Winuser.h is part of the Microsoft Visual C++ (VC++) development environment. The tool defines several elements that developers use when they write programs to run on Windows platforms. The file is added, or included, in the project the developer is writing and therefore gives the developer access to the data in the file (similar to an include—.inc—file in an Active Server Pages—ASP—application). The VC++ development platform installs 0several such files. If you have access to a machine with the VC++ development program installed, you can open any of these files in Microsoft Notepad or in the development environment and view the contents.
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
Great, I've fixed something that was not even my mistakebociusz wrote:I've find it in the MinGW and MSVC/inculde directory. Probably something is bad in my options.

TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
Who is online
Users browsing this forum: Semrush [Bot] and 11 guests