Hi,
I tried following the Toolchain Install instructions here 1e. Getting Started With Oopsy (Gen~ Integration) · electro-smith/DaisyWiki Wiki · GitHub
Now, running the Blink example I get different errors. Where do I go from here?:
build daisysp:
arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/adenv.d" -MT"build/adenv.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/adenv.lst Source/Control/adenv.cpp -o build/adenv.o
arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/adsr.d" -MT"build/adsr.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/adsr.lst Source/Control/adsr.cpp -o build/adsr.o
arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/line.d" -MT"build/line.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/line.lst Source/Control/line.cpp -o build/line.o
arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/phasor.d" -MT"build/phasor.d" -fno-exceptions -finline-functions -std=gnu++14 -static -Wa,-a,-ad,-alms=build/phasor.lst Source/Control/phasor.cpp -o build/phasor.o
In file included from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/math.h:5,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/cmath:45,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/random:38,
from Source/Utility/dsp.h:8,
from Source/Control/phasor.cpp:3:
/opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/sys/reent.h:35:9: error: ‘_LOCK_RECURSIVE_T’ does not name a type
35 | typedef _LOCK_RECURSIVE_T _flock_t;
| ^~~~~~~~~~~~~~~~~
/opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/sys/reent.h:207:12: error: expected identifier before ‘’ token
207 | _fpos_t (_seek) (struct _reent , void , _fpos_t, int);
| ^
/opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/sys/reent.h:207:46: error: ‘_fpos_t’ has not been declared
207 | _fpos_t (_seek) (struct _reent , void , _fpos_t, int);
| ^~~~~~~
/opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/sys/reent.h:207:58: error: ‘_fpos_t’ declared as function returning a function
207 | _fpos_t (_seek) (struct _reent , void , _fpos_t, int);
| ^
/opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/sys/reent.h:224:3: error: ‘_off_t’ does not name a type; did you mean ‘off_t’?
224 | _off_t _offset; / current lseek offset /
| ^~~~~~
| off_t
/opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/sys/reent.h:231:3: error: ‘_flock_t’ does not name a type; did you mean ‘clock_t’?
231 | _flock_t _lock; / for thread-safety locking /
| ^~~~~~~~
| clock_t
/opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/sys/reent.h:233:3: error: ‘_mbstate_t’ does not name a type; did you mean ‘__mbstate_t’?
233 | _mbstate_t _mbstate; / for wide char stdio functions. /
| ^~~~~~~~~~
| __mbstate_t
/opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/sys/reent.h:654:11: error: ‘_mbstate_t’ does not name a type; did you mean ‘__mbstate_t’?
654 | _mbstate_t _mblen_state;
| ^~~~~~~~~~
| __mbstate_t
/opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/sys/reent.h:655:11: error: ‘_mbstate_t’ does not name a type; did you mean ‘__mbstate_t’?
655 | _mbstate_t _mbtowc_state;
| ^~~~~~~~~~
| __mbstate_t
/opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/sys/reent.h:656:11: error: ‘_mbstate_t’ does not name a type; did you mean ‘__mbstate_t’?
656 | _mbstate_t _wctomb_state;
| ^~~~~~~~~~
| __mbstate_t
/opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/sys/reent.h:660:11: error: ‘_mbstate_t’ does not name a type; did you mean ‘__mbstate_t’?
660 | _mbstate_t _mbrlen_state;
| ^~~~~~~~~~
| __mbstate_t
/opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/sys/reent.h:661:11: error: ‘_mbstate_t’ does not name a type; did you mean ‘__mbstate_t’?
661 | _mbstate_t _mbrtowc_state;
| ^~~~~~~~~~
| __mbstate_t
/opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/sys/reent.h:662:11: error: ‘_mbstate_t’ does not name a type; did you mean ‘__mbstate_t’?
662 | _mbstate_t _mbsrtowcs_state;
| ^~~~~~~~~~
| __mbstate_t
/opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/sys/reent.h:663:11: error: ‘_mbstate_t’ does not name a type; did you mean ‘__mbstate_t’?
663 | _mbstate_t _wcrtomb_state;
| ^~~~~~~~~~
| __mbstate_t
/opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/sys/reent.h:664:11: error: ‘_mbstate_t’ does not name a type; did you mean ‘__mbstate_t’?
664 | _mbstate_t _wcsrtombs_state;
| ^~~~~~~~~~
| __mbstate_t
In file included from /usr/local/include/stdio.h:64,
from /usr/local/include/wchar.h:90,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/cwchar:44,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/bits/postypes.h:40,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/bits/char_traits.h:40,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/string:40,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/random:40,
from Source/Utility/dsp.h:8,
from Source/Control/phasor.cpp:3:
/usr/local/include/_stdio.h:92:8: error: redefinition of ‘struct __sbuf’
92 | struct __sbuf {
| ^~~~~~
In file included from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/math.h:5,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/cmath:45,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/random:38,
from Source/Utility/dsp.h:8,
from Source/Control/phasor.cpp:3:
/opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/sys/reent.h:122:8: note: previous definition of ‘struct __sbuf’
122 | struct __sbuf {
| ^~~~~~
In file included from /usr/local/include/stdio.h:64,
from /usr/local/include/wchar.h:90,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/cwchar:44,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/bits/postypes.h:40,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/bits/char_traits.h:40,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/string:40,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/random:40,
from Source/Utility/dsp.h:8,
from Source/Control/phasor.cpp:3:
/usr/local/include/_stdio.h:126:16: error: redefinition of ‘struct __sFILE’
126 | typedef struct __sFILE {
| ^~~~~~~
In file included from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/math.h:5,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/cmath:45,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/random:38,
from Source/Utility/dsp.h:8,
from Source/Control/phasor.cpp:3:
/opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/sys/reent.h:186:8: note: previous definition of ‘struct __sFILE’
186 | struct __sFILE {
| ^~~~~~~
In file included from /usr/local/include/wchar.h:90,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/cwchar:44,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/bits/postypes.h:40,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/bits/char_traits.h:40,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/string:40,
from /opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc/arm-none-eabi/include/c++/10.3.1/random:40,
from Source/Utility/dsp.h:8,
from Source/Control/phasor.cpp:3:
/usr/local/include/stdio.h: In function 'int __sputc(int, FILE)':
/usr/local/include/stdio.h:254:12: error: request for member ‘_w’ in ’ _p’, which is of non-class type ‘FILE’ {aka ‘int’}
254 | if (–_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != ‘\n’))
| ^~
/usr/local/include/stdio.h:254:28: error: request for member ‘_w’ in ’ _p’, which is of non-class type ‘FILE’ {aka ‘int’}
254 | if (–_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != ‘\n’))
| ^~
/usr/local/include/stdio.h:254:38: error: request for member ‘_lbfsize’ in ’ _p’, which is of non-class type ‘FILE’ {aka ‘int’}
254 | if (–_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != ‘\n’))
| ^~~~~~~~
/usr/local/include/stdio.h:255:16: error: request for member ‘_p’ in ‘* _p’, which is of non-class type ‘FILE’ {aka ‘int’}
255 | return (*_p->_p++ = _c);
| ^~
make: *** [build/phasor.o] Error 1
- The terminal process “/bin/zsh ‘-c’, ‘make’” terminated with exit code: 2.
- Terminal will be reused by tasks, press any key to close it.