Symbol(s) not found using oalTouch example code

Posts: 353
Joined: 2002.04
Post: #1
I've implemented OpenAL before, so I'm stumped as to why this isn't working. I downloaded the latest oalTouch example code and copied the code I needed over into my current project. I added all the frameworks I need, however I'm getting a Symbol(s) not found error. Specifically:

"MyGetOpenALAudioData(__CFURL const*, int*, int*, int*)", referenced from:
LoadWave(char const*, unsigned int)in Game.o
Symbol(s) not found

When I compile the oalTouch project I don't get any errors.

Got me a bit stumped.
Quote this message in a reply
Posts: 5,143
Joined: 2002.04
Post: #2
Define that function...

my guess is you have a mixture of .c/.m and .cc/.mm files, and not enough extern "C".
Quote this message in a reply
Posts: 353
Joined: 2002.04
Post: #3
You're the man Keith! Just had to change a .c file to .mm and it works. Cheers!
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Added openfient, switch to c++ duplicate symbol kendric 7 5,609 Aug 9, 2009 02:47 AM
Last Post: backslash
  Found my slowdown. FYI. Madrayken 17 9,801 Jul 31, 2009 04:06 AM
Last Post: Madrayken
  Texture2D class Found Gillissie 1 4,058 Mar 16, 2009 03:49 PM
Last Post: jeonghyunhan
  error: framework not found ApplicationServices kancho 1 4,871 Nov 23, 2008 11:33 PM
Last Post: OneSadCookie