[CM] Problem building Grace on Catalina: fatal error: 'cstdlib' file not found

Taube, Heinrich K taube at illinois.edu
Mon Jan 4 14:53:38 PST 2021

Neil, That’s great, thanks for letting me know. Did you build with the latest sndlib?

On Jan 4, 2021, at 3:40 PM, Neil Baylis <neil.baylis at gmail.com<mailto:neil.baylis at gmail.com>> wrote:

Thanks Rick.

That builds without problem.

Neil Baylis

On Mon, Jan 4, 2021 at 10:59 AM Taube, Heinrich K <taube at illinois.edu<mailto:taube at illinois.edu>> wrote:
those are not the latest sources, ive moved them to githhub about a year ago.


Im able to build grace without issues using the latest xcode and juce.  im using a not-too-ancient sndlib

XCode 12.3
JUCE v6.0.5 (c) 2021 Julian Storer
S7 Scheme 8.16 (2020-3-2),
Sndlib 24 (c) 2021 William Schottstaedt

On Jan 4, 2021, at 11:51 AM, Neil Baylis <neil.baylis at gmail.com<mailto:neil.baylis at gmail.com>> wrote:

I just downloaded the Grace sources and ran into a build failure very quickly, see below. I guess this is because I don't have something installed correctly. I do have xcode installed. My clang is at /usr/bin/clang

I downloaded the source from this link. Is it correct?


Any ideas on what I'm missing?

==== Building juce (debug) ====
Creating lib
Creating obj/juce/Debug
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
In file included from juce/modules/juce_audio_basics/juce_audio_basics.mm:25<https://urldefense.com/v3/__http://juce_audio_basics.mm:25__;!!DZ3fjg!qgCDw6Qk64ZQ0pPbL2k8yaXNJrOZc6VbypO9myKGj_m9mDSZqA9GRWp6gwXWiw$>:
In file included from juce/modules/juce_audio_basics/juce_audio_basics.cpp:37:
In file included from juce/modules/juce_audio_basics/juce_audio_basics.h:28:
In file included from juce/modules/juce_audio_basics/../juce_core/juce_core.h:143:
juce/modules/juce_audio_basics/../juce_core/system/juce_StandardHeader.h:62:10: fatal error: 'cstdlib' file not found
#include <cstdlib>
1 error generated.
make[1]: *** [obj/juce/Debug/juce_audio_basics.o] Error 1
make: *** [juce] Error 2
Cmdist mailing list
Cmdist at ccrma.stanford.edu<mailto:Cmdist at ccrma.stanford.edu>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20210104/2cd90f01/attachment-0001.html>

More information about the Cmdist mailing list