mt_maui
2006.11.13, 06:44 PM
I've been trying to compile this DaveGnukem (http://gnukem.sourceforge.net/) game in XCode, and keep running into linking errors. The program is written in C++ and SDL. Here's my steps thus far:
1. Create SDL application in XCode
2. Add source files to target
3. Edit source files to compile correctly (didn't take much, mostly just #includes were different)
The files all compile now, but during linking I got:
Undefined symbols: _Mix_FreeChunk _Mix_LoadWAV _Mix_OpenAudio _Mix_PlayChannelTimed
I assumed the "mix" prefix meant it was referring to SDL_mixer. When I added SDL_mixer under linked frameworks the error changed to just:
Undefined symbols:
Which really leaves me at a dead end. Anybody know what steps I've missed here? I downloaded the latest version of SDL_mixer.
1. Create SDL application in XCode
2. Add source files to target
3. Edit source files to compile correctly (didn't take much, mostly just #includes were different)
The files all compile now, but during linking I got:
Undefined symbols: _Mix_FreeChunk _Mix_LoadWAV _Mix_OpenAudio _Mix_PlayChannelTimed
I assumed the "mix" prefix meant it was referring to SDL_mixer. When I added SDL_mixer under linked frameworks the error changed to just:
Undefined symbols:
Which really leaves me at a dead end. Anybody know what steps I've missed here? I downloaded the latest version of SDL_mixer.