Deady Online

Delivering information to the world. You are always welcomed to join!
 
AcasaPortalCalendarFAQCautareMembriGrupuriInregistrareConectare

Distribuiti | 
 

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

Vezi subiectul anterior Vezi subiectul urmator In jos 
AutorMesaj
Oscuridao
Admin


Mesaje : 330
Data de inscriere : 27/08/2011
Varsta : 22
Localizare : Romania

MesajSubiect: Sdl libraries on microsoft visual studio 2010, 2012, 2013, installation guide   Sam 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
Vezi profilul utilizatorului http://deady.dk-one.com
 
Sdl libraries on microsoft visual studio 2010, 2012, 2013, installation guide
Vezi subiectul anterior Vezi subiectul urmator Sus 
Pagina 1 din 1
 Subiecte similare
-
» Top-ul Jocurilor din anul 2011
» Internet Explorer devine din ce in ce mai popular
» Camtasia Studio - Un program foarte bun de filmat in PC
» Top 10 Jocuri PC 2012

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