<div dir="ltr">I get the identical error on a toshiba laptop running ubuntu 18.04<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 10, 2020 at 3:39 PM Forrest Curo <<a href="mailto:treegestalt@gmail.com">treegestalt@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>premake 4 is happy -- but then the trouble sets in:</div><div>------------</div><div>forrest@beefurr:~/cm$ premake4<br>Building configurations...<br>Running action 'gmake'...<br>Generating Makefile...<br>Generating juce.make...<br>Generating Grace.make...<br>Done.<br>forrest@beefurr:~/cm$ make<br>==== Building juce (debug) ====<br>Creating lib<br>Creating obj/juce/Debug<br>juce_audio_basics.cpp<br>juce_audio_devices.cpp<br>juce_audio_formats.cpp<br>In file included from juce/modules/juce_audio_formats/juce_audio_formats.cpp:110:<br>juce/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.cpp:64: warning: "__STDC_LIMIT_MACROS" redefined<br> 64 | #define __STDC_LIMIT_MACROS 1<br> | <br>In file included from /usr/include/c++/9/cstdint:41,<br> from /usr/include/c++/9/bits/char_traits.h:621,<br> from /usr/include/c++/9/string:40,<br> from /usr/include/c++/9/stdexcept:39,<br> from juce/modules/juce_audio_formats/../juce_audio_basics/../juce_core/system/juce_StandardHeader.h:68,<br> from juce/modules/juce_audio_formats/../juce_audio_basics/../juce_core/juce_core.h:143,<br> from juce/modules/juce_audio_formats/../juce_audio_basics/juce_audio_basics.h:28,<br> from juce/modules/juce_audio_formats/juce_audio_formats.h:28,<br> from juce/modules/juce_audio_formats/juce_audio_formats.cpp:39:<br>/usr/lib/gcc/x86_64-linux-gnu/9/include/stdint.h:5: note: this is the location of the previous definition<br> 5 | # define __STDC_LIMIT_MACROS<br> | <br>In file included from juce/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.cpp:76,<br> from juce/modules/juce_audio_formats/juce_audio_formats.cpp:110:<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c:65:39: error: ‘long int juce::FlacNamespace::lround(double)’ conflicts with a previous declaration<br> 65 | static inline long int lround(double x) {<br> | ^<br>In file included from /usr/include/features.h:461,<br> from /usr/include/sched.h:22,<br> from juce/modules/juce_audio_formats/../juce_core/native/juce_BasicNativeHeaders.h:168,<br> from juce/modules/juce_audio_formats/juce_audio_formats.cpp:38:<br>/usr/include/x86_64-linux-gnu/bits/mathcalls.h:320:1: note: previous declaration ‘long int lround(double)’<br> 320 | __MATHDECL (long int,lround,, (_Mdouble_ __x));<br> | ^~~~~~~~~~<br>In file included from juce/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.cpp:76,<br> from juce/modules/juce_audio_formats/juce_audio_formats.cpp:110:<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c: In function ‘int juce::FlacNamespace::FLAC__lpc_quantize_coefficients(const FLAC__real*, unsigned int, unsigned int, juce::FlacNamespace::FLAC__int32*, int*)’:<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c:218:20: error: call of overloaded ‘lround(juce::FlacNamespace::FLAC__double&)’ is ambiguous<br> 218 | q = lround(error);<br> | ^<br>In file included from juce/modules/juce_audio_formats/../juce_audio_basics/../juce_core/system/juce_StandardHeader.h:66,<br> from juce/modules/juce_audio_formats/../juce_audio_basics/../juce_core/juce_core.h:143,<br> from juce/modules/juce_audio_formats/../juce_audio_basics/juce_audio_basics.h:28,<br> from juce/modules/juce_audio_formats/juce_audio_formats.h:28,<br> from juce/modules/juce_audio_formats/juce_audio_formats.cpp:39:<br>/usr/include/c++/9/cmath:1628:3: note: candidate: ‘constexpr long int std::lround(long double)’<br> 1628 | lround(long double __x)<br> | ^~~~~~<br>/usr/include/c++/9/cmath:1624:3: note: candidate: ‘constexpr long int std::lround(float)’<br> 1624 | lround(float __x)<br> | ^~~~~~<br>In file included from /usr/include/features.h:461,<br> from /usr/include/sched.h:22,<br> from juce/modules/juce_audio_formats/../juce_core/native/juce_BasicNativeHeaders.h:168,<br> from juce/modules/juce_audio_formats/juce_audio_formats.cpp:38:<br>/usr/include/x86_64-linux-gnu/bits/mathcalls.h:320:1: note: candidate: ‘long int lround(double)’<br> 320 | __MATHDECL (long int,lround,, (_Mdouble_ __x));<br> | ^~~~~~~~~~<br>In file included from juce/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.cpp:76,<br> from juce/modules/juce_audio_formats/juce_audio_formats.cpp:110:<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c:65:24: note: candidate: ‘long int juce::FlacNamespace::lround(double)’<br> 65 | static inline long int lround(double x) {<br> | ^~~~~~<br>In file included from juce/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.cpp:76,<br> from juce/modules/juce_audio_formats/juce_audio_formats.cpp:110:<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c:247:20: error: call of overloaded ‘lround(juce::FlacNamespace::FLAC__double&)’ is ambiguous<br> 247 | q = lround(error);<br> | ^<br>In file included from juce/modules/juce_audio_formats/../juce_audio_basics/../juce_core/system/juce_StandardHeader.h:66,<br> from juce/modules/juce_audio_formats/../juce_audio_basics/../juce_core/juce_core.h:143,<br> from juce/modules/juce_audio_formats/../juce_audio_basics/juce_audio_basics.h:28,<br> from juce/modules/juce_audio_formats/juce_audio_formats.h:28,<br> from juce/modules/juce_audio_formats/juce_audio_formats.cpp:39:<br>/usr/include/c++/9/cmath:1628:3: note: candidate: ‘constexpr long int std::lround(long double)’<br> 1628 | lround(long double __x)<br> | ^~~~~~<br>/usr/include/c++/9/cmath:1624:3: note: candidate: ‘constexpr long int std::lround(float)’<br> 1624 | lround(float __x)<br> | ^~~~~~<br>In file included from /usr/include/features.h:461,<br> from /usr/include/sched.h:22,<br> from juce/modules/juce_audio_formats/../juce_core/native/juce_BasicNativeHeaders.h:168,<br> from juce/modules/juce_audio_formats/juce_audio_formats.cpp:38:<br>/usr/include/x86_64-linux-gnu/bits/mathcalls.h:320:1: note: candidate: ‘long int lround(double)’<br> 320 | __MATHDECL (long int,lround,, (_Mdouble_ __x));<br> | ^~~~~~~~~~<br>In file included from juce/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.cpp:76,<br> from juce/modules/juce_audio_formats/juce_audio_formats.cpp:110:<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c:65:24: note: candidate: ‘long int juce::FlacNamespace::lround(double)’<br> 65 | static inline long int lround(double x) {<br> | ^~~~~~<br>make[1]: *** [juce.make:168: obj/juce/Debug/juce_audio_formats.o] Error 1<br>make: *** [Makefile:17: juce] Error 2<br></div></div></div>
</blockquote></div>