Forum Replies Created
-
AuthorPosts
-
CraftplorerParticipant
Ok thank you. I build it with msys2 and copied it. Now it get another linking error with nvs flash. I tried to add -lstdc++ but this didnt helped. Any idea whats is missing?
1>—— Build started: Project: EmbeddedProject2, Configuration: Debug VisualGDB ——
1> Linking ../VisualGDB/Debug/EmbeddedProject2…
1>VisualGDB\Debug\nvs_item_hash_list.o : error : undefined reference to `operator delete(void*)’
1>VisualGDB\Debug\nvs_item_hash_list.o : error : undefined reference to `operator new(unsigned int)’
1> VisualGDB/Debug/nvs_item_hash_list.o: In function `nvs::HashList::clear()’:
1>C:\SysGCC\esp32\esp32-bsp\esp-idf\components\nvs_flash\src\nvs_item_hash_list.cpp(30): error : undefined reference to `operator delete(void*)’
1> VisualGDB/Debug/nvs_item_hash_list.o: In function `nvs::HashList::insert(nvs::Item const&, unsigned int)’:
1>C:\SysGCC\esp32\esp32-bsp\esp-idf\components\nvs_flash\src\nvs_item_hash_list.cpp(53): error : undefined reference to `operator new(unsigned int)’
1> VisualGDB/Debug/nvs_item_hash_list.o: In function `nvs::HashList::erase(unsigned int)’:
1>C:\SysGCC\esp32\esp32-bsp\esp-idf\components\nvs_flash\src\nvs_item_hash_list.cpp(80): error : undefined reference to `operator delete(void*)’
1>VisualGDB\Debug\nvs_pagemanager.o : error : undefined reference to `operator new[](unsigned int)’
1>VisualGDB\Debug\nvs_pagemanager.o : error : undefined reference to `operator delete[](void*)’
1> VisualGDB/Debug/nvs_pagemanager.o: In function `nvs::PageManager::load(unsigned int, unsigned int)’:
1>C:\SysGCC\esp32\esp32-bsp\esp-idf\components\nvs_flash\src\nvs_pagemanager.cpp(24): error : undefined reference to `operator new[](unsigned int)’
1> VisualGDB/Debug/nvs_pagemanager.o: In function `nvs::PageManager::load(unsigned int, unsigned int)’:
1>C:\SysGCC\esp32\esp32-bsp\esp-idf\components\nvs_flash\src\nvs_page.hpp(64): error : undefined reference to `operator delete[](void*)’
1>VisualGDB\Debug\nvs_storage.o : error : undefined reference to `operator delete(void*)’
1>VisualGDB\Debug\nvs_storage.o : error : undefined reference to `operator new(unsigned int)’
1> VisualGDB/Debug/nvs_storage.o: In function `nvs::Storage::clearNamespaces()’:
1>C:\SysGCC\esp32\esp32-bsp\esp-idf\components\nvs_flash\src\nvs_storage.cpp(35): error : undefined reference to `operator delete(void*)’
1> VisualGDB/Debug/nvs_storage.o: In function `nvs::Storage::~Storage()’:
1>C:\SysGCC\esp32\esp32-bsp\esp-idf\components\nvs_flash\src\nvs_page.hpp(64): error : undefined reference to `operator delete[](void*)’
1> VisualGDB/Debug/nvs_storage.o: In function `CompressedEnumTable<bool, 1u, 256u>::set(unsigned int, bool)’:
1>C:\SysGCC\esp32\esp32-bsp\esp-idf\components\nvs_flash\src\compressed_enum_table.hpp(47): error : undefined reference to `operator new(unsigned int)’
1>collect2.exe : error : ld returned 1 exit status -
AuthorPosts