# Help with SDL\_mixer

**URL:** <https://discourse.libsdl.org/t/help-with-sdl-mixer/11505>\
**Category:** SDL Development\
**Created:** [November 16, 2004, 10:06am UTC](https://discourse.libsdl.org/t/help-with-sdl-mixer/11505 "2004-11-16T10:06:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![elhja](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/e/8e7dd6/32.png) [@elhja](https://discourse.libsdl.org/u/elhja)\
**Post date:** [November 16, 2004, 10:06am UTC](https://discourse.libsdl.org/t/help-with-sdl-mixer/11505/1 "2004-11-16T10:06:31Z")

</div>

Hello,  
I’m trying to compile&link a tutorial SDL\_mixer source, but I got the  
following error:----  
Compiler: Default compiler  
Building Makefile: “F:\temp\cccc\Makefile.win"  
Executing make…  
make.exe -f “F:\temp\cccc\Makefile.win” all  
g++.exe main.o -o “Project3.exe” -L"C:/wxdev-cpp/lib” -mwindows -lmingw32  
-lSDLmain -lSDL -lSDL\_mixer

C:/wxdev-cpp/lib/libSDLmain.a(SDL\_win32\_main.o.b)(.text+0x35a): In function  
`console_main': C:/msys/1.0/home/Adam/SDL-1.2.7/src/main/win32/SDL_win32_main.c:249: undefined reference to`SDL\_main’

make.exe: \*\*\* [Project3.exe] Error 1

## Execution terminated

I’m using wxDevCpp, and SDL is correctly installed.

Thanks in advance.

elhja
