mediagroupdaa.blogg.se

Sdl.zip bochs download
Sdl.zip bochs download










sdl.zip bochs download sdl.zip bochs download

We will now make a very simple C program that initializes SDL, and then terminates. Now go into the SDL2/bin folder and copy the SDL2.dll file to where your main.c file is located (or main.cpp if you are writing in C++). exe file.įor the sake of this tutorial, we will rename this folder SDL2 and copy it into our project folder C:\Tutorial (which only has an empty main.c file). This folder contains the include- and library files needed for compiling, as well as the SDL2.dll file that we need to distribute along with the final compiled. Note that this is still the 64-bit version of the library. (this tutorial uses SDL2-devel-2.0.)Īfter extracting the contents using for example 7-Zip, copy the folder "x86_64-w64-mingw32", to where you want to store the library. Go to the SDL2 download page and download the latest development library for Windows using MinGW. Now we can make sure everything works correctly by opening cmd and typing in the gcc command. Open the start menu and search for "Edit the system environment variables" ->Ĭlick "Environment Variables" -> select "Path" under System variables and click "Edit" -> add mingw64\bin Step 1: Installing mingw-w64ĭownload mingw-w64, and during the install, make sure to install the 64-bit compiler x86_64, as shown below.Īfter the installer is done we need to add the mingw directory to PATH. Our example will be written in C using a 64-bit compiler but this works exactly the sameįor C++ and one could easily use a 32-bit compiler instead. This tutorial will go through the process of setting up the












Sdl.zip bochs download