[CM] Trying to compile Grace common music for another computer.

Forrest Curo treegestalt at gmail.com
Wed Jan 22 20:44:21 PST 2025


Seems to be hanging on the flac audio format... How to bypass this?

==== Building juce (debug) ====
juce_audio_devices.cpp
juce_audio_formats.cpp
In file included from
juce/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.cpp:69,
                 from
juce/modules/juce_audio_formats/juce_audio_formats.cpp:110:
juce/modules/juce_audio_formats/codecs/flac/libFLAC/bitreader.c: In
function ‘void juce::FlacNamespace::crc16_update_word_(FLAC__BitReader*,
uint32_t)’:
juce/modules/juce_audio_formats/codecs/flac/libFLAC/bitreader.c:95:27:
warning: ISO C++17 does not allow ‘register’ storage class specifier
[-Wregister]
   95 |         register unsigned crc = br->read_crc16;
      |                           ^~~
In file included from
juce/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.cpp:70:
juce/modules/juce_audio_formats/codecs/flac/libFLAC/bitwriter.c: In
function ‘juce::FlacNamespace::FLAC__bool
juce::FlacNamespace::FLAC__bitwriter_write_raw_uint32(FLAC__BitWriter*,
FLAC__uint32, unsigned int)’:
juce/modules/juce_audio_formats/codecs/flac/libFLAC/bitwriter.c:307:27:
warning: ISO C++17 does not allow ‘register’ storage class specifier
[-Wregister]
  307 |         register unsigned left;
      |                           ^~~~
In file included from
juce/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.cpp:76:
juce/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c: At global
scope:
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
   65 | static inline long int lround(double x) {
      |                                       ^
In file included from /usr/include/features.h:502,
                 from /usr/include/sched.h:22,
                 from
juce/modules/juce_audio_formats/../juce_core/native/juce_BasicNativeHeaders.h:168,
                 from
juce/modules/juce_audio_formats/juce_audio_formats.cpp:38:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:323:1: note: previous
declaration ‘long int lround(double)’
  323 | __MATHDECL (long int,lround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
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, FLAC__int32*, int*)’:
juce/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c:218:35:
error: call of overloaded ‘lround(juce::FlacNamespace::FLAC__double&)’ is
ambiguous
  218 |                         q = lround(error);
      |                             ~~~~~~^~~~~~~
In file included from
juce/modules/juce_audio_formats/../juce_audio_basics/../juce_core/system/juce_StandardHeader.h:66,
                 from
juce/modules/juce_audio_formats/../juce_audio_basics/../juce_core/juce_core.h:143,
                 from
juce/modules/juce_audio_formats/../juce_audio_basics/juce_audio_basics.h:28,
                 from
juce/modules/juce_audio_formats/juce_audio_formats.h:28,
                 from
juce/modules/juce_audio_formats/juce_audio_formats.cpp:39:
/usr/include/c++/13/cmath:2384:3: note: candidate: ‘constexpr long int
std::lround(long double)’
 2384 |   lround(long double __x)
      |   ^~~~~~
/usr/include/c++/13/cmath:2380:3: note: candidate: ‘constexpr long int
std::lround(float)’
 2380 |   lround(float __x)
      |   ^~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:323:1: note: candidate:
‘long int lround(double)’
  323 | __MATHDECL (long int,lround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
juce/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c:65:24: note:
candidate: ‘long int juce::FlacNamespace::lround(double)’
   65 | static inline long int lround(double x) {
      |                        ^~~~~~
juce/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c:247:35:
error: call of overloaded ‘lround(juce::FlacNamespace::FLAC__double&)’ is
ambiguous
  247 |                         q = lround(error);
      |                             ~~~~~~^~~~~~~
/usr/include/c++/13/cmath:2384:3: note: candidate: ‘constexpr long int
std::lround(long double)’
 2384 |   lround(long double __x)
      |   ^~~~~~
/usr/include/c++/13/cmath:2380:3: note: candidate: ‘constexpr long int
std::lround(float)’
 2380 |   lround(float __x)
      |   ^~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:323:1: note: candidate:
‘long int lround(double)’
  323 | __MATHDECL (long int,lround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
juce/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c:65:24: note:
candidate: ‘long int juce::FlacNamespace::lround(double)’
   65 | static inline long int lround(double x) {
      |                        ^~~~~~
In file included from
juce/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.cpp:77:
juce/modules/juce_audio_formats/codecs/flac/libFLAC/md5.c: In function
‘void juce::FlacNamespace::FLAC__MD5Transform(FLAC__uint32*, const
FLAC__uint32*)’:
juce/modules/juce_audio_formats/codecs/flac/libFLAC/md5.c:55:31: warning:
ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   55 |         register FLAC__uint32 a, b, c, d;
      |                               ^
juce/modules/juce_audio_formats/codecs/flac/libFLAC/md5.c:55:34: warning:
ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   55 |         register FLAC__uint32 a, b, c, d;
      |                                  ^
juce/modules/juce_audio_formats/codecs/flac/libFLAC/md5.c:55:37: warning:
ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   55 |         register FLAC__uint32 a, b, c, d;
      |                                     ^
juce/modules/juce_audio_formats/codecs/flac/libFLAC/md5.c:55:40: warning:
ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   55 |         register FLAC__uint32 a, b, c, d;
      |                                        ^
juce/modules/juce_audio_formats/codecs/flac/libFLAC/md5.c: In function
‘void juce::FlacNamespace::format_input_(FLAC__byte*, const FLAC__int32*
const*, unsigned int, unsigned int, unsigned int)’:
juce/modules/juce_audio_formats/codecs/flac/libFLAC/md5.c:276:30: warning:
ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
  276 |         register FLAC__int32 a_word;
      |                              ^~~~~~
juce/modules/juce_audio_formats/codecs/flac/libFLAC/md5.c:277:30: warning:
ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
  277 |         register FLAC__byte *buf_ = buf;
      |                              ^~~~
make[1]: *** [juce.make:168: obj/juce/Debug/juce_audio_formats.o] Error 1
make: *** [Makefile:21: juce] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20250122/a6ead9d5/attachment.html>


More information about the Cmdist mailing list