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

Taube, Heinrich K taube at illinois.edu
Mon Jan 4 10:58:56 PST 2021


those are not the latest sources, ive moved them to githhub about a year ago.

https://github.com/ricktaube/grace

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?

https://sourceforge.net/projects/commonmusic/files/cm/3.9.0/cm-3.9.0.zip/download<https://urldefense.com/v3/__https://sourceforge.net/projects/commonmusic/files/cm/3.9.0/cm-3.9.0.zip/download__;!!DZ3fjg!qgCDw6Qk64ZQ0pPbL2k8yaXNJrOZc6VbypO9myKGj_m9mDSZqA9GRWqzcyzj9Q$>


Any ideas on what I'm missing?

==== Building juce (debug) ====
Creating lib
Creating obj/juce/Debug
juce_audio_basics.mm<https://urldefense.com/v3/__http://juce_audio_basics.mm__;!!DZ3fjg!qgCDw6Qk64ZQ0pPbL2k8yaXNJrOZc6VbypO9myKGj_m9mDSZqA9GRWqMam55_g$>
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>
https://urldefense.com/v3/__https://cm-mail.stanford.edu/mailman/listinfo/cmdist__;!!DZ3fjg!qgCDw6Qk64ZQ0pPbL2k8yaXNJrOZc6VbypO9myKGj_m9mDSZqA9GRWqDhVdDhg$

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


More information about the Cmdist mailing list