![]() ![]() ![]() Proceed to change the dropbox selection to "Library Files" and add \lib. If you installed to c:\SDL\ add c:\SDL\include). Do this by selecting Tools|Options|Projects|VC++ Directories and under the "Show Directories For:" dropbox select "Include Files", and click the "New Directory Icon" and add the \include directory (e.g. VC7 Specific: Instead of doing this, I find it easier to add the include and library directories to the list that VC7 keeps. Set the C runtime to Multi-threaded DLL in the menu: Project|Settings|C/C++ tab|Code Generation|Runtime Library.Īdd the SDL include directory to your list of includes in the menu: Project|Settings|C/C++ tab|Preprocessor|Additional include directories Note for the 圆4 versions, just replace Win32 in the path with 圆4 Creating a Project with SDL You may get a few warnings, but you should not get any errors. lib files by right clicking on each project in turn (Projects are listed in the Workspace panel in the FileView tab), and selecting Build. If you choose NOT to upgrade to use the latest Windows SDK Version or Platform Toolset, then you'll need the Visual Studio 2010 Platform Toolset. In the Retarget Projects dialog, all of the affected project files should be checked allowing you to use the latest Windows SDK Version you have installed, along with the Platform Toolset. Your IDE will likely prompt you to upgrade this solution file to whatever later version of the IDE you're using. Editor's note: I've been able to successfully build SDL using Visual Studio 2019 without the DX9.0c SDK It may or may not be retrievable from the Microsoft website, so you might need to locate it online. To build SDL, your machine must, at a minimum, have the DirectX9.0c SDK installed. You can either use the precompiled libraries from the SDL web site, or you can build SDL yourself. SDL Wiki Using SDL with Microsoft Visual C++ by Lion Kimbro with additions by James Turk ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |