Moderator: OpenTTD Developers
The updated guide is currently found in my user space: http://wiki.openttd.org/User:Roujin/Mic ... 2B%2B_2010
I'll move it to its proper place later on when I've gotten some feedback and maybe added some screenshots.
If anyone here also uses MSVC2010 I'd appreciate some feedback here or in that page's discussion, if anything is unclear or just wrong.
Also I've got the Ultimate Edition of VS2010 here (Thanks MSDNAA so if anyone has got the Express Edition handy, a confirmation that the instructions I'm giving also fit for that edition would be nice.
I've also stated in the guide that you do not need the old '07 or so DirectX SDK anymore in order to get music, could somebody confirm that as well? I mean, I did a compile without the library installed and with the WIN32_ENABLE_DIRECTMUSIC definition removed and it did play music ingame, but who knows.. just want to make sure
To set these folders permanently, you need to open a project (any project will do) and select the property manager label in the lowermost part of the solution explorer. Once that you are there, you need to edit the VC++ Directories in Microsoft.Cpp.Win32.user and Microsoft.Cpp.x64.user. Once you do this you will not need to set them up again.
My MSVC 2010 is on spanish, so I don't know if these are the right names. Check the screenshot to see where they are placed:
EDIT: I also have a commercial edition of MSVC (thanks to Dreamspark) so I cannot help you with the express edition question.
Switch the left pane from "project explorer" to "property manager" (tabs on the bottom). Expand openttd then Debug | Win32 and Debug | x64. Right-click on Microsoft.Cpp.[Win32|x64].user -> properties and then the add the directories like in the wiki description. This way the directories are valid for all project files and not just this specific project file.
And OpenTTD always had the Win32 music driver additionally to the DirectMusic one, but the DirectMusic one usually works better.
EDIT: Damn, too slow
-- Michael Lutz
Though, I think this comment is not really specific towards the 2010 guide as I suppose also the older guides recommend setting up OpenTTD useful per OpenTTD project.
Edit: Note, I'm a 2008 user, so if the global lib/include options have been moved form the "MSVC Options" dialog to somewhere else, don't read "MSVC options" above too strict.
Users browsing this forum: No registered users and 19 guests