Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4905] cs5 on macOSx

Date2004-07-10 12:13
Fromjpff@codemist.co.uk
Subject[CSOUND-DEV:4905] cs5 on macOSx
Advice please.  The current scons seems to fail to build with lots of
linker errors.  Adding an explicit -lstdc++ gets rid of some of these
but i am still left with
ld: Undefined symbols:
_ClosePoly
_FrameOval
_KillPoly
_Line
_LineTo
_MoveTo
_OpenPoly
_PaintOval
_PaintPoly
_PenPat
_PenSize
_CopyRgn
_DisposeRgn
_FrameRect
_GetRegionBounds
_GetWindowPort
_NewRgn
_PaintRect
_RectInRgn
_SectRgn
_SetEmptyRgn
_SetPortClipRegion
...etc etc

What library is missing?  And why?  Why the need to explicit -lstdc++?
Very confused at present.  Building with fltk by the way.

==John ffitch

Date2004-07-10 16:48
FromAnthony Kozar
Subject[CSOUND-DEV:4906] Re: cs5 on macOSx
These look like QuickDraw calls, which I think are now in Carbon lib.

I noticed too that the Csound 4 makefile for MacOS X is now linking in

-framework Carbon -framework ApplicationServices

So perhaps you should try adding -framework Carbon.  "Why?"  is not
something that I can answer :)

Anthony

On 7/10/04 7:13 AM, jpff@codemist.co.uk etched in
stone:

> Advice please.  The current scons seems to fail to build with lots of
> linker errors.  Adding an explicit -lstdc++ gets rid of some of these
> but i am still left with
> ld: Undefined symbols:
> _ClosePoly
> _FrameOval
> _KillPoly
> _Line
> _LineTo
> _MoveTo
> _OpenPoly
> _PaintOval
> _PaintPoly
> _PenPat
> _PenSize
> _CopyRgn
> _DisposeRgn
> _FrameRect
> _GetRegionBounds
> _GetWindowPort
> _NewRgn
> _PaintRect
> _RectInRgn
> _SectRgn
> _SetEmptyRgn
> _SetPortClipRegion
> ...etc etc
> 
> What library is missing?  And why?  Why the need to explicit -lstdc++?
> Very confused at present.  Building with fltk by the way.
> 
> ==John ffitch
>