Results 1 to 4 of 4

Thread: XCode linker error

  1. #1

    Default XCode linker error

    Hello,

    I'm using your older project framework, and I managed to get sound working on Windows with fmod, however, not on Mac.

    I get this linker error when trying to build


    Undefined symbols:
    "_OBJC_CLASS_$_AVAudioPlayer", referenced from:
    objc-class-ref-to-AVAudioPlayer in AudioManagerOS.o
    "AudioManagerOS::soundCount", referenced from:
    __ZN14AudioManagerOS10soundCountE$non_lazy_ptr in AudioManagerOS.o
    (maybe you meant: __ZN14AudioManagerOS10soundCountE$non_lazy_ptr)

    What exactly did I miss?

    Thank you

  2. #2

    Default

    I managed to solve the first issue by including the AVFoundation framework.

    The issue remaining is

    Undefined symbols:
    "AudioManagerOS::soundCount", referenced from:
    __ZN14AudioManagerOS10soundCountE$non_lazy_ptr in AudioManagerOS.o
    (maybe you meant: __ZN14AudioManagerOS10soundCountE$non_lazy_ptr)
    ld: symbol(s) not found

  3. #3

    Default

    Ups, nevermind, that soundCount is my own.

  4. #4
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,343

    Default

    Glad you got it going! AVFoundation should already be included in the iOS examples in the current svn and compile out of the box, if anyone has troubles let me know.
    Seth A. Robinson
    Robinson Technologies

Similar Threads

  1. ERROR!
    By zackgamer100 in forum Novashell Game Creation System
    Replies: 1
    Last Post: 12-25-2009, 03:52 AM
  2. Replies: 5
    Last Post: 07-06-2009, 01:35 PM
  3. Music error
    By Scriptiz in forum Dink Smallwood HD
    Replies: 0
    Last Post: 05-28-2007, 03:50 PM
  4. Linker Warning i Borland Turbo C++
    By hilltop_sun in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 01-29-2007, 08:14 AM
  5. Error at startup
    By in forum Other RTsoft Games
    Replies: 3
    Last Post: 06-28-2006, 09:27 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •