1,502
edits
(→Ready to compile ScummVM: Removed the instructions for ym2612.cpp. It's fixed now) |
(Added instructions on how to enable the console) |
||
Line 163: | Line 163: | ||
Finally, if you need to compile ScummVM with FLAC support, go to Configuration Properties->C/C++->Preprocessor and add "USE_FLAC" in the Preprocessor Definitions field. Also, go to linker->input and add "libflac_static.lib" in the Additional Dependencies field. | Finally, if you need to compile ScummVM with FLAC support, go to Configuration Properties->C/C++->Preprocessor and add "USE_FLAC" in the Preprocessor Definitions field. Also, go to linker->input and add "libflac_static.lib" in the Additional Dependencies field. | ||
== Enabling the console == | |||
Since information on doing this is not that easy to find, here's how to enable the console in the resulting ScummVM executable. | |||
The default project subsystem is "Windows" instead of "Console", which means that the console will not be shown. | |||
To show the console, right-click on the "scummvm" project and go to Properties. There, go to Configuration Properties->Linker->System and change the "Subsystem" property from "Windows (/SUBSYSTEM:WINDOWS)" to "'''Console (/SUBSYSTEM:CONSOLE)'''". Then, go to Linker->Advanced and set the entry point to be "'''WinMainCRTStartup'''" (special thanks to [[User:Jubanka|Jubanka/knakos]] for his tip on entrypoint). | |||
edits