You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting some errors when attempting to build in esp-idf
Could be my own fault, fairly new to this environment (and c++ generally)
This is what it dies with, some Googling suggests I can rewrite those parts in another compatible form (no dots, : instead of = etc.) but I have no idea if I should, if it's for the ESP32 should it not build as is?
tachyon@DESKTOP-DIOF72L:~/projects/frodo-go$ make
CXX build/extflash/components/extflash/extflash.o
/home/tachyon/projects/frodo-go/components/extflash/components/extflash/extflash.cpp: In member function 'esp_err_t ExtFlash::init(const ext_flash_config_t*)':
/home/tachyon/projects/frodo-go/components/extflash/components/extflash/extflash.cpp:96:5: warning: missing initializer for member 'spi_bus_config_t::flags' [-Wmissing-field-initializers]
};
^
/home/tachyon/projects/frodo-go/components/extflash/components/extflash/extflash.cpp:113:5: sorry, unimplemented: non-trivial designated initializers not supported
};
^
/home/tachyon/projects/frodo-go/components/extflash/components/extflash/extflash.cpp:113:5: sorry, unimplemented: non-trivial designated initializers not supported
/home/tachyon/projects/frodo-go/components/extflash/components/extflash/extflash.cpp:113:5: sorry, unimplemented: non-trivial designated initializers not supported
/home/tachyon/projects/frodo-go/components/extflash/components/extflash/extflash.cpp:113:5: sorry, unimplemented: non-trivial designated initializers not supported
/home/tachyon/projects/frodo-go/components/extflash/components/extflash/extflash.cpp:113:5: sorry, unimplemented: non-trivial designated initializers not supported
/home/tachyon/projects/frodo-go/components/extflash/components/extflash/extflash.cpp:113:5: warning: missing initializer for member 'spi_device_interface_config_t::post_cb' [-Wmissing-field-initializers]
/home/tachyon/esp/esp-idf/make/component_wrapper.mk:285: recipe for target 'components/extflash/extflash.o' failed
make[1]: *** [components/extflash/extflash.o] Error 1
/home/tachyon/esp/esp-idf/make/project.mk:468: recipe for target 'component-extflash-build' failed
make: *** [component-extflash-build] Error 2
The text was updated successfully, but these errors were encountered:
Looks to me like an ESP32 SDK version incompatibility. Could be I need to update the components to build with a newer version. What version are you using?
Getting some errors when attempting to build in esp-idf
Could be my own fault, fairly new to this environment (and c++ generally)
This is what it dies with, some Googling suggests I can rewrite those parts in another compatible form (no dots, : instead of = etc.) but I have no idea if I should, if it's for the ESP32 should it not build as is?
tachyon@DESKTOP-DIOF72L:~/projects/frodo-go$ make
CXX build/extflash/components/extflash/extflash.o
/home/tachyon/projects/frodo-go/components/extflash/components/extflash/extflash.cpp: In member function 'esp_err_t ExtFlash::init(const ext_flash_config_t*)':
/home/tachyon/projects/frodo-go/components/extflash/components/extflash/extflash.cpp:96:5: warning: missing initializer for member 'spi_bus_config_t::flags' [-Wmissing-field-initializers]
};
^
/home/tachyon/projects/frodo-go/components/extflash/components/extflash/extflash.cpp:113:5: sorry, unimplemented: non-trivial designated initializers not supported
};
^
/home/tachyon/projects/frodo-go/components/extflash/components/extflash/extflash.cpp:113:5: sorry, unimplemented: non-trivial designated initializers not supported
/home/tachyon/projects/frodo-go/components/extflash/components/extflash/extflash.cpp:113:5: sorry, unimplemented: non-trivial designated initializers not supported
/home/tachyon/projects/frodo-go/components/extflash/components/extflash/extflash.cpp:113:5: sorry, unimplemented: non-trivial designated initializers not supported
/home/tachyon/projects/frodo-go/components/extflash/components/extflash/extflash.cpp:113:5: sorry, unimplemented: non-trivial designated initializers not supported
/home/tachyon/projects/frodo-go/components/extflash/components/extflash/extflash.cpp:113:5: warning: missing initializer for member 'spi_device_interface_config_t::post_cb' [-Wmissing-field-initializers]
/home/tachyon/esp/esp-idf/make/component_wrapper.mk:285: recipe for target 'components/extflash/extflash.o' failed
make[1]: *** [components/extflash/extflash.o] Error 1
/home/tachyon/esp/esp-idf/make/project.mk:468: recipe for target 'component-extflash-build' failed
make: *** [component-extflash-build] Error 2
The text was updated successfully, but these errors were encountered: