Opened 15 years ago

Closed 15 years ago

#22912 closed defect (worksforme)

libsdl won't build on Tiger 10.4.11 using XCode 2.4.1

Reported by: dee@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: libsdl

Description (last modified by mf2k (Frank Schima))

I have looked at ticket #20087 and my XCode is running 2.4.1. Been trying to install ffmpeg and already went through the patch process to fix what wasn't working before (mp4v2)

Change History (5)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: libsdl removed
Port: libsdl removed

You need to post the complete error output. It's not clear what the problem is that you are having.

comment:2 Changed 15 years ago by dee@…

eliyahus-powerbook-g4-15:~ EliYahu$ sudo port install ffmpegPassword: ---> Computing dependencies for ffmpeg ---> Building libsdl Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/SDL-1.2.14" && /usr/bin/make -j1 all " returned error 2 Command output: ./src/audio/macosx/SDL_coreaudio.c:185: error: dereferencing pointer to incomplete type ./src/audio/macosx/SDL_coreaudio.c:186: error: 'kAudioUnitProperty_SetRenderCallback' undeclared (first use in this function) ./src/audio/macosx/SDL_coreaudio.c:187: error: 'kAudioUnitScope_Input' undeclared (first use in this function) ./src/audio/macosx/SDL_coreaudio.c:196: error: dereferencing pointer to incomplete type ./src/audio/macosx/SDL_coreaudio.c:202: error: dereferencing pointer to incomplete type ./src/audio/macosx/SDL_coreaudio.c: In function 'Core_OpenAudio': ./src/audio/macosx/SDL_coreaudio.c:217: error: storage size of 'callback' isn't known ./src/audio/macosx/SDL_coreaudio.c:218: error: 'AudioStreamBasicDescription' undeclared (first use in this function) ./src/audio/macosx/SDL_coreaudio.c:218: error: parse error before 'requestedDesc' ./src/audio/macosx/SDL_coreaudio.c:221: error: 'requestedDesc' undeclared (first use in this function) ./src/audio/macosx/SDL_coreaudio.c:221: error: 'kAudioFormatLinearPCM' undeclared (first use in this function) ./src/audio/macosx/SDL_coreaudio.c:222: error: 'kLinearPCMFormatFlagIsPacked' undeclared (first use in this function) ./src/audio/macosx/SDL_coreaudio.c:228: error: 'kLinearPCMFormatFlagIsSignedInteger' undeclared (first use in this function) ./src/audio/macosx/SDL_coreaudio.c:230: error: 'kLinearPCMFormatFlagIsBigEndian' undeclared (first use in this function) ./src/audio/macosx/SDL_coreaudio.c:238: error: 'kAudioUnitType_Output' undeclared (first use in this function) ./src/audio/macosx/SDL_coreaudio.c:239: error: 'kAudioUnitSubType_DefaultOutput' undeclared (first use in this function) ./src/audio/macosx/SDL_coreaudio.c:240: error: 'kAudioUnitManufacturer_Apple' undeclared (first use in this function) ./src/audio/macosx/SDL_coreaudio.c:251: error: dereferencing pointer to incomplete type ./src/audio/macosx/SDL_coreaudio.c:254: error: dereferencing pointer to incomplete type ./src/audio/macosx/SDL_coreaudio.c:258: error: dereferencing pointer to incomplete type ./src/audio/macosx/SDL_coreaudio.c:259: error: 'kAudioUnitProperty_StreamFormat' undeclared (first use in this function) ./src/audio/macosx/SDL_coreaudio.c:260: error: 'kAudioUnitScope_Input' undeclared (first use in this function) ./src/audio/macosx/SDL_coreaudio.c:269: error: dereferencing pointer to incomplete type ./src/audio/macosx/SDL_coreaudio.c:270: error: 'kAudioUnitProperty_SetRenderCallback' undeclared (first use in this function) ./src/audio/macosx/SDL_coreaudio.c:281: error: dereferencing pointer to incomplete type ./src/audio/macosx/SDL_coreaudio.c:281: error: dereferencing pointer to incomplete type ./src/audio/macosx/SDL_coreaudio.c:282: error: dereferencing pointer to incomplete type ./src/audio/macosx/SDL_coreaudio.c:282: error: dereferencing pointer to incomplete type ./src/audio/macosx/SDL_coreaudio.c:285: error: dereferencing pointer to incomplete type make: * [build/SDL_coreaudio.lo] Error 1

Error: The following dependencies failed to build: libsdl libtheora libvorbis schroedinger liboil glib2 Error: Status 1 encountered during processing.

comment:3 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to nox@…
Port: libsdl added

Please try upgrading to Xcode 2.5 and run the following:

sudo port clean libsdl
sudo port install ffmpeg

Also, please use WikiFormatting in the future.

comment:4 Changed 15 years ago by dee@…

Did the trick... Thanks

comment:5 Changed 15 years ago by nox@…

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.