|
In the process of making the MacOS X Installer, I ran into the problems
below while compiling Csound. I am running MacOS X 10.2.6 with
Developer Tools from Dec 2002. I just ran a 'cvs update' on my csound
source, but that's with anonymous access, so it might be a bit out of
date, given SourceForge's load problems. My setup is quite 'out of
box', so I would love to see these changes committed to the CVS since I
think it would allow more people to be able to compile Csound on their
own MacOS X box.
- My computer does not have "/usr/include/va-ppc.h". It is instead
located in "/usr/include/gcc/darwin/2.95.2/va-ppc.h"
- my computer does not have "/usr/local/include/X11/". Instead I have
"/usr/X11R6/include/". I am running Apple X11 Beta 3. But winX11.c
didn't compile when I changed the path. I got:
winX11.c:25: header file 'X11/X.h' not found
winX11.c:26: header file 'X11/Xlib.h' not found
I fixed this by adding " -I/usr/X11R6/include" to CFLAGS and
"-L/usr/X11R6/lib/" to LIBS
- Next, I got these linker errors:
ld: Undefined symbols:
_main
_AudioDeviceAddIOProc
_AudioDeviceGetProperty
_AudioDeviceSetProperty
_AudioDeviceStart
_AudioDeviceStop
_AudioHardwareGetProperty
I fixed these by adding "-framework CoreAudio" to LIBS.
- Now I am stumped and left with this error:
ld: Undefined symbols:
_main
Any suggestions would be most helpful. I am trying to make a MacOS X
Installer so that Csound will be very easy for people to install. Then
I am making a Cecilia installer as well, which will include Csound
(plus sox/qtplay/etc).
.hc |