Hi, im making an rpg in Opengl, and i needed som code, so that i culd use png files, with transparency.
So i downloaded and included libpng and zlib, but when i compile my code, it says ( and my code worked before i included those lib's):

Code:
------ Build started: Project: Rpg, Configuration: Debug Win32 ------
Linking...
SDLmain.lib(SDL_win32_main.obj) : error LNK2005: _main already defined in main.obj
MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
SDLmain.lib(SDL_win32_main.obj) : error LNK2019: unresolved external symbol _SDL_main referenced in function _main
Debug\Rpg.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\Documents and Settings\Skrivbord\RPG\Debug\BuildLog.htm"
Rpg - 3 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
So those are the Errors in my game, please help me out here.

//Ty in advance