Visual C++ Express Edition

Hello

I am trying to install yhe SDL on Visual C++ Express Edition 2005 but I
always get, when rebuild my .cpp :

This works fine on Dev-CPP

------ Rebuild All started: Project: Teste_SDL, Configuration: Debug Win32------
Deleting intermediate and output files for project ‘Teste_SDL’,
configuration 'Debug|Win32’
Compiling…
Teste.cpp
Compiling manifest to resources…
Linking…
Teste.obj : error LNK2019: unresolved external symbol _SDL_PollEvent
referenced in function _SDL_main
Teste.obj : error LNK2019: unresolved external symbol _SDL_WM_SetCaption
referenced in function _SDL_main
Teste.obj : error LNK2019: unresolved external symbol _SDL_SetVideoMode
referenced in function _SDL_main
Teste.obj : error LNK2019: unresolved external symbol _SDL_Quit referenced
in function _SDL_main
Teste.obj : error LNK2019: unresolved external symbol _SDL_GetError
referenced in function _SDL_main
Teste.obj : error LNK2019: unresolved external symbol _SDL_Init referenced
in function _SDL_main
MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main
referenced in function ___tmainCRTStartup
C:\Documents and Settings\Administrador\Meus documentos\Visual Studio
2005\Projects\Teste_SDL\Debug\Teste_SDL.exe : fatal error LNK1120: 7
unresolved externals
Build log was saved at "file://c:\Documents and
Settings\Administrador\Meus documentos\Visual Studio
2005\Projects\Teste_SDL\Teste_SDL\Debug\BuildLog.htm"
Teste_SDL - 8 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Please, can sombody help before I get crazy ?

Thanks a lot

Gustavo

Hello pessin,

Friday, May 12, 2006, 5:26:37 AM, you wrote:

pbcb> Hello

pbcb> I am trying to install yhe SDL on Visual C++ Express Edition 2005 but I
pbcb> always get, when rebuild my .cpp :

pbcb> This works fine on Dev-CPP

You haven’t told the link settings to link with SDL.lib or SDLmain.lib–
Best regards,
Peter mailto:@Peter_Mulholland