Jonathan Levi, M.D. wrote:
[]
Well, I appreciate the tip--it sounds like many people have missed those
headers, under a number of circumstances. However, neither reinstalling
the DevSDK.pkg (as recommended there by Martin) or installing the
QuickTime SDK via Software Update (as recommended by Sébastien Maret)
has produced either file, nor has installing Apple's CoreAudio SDK, from
Apple Developer.
Have you retried the compilation after this reinstallation? Does it
still produce the error?
It turns out that I do have both files, in I do have CoreAudio.h, and
AudioUnit.h, in
/System/Library/Frameworks/CoreAudio.framework/Versions/A/Headers/
and
/System/Library/Frameworks/AudioUnit.framework/Versions/A/Headers
respectively.
This is OK if the corresponding symlinks are correct:
/System/Library/Frameworks/CoreAudio.framework/Headers points to
Versions/Current/Headers and Versions/Current points to Versions/A, so
that the path
/System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudio.h
is a correct alternative path to the file. Any command
#include <CoreAudio/CoreAudio.h>
will then find the header file, even if there is no directory CoreAudio
in which the file CoreAudio.h is sitting.
Could I create directories CoreAudio and AudioUnit
somewhere and copy the header files into them where the build process
would see them?
No. Frameworks are special constructions that the linker treats
differently from other directories.
Another possible source of the problem: My /sw/src is a soft link to an
external hard disk:
jonathan$ ls -l /sw/src
lrwxr-xr-x 1 jonathan admin 23 Dec 3 2004 /sw/src ->
/Volumes/LaCieDisk/src/
Is that messing things up, and if so, can I work around it?
This is not a problem, I am doing this, too. Just make sure that the
"Ignore ownership on this volume" button is *not* checked in the Info
box for that partition.
--
Martin
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users