# Visual C++ Express Edition

**URL:** <https://discourse.libsdl.org/t/visual-c-express-edition/13349>\
**Category:** SDL Development\
**Created:** [May 12, 2006, 4:26am UTC](https://discourse.libsdl.org/t/visual-c-express-edition/13349 "2006-05-12T04:26:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pessin\_at\_bigfer.com](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/p/5daacb/32.png) [@pessin\_at\_bigfer.com](https://discourse.libsdl.org/u/pessin_at_bigfer.com)\
**Post date:** [May 12, 2006, 4:26am UTC](https://discourse.libsdl.org/t/visual-c-express-edition/13349/1 "2006-05-12T04:26:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Peter\_Mulholland](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/p/74df32/32.png) [@Peter\_Mulholland](https://discourse.libsdl.org/u/Peter_Mulholland)\
**Post date:** [May 12, 2006, 11:41am UTC](https://discourse.libsdl.org/t/visual-c-express-edition/13349/2 "2006-05-12T11:41:40Z")

</div>

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
