Deady Online
Doriți să reacționați la acest mesaj? Creați un cont în câteva clickuri sau conectați-vă pentru a continua.

Deady Online

Delivering information to the world. You are always welcomed to join!
 
AcasaPortalUltimele imaginiCăutareÎnregistrareConectare

 

 Sdl libraries on microsoft visual studio 2010, 2012, 2013, installation guide

In jos 
AutorMesaj
Oscuridao
Admin



Mesaje : 352
Data de inscriere : 27/08/2011
Varsta : 29
Localizare : Romania

Sdl libraries on microsoft visual studio 2010, 2012, 2013, installation guide Empty
MesajSubiect: Sdl libraries on microsoft visual studio 2010, 2012, 2013, installation guide   Sdl libraries on microsoft visual studio 2010, 2012, 2013, installation guide Icon_minitimeSam Mar 19, 2016 6:25 pm

This guide is about how to install the SDL Libraries on Microsoft Visual Studio 2010, 2012, 2013 etc.
Steps:
1. Download SDL from the Internet or from here.
2. Open Microsoft Visual Studio
3. Create a project.
4. Go to the project's proprieties -> VC++ Directories -> Click on Include Directories -> Edit and add there the location of the include folder of SDL.
5. Then add the location of the libraries folder of SDL, in the same way.
6. On the Project's Proprieties, search for Linker, expand the list, go to Input -> Additional Dependencies -> Click on it -> Edit -> Add the libraries: SDL2.lib, SDL2main.lib
7. On the Project's Proprieties, search for Linker, expand the list, go to System -> Search for SubSystems -> Set on Console, click ok.

While programming be sure you use: int argv, char** args, as arguments for the main function:
int main(int argv, char** args)
{
     Write here the code.
}

If after compilation you receive and error while opening the created executable, just copy from SDL/bin the file named SDL2.dll into your created executable directory.

Also you can try:
SDL Libraries for Mingw DevCpp
SDL Libraries for Codeblocks
Sus In jos
https://deady.forumgratuit.ro
 
Sdl libraries on microsoft visual studio 2010, 2012, 2013, installation guide
Sus 
Pagina 1 din 1

Permisiunile acestui forum:Nu puteti raspunde la subiectele acestui forum
Deady Online :: Others :: Altele!-
Mergi direct la: