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

Neil Baylis neil.baylis at gmail.com
Mon Jan 4 09:51:56 PST 2021


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?

https://sourceforge.net/projects/commonmusic/files/cm/3.9.0/cm-3.9.0.zip/download


Any ideas on what I'm missing?

==== Building juce (debug) ====
Creating lib
Creating obj/juce/Debug
juce_audio_basics.mm
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
:
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20210104/d2113563/attachment.html>


More information about the Cmdist mailing list