![]() ![]() (Note that you should have the Platform SDK installed, which you probably do if you're developing with VC++ you should have the include directories set up, because that's where the header is.) Save and close. Now, this header file is deprecated, so change it to the more recent winresrc.h. The top line should read #include "afxres.h". Minimize it (you should still have sauerbraten\src\vcpp open) and open sauerbraten.rc in Notepad or your preferred text editor. Now, you should have the solution open in front of you. To start, navigate to sauerbraten\src\vcpp, double-click on sauerbraten.sln, and click through the process of converting the solution to the latest format. This method is slightly more painful than compiling with Code::Blocks and MinGW, but if you are more familiar with the VC++ line of IDEs, then it can be worth it. You should probably obtain the latest version from the Sourceforge download page and install it (to the default location, unless you want to mess with Code::Blocks compiler settings).Īn alternative method for compiling under Windows is by using Microsoft's Visual C++ 2008 Express Edition. The version of MinGW that ships with Code::Blocks was known to be buggy, especially when compiling Sauerbraten. bat launcher to use this executable instead, and enjoy. Once it has finished compiling, you will find the EXE in "sauerbraten/bin" under the name "sauerbraten-mingw.exe". Once the project has loaded, go to Build > Build, and wait patiently for sauerbraten to compile. Navigate to "sauerbraten/src/mingw" and select "sauerbraten.cbp". After installation has completed, load up Code::Blocks, go to File > Open. To compile Sauerbraten under Windows, download Code::Blocks and install it. ![]() Note: the following method does not work with the more recent versions, use tdm gcc 64 bit. After it is done (you will see blue text saying 0 errors and such) you can run sauerbraten.bat In the menu bar click Build, -> Build, and it will compile to your sauerbraten folder. Then, install Code::Blocks (first windows download link, no need for the packaged mingGW)īoot up Code Blocks, click "Open An Existing Project", navigate to sauerbraten/src/vcpp/ and select sauerbraten.cbp First, install TDM-GCC 64bit version: TDM-GCC (the second link on that page) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |