# Still can't get SDL to work

**URL:** <https://discourse.libsdl.org/t/still-cant-get-sdl-to-work/2830>\
**Category:** SDL Development\
**Created:** [July 17, 2000, 5:18pm UTC](https://discourse.libsdl.org/t/still-cant-get-sdl-to-work/2830 "2000-07-17T17:18:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dwight](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/d/85e7bf/32.png) [@Dwight](https://discourse.libsdl.org/u/Dwight)\
**Post date:** [July 17, 2000, 5:18pm UTC](https://discourse.libsdl.org/t/still-cant-get-sdl-to-work/2830/1 "2000-07-17T17:18:07Z")

</div>

> So could someone please help me out here - When SDL tries to link up, it  
> says some junk about WinMain at 16.

Are you linking with SDLmain.lib?  
Try adding the file src/main/win32/SDL\_main.c to your application project.

See ya!  
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

I don’t understand how that would work - I tried including that file  
SDL\_main.c, but it still didn’t work - I’m using a very simple IDE called  
JFE which doesn’t allow you to make projects - just work spaces, so I need  
to know how I would include that file with the compiler options.

- Thanx\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
FREE Personalized Email at [Mail.com](http://Mail.com)  
Sign up at [Free email accounts with mail.com | Log in here or register today](http://www.mail.com/?sr=signup)
