fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[fluid-dev] fluidsynth-1.0.7 vs. Mac OS X 10.3.9 CoreAudio


From: Joe Corneli
Subject: [fluid-dev] fluidsynth-1.0.7 vs. Mac OS X 10.3.9 CoreAudio
Date: Tue, 18 Apr 2006 20:29:21 -0400 (EDT)

Working from the instructions in README-OSX, I obtained these
configure results:

**************************************************************
Summary:
ALSA:                  no
OSS:                   no
MidiShare:             yes
JACK:                  yes
CoreAudio:             no
LADSPA support:        yes
LASH support:          no
LADCCA support:        no
Readline:              yes
Debug:                 yes
Profiling:             yes
use long long:         no
**************************************************************

Do I need CoreAudio support to make fluidsynth work?  If so, can anyone
offer me any tips on how to get the framework included properly?

Note that although ./configure... says

checking CoreAudio/AudioHardware.h usability... no
checking CoreAudio/AudioHardware.h presence... no
checking for CoreAudio/AudioHardware.h... no

I am able to find that file:

% locate AudioHardware.h
/Developer/Examples/CoreAudio/Documentation/Java/com/apple/audio/hardware/AudioHardware.html
/Developer/Examples/CoreAudio/Documentation/Java/com/apple/audio/hardware/class-use/AudioHardware.html
/Developer/Examples/CoreAudio/Java/Native/CAJavaBundle/CAGenJNI/com_apple_audio_hardware_AudioHardware.h

It seems that although I have 

% echo $LDFLAGS
-L/usr/local/lib -L/sw/lib -framework MidiShare -framework CoreAudio -framework 
Jack

this is somehow not enough, or not right.  (Note that I am using an
"outdated" Mac OS X.)


Finally, here is a diff to the README-OSX file that I think should
help bring it up to date:

diff -c /Users/jcorneli/fluidsynth-1.0.7/README-OSX 
/Users/jcorneli/fluidsynth-1.0.7/README-OSX-edited
*** /Users/jcorneli/fluidsynth-1.0.7/README-OSX Sat Jun 11 20:19:37 2005
--- /Users/jcorneli/fluidsynth-1.0.7/README-OSX-edited  Tue Apr 18 19:27:53 2006
***************
*** 1,4 ****
! Compiling fluidsynth-1.0.5 on Mac OS X.4 (Tiger)
  --------------------------------------------
  1. Install the XcodeTools.mpkg and the DevSDK.pkg packages from the Tiger 
Install DVD.
   
--- 1,4 ----
! Compiling fluidsynth-1.0.7 on Mac OS X.4 (Tiger)
  --------------------------------------------
  1. Install the XcodeTools.mpkg and the DevSDK.pkg packages from the Tiger 
Install DVD.
   
***************
*** 8,14 ****
        fink install libgnugetopt
  
  4. Install MidiShare-1.87 for Mac OS X available from
!       http://www.grame.fr/MidiShare/
   
  5. Install Jack-0.51 for Mac OS X obtainable from  
        http://www.jackosx.com
--- 8,14 ----
        fink install libgnugetopt
  
  4. Install MidiShare-1.87 for Mac OS X available from
!       http://midishare.sourceforge.net
   
  5. Install Jack-0.51 for Mac OS X obtainable from  
        http://www.jackosx.com
***************
*** 19,28 ****
  7. cd to the fluidsynth directory and in the configure script, substitute 
"-lmidishare" with "-framework MidiShare".
  
  8. Run configure with the following options (all on one line in a text 
editor, then copy and paste into Terminal):
! ./configure --enable-midishare --enable-ladspa --enable-functioncheck 
--enable-debug --enable-profiling --enable-jack-support 
"CPPFLAGS=-I/usr/local/include  
! -I/sw/include 
-I/System/Library/Frameworks/MidiShare.framework/Versions/A/Headers 
! -I/System/Library/Frameworks/CoreAudio.framework/Versions/A/Headers 
-I/Library/Frameworks/Jack.framework/Headers" 
! "LDFLAGS=-L/usr/local/lib -L/sw/lib -framework MidiShare -framework CoreAudio 
-framework Jack"
  
  This should result in
  **************************************************************
--- 19,25 ----
  7. cd to the fluidsynth directory and in the configure script, substitute 
"-lmidishare" with "-framework MidiShare".
  
  8. Run configure with the following options (all on one line in a text 
editor, then copy and paste into Terminal):
! ./configure --enable-midishare --enable-ladspa --enable-functioncheck 
--enable-debug --enable-profiling --enable-jack-support 
"CPPFLAGS=-I/usr/local/include -I/sw/include 
-I/System/Library/Frameworks/MidiShare.framework/Versions/A/Headers 
-I/System/Library/Frameworks/CoreAudio.framework/Versions/A/Headers 
-I/Library/Frameworks/Jack.framework/Headers" "LDFLAGS=-L/usr/local/lib 
-L/sw/lib -framework MidiShare -framework CoreAudio -framework Jack"
  
  This should result in
  **************************************************************
***************
*** 32,44 ****
  MidiShare:             yes
  JACK:                  yes
  CoreAudio:             yes
! Readline:              yes
  LADCCA support:        no
  Debug:                 yes
  Profiling:             yes
- LADSPA support:        yes
  use long long:         no
- Pentium 3+ SSE:        no
  **************************************************************
  
  7. make
--- 29,41 ----
  MidiShare:             yes
  JACK:                  yes
  CoreAudio:             yes
! LADSPA support:        yes
! LASH support:          no
  LADCCA support:        no
+ Readline:              yes
  Debug:                 yes
  Profiling:             yes
  use long long:         no
  **************************************************************
  
  7. make

Diff finished.  Tue Apr 18 19:28:27 2006





reply via email to

[Prev in Thread] Current Thread [Next in Thread]