关于ESP-IDF Application Size Analysis启动失败的问题

LHKsaint
Posts: 7
Joined: Fri Apr 10, 2020 4:46 am

关于ESP-IDF Application Size Analysis启动失败的问题

Postby LHKsaint » Wed Jul 01, 2020 2:53 pm

在eclipse中运行ESP-IDF插件,尝试使用ESP-IDF Application Size Analysis功能,出现如下错误,不知道有没有什么解决办法。附详细信息:
java.lang.NullPointerException
at com.espressif.idf.ui.size.IDFSizeOverviewComposite.createPartControl(IDFSizeOverviewComposite.java:58)
at com.espressif.idf.ui.size.IDFSizeAnalysisEditor.createOverviewPage(IDFSizeAnalysisEditor.java:114)
at com.espressif.idf.ui.size.IDFSizeAnalysisEditor.createPages(IDFSizeAnalysisEditor.java:41)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:333)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:154)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:96)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:361)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:1002)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:967)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:139)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:408)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:331)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:202)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:91)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:60)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:42)
at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:132)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:1002)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:662)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:768)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:739)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:733)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:717)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:107)
at org.eclipse.e4.ui.services.internal.events.UIEventHandler.lambda$0(UIEventHandler.java:38)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:236)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:133)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4561)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:219)
at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:205)
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:203)
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:132)
at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:75)
at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:44)
at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:55)
at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424)
at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElementGen(ElementContainerImpl.java:170)
at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:188)
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:661)
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:625)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:790)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:404)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1266)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3195)
at org.eclipse.ui.internal.WorkbenchPage.lambda$9(WorkbenchPage.java:3100)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:72)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3098)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3068)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3051)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:352)
at com.espressif.idf.ui.size.IDFSizeMemoryHandler$1.run(IDFSizeMemoryHandler.java:81)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3897)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3527)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1160)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1049)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:658)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:557)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:154)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
at org.eclipse.equinox.launcher.Main.run(Main.java:1447)
Attachments
报错.png
报错.png (276.57 KiB) Viewed 5654 times

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

Re: 关于ESP-IDF Application Size Analysis启动失败的问题

Postby ESP_kondalkolipaka » Thu Jul 02, 2020 8:10 am

Hello,

Could you please share the error log. https://github.com/espressif/idf-eclips ... #error-log

Thanks.

LHKsaint
Posts: 7
Joined: Fri Apr 10, 2020 4:46 am

Re: 关于ESP-IDF Application Size Analysis启动失败的问题

Postby LHKsaint » Thu Jul 02, 2020 9:53 am

事实上,如果尝试除了hello world之外的项目,都会说project mapping file doesn't exist,也就是说这项功能完全无法使用。
另外在尝试运行ble mesh里面的onoff_server项目的时候,出现如下错误,idf版本4.1-beta2,采用git clone方式获取

[1/214] Building C object esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_box/crypto_box.c.obj
[2/214] Building C object esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_auth/hmacsha512256/auth_hmacsha512256.c.obj
[3/214] Building C object esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_aead/xchacha20poly1305/sodium/aead_xchacha20poly1305.c.obj
FAILED: esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_aead/xchacha20poly1305/sodium/aead_xchacha20poly1305.c.obj
ccache D:\espressif\.espressif\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DCONFIGURED -DHAVE_WEAK_SYMBOLS -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DNATIVE_LITTLE_ENDIAN -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Iconfig -I../../../../../../components/libsodium/libsodium/src/libsodium/include -I../../../../../../components/libsodium/port_include -I../../../../../../components/libsodium/libsodium/src/libsodium/include/sodium -I../../../../../../components/libsodium/port_include/sodium -I../../../../../../components/libsodium/port -I../../../../../../components/newlib/platform_include -I../../../../../../components/freertos/include -I../../../../../../components/heap/include -I../../../../../../components/log/include -I../../../../../../components/lwip/include/apps -I../../../../../../components/lwip/include/apps/sntp -I../../../../../../components/lwip/lwip/src/include -I../../../../../../components/lwip/port/esp32/include -I../../../../../../components/lwip/port/esp32/include/arch -I../../../../../../components/soc/esp32/include -I../../../../../../components/soc/include -I../../../../../../components/esp_rom/include -I../../../../../../components/esp_common/include -I../../../../../../components/xtensa/include -I../../../../../../components/xtensa/esp32/include -I../../../../../../components/esp32/include -I../../../../../../components/driver/include -I../../../../../../components/driver/esp32/include -I../../../../../../components/esp_ringbuf/include -I../../../../../../components/efuse/include -I../../../../../../components/efuse/esp32/include -I../../../../../../components/vfs/include -I../../../../../../components/esp_wifi/include -I../../../../../../components/esp_wifi/esp32/include -I../../../../../../components/esp_event/include -I../../../../../../components/esp_netif/include -I../../../../../../components/esp_eth/include -I../../../../../../components/tcpip_adapter/include -I../../../../../../components/app_trace/include -I../../../../../../components/mbedtls/port/include -I../../../../../../components/mbedtls/mbedtls/include -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.1-beta2\" -DESP_PLATFORM -MD -MT esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_aead/xchacha20poly1305/sodium/aead_xchacha20poly1305.c.obj -MF esp-idf\libsodium\CMakeFiles\__idf_libsodium.dir\libsodium\src\libsodium\crypto_aead\xchacha20poly1305\sodium\aead_xchacha20poly1305.c.obj.d -o esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_aead/xchacha20poly1305/sodium/aead_xchacha20poly1305.c.obj -c D:/espressif/esp-idf_v4.1-beta2/components/libsodium/libsodium/src/libsodium/crypto_aead/xchacha20poly1305/sodium/aead_xchacha20poly1305.c
ccache: error: Failed to create temporary file for esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_aead/xchacha20poly1305/sodium/aead_xchacha20poly1305.c.obj: No such file or directory
[4/214] Building C object esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/box_curve25519xsalsa20poly1305.c.obj
FAILED: esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/box_curve25519xsalsa20poly1305.c.obj
ccache D:\espressif\.espressif\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DCONFIGURED -DHAVE_WEAK_SYMBOLS -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DNATIVE_LITTLE_ENDIAN -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Iconfig -I../../../../../../components/libsodium/libsodium/src/libsodium/include -I../../../../../../components/libsodium/port_include -I../../../../../../components/libsodium/libsodium/src/libsodium/include/sodium -I../../../../../../components/libsodium/port_include/sodium -I../../../../../../components/libsodium/port -I../../../../../../components/newlib/platform_include -I../../../../../../components/freertos/include -I../../../../../../components/heap/include -I../../../../../../components/log/include -I../../../../../../components/lwip/include/apps -I../../../../../../components/lwip/include/apps/sntp -I../../../../../../components/lwip/lwip/src/include -I../../../../../../components/lwip/port/esp32/include -I../../../../../../components/lwip/port/esp32/include/arch -I../../../../../../components/soc/esp32/include -I../../../../../../components/soc/include -I../../../../../../components/esp_rom/include -I../../../../../../components/esp_common/include -I../../../../../../components/xtensa/include -I../../../../../../components/xtensa/esp32/include -I../../../../../../components/esp32/include -I../../../../../../components/driver/include -I../../../../../../components/driver/esp32/include -I../../../../../../components/esp_ringbuf/include -I../../../../../../components/efuse/include -I../../../../../../components/efuse/esp32/include -I../../../../../../components/vfs/include -I../../../../../../components/esp_wifi/include -I../../../../../../components/esp_wifi/esp32/include -I../../../../../../components/esp_event/include -I../../../../../../components/esp_netif/include -I../../../../../../components/esp_eth/include -I../../../../../../components/tcpip_adapter/include -I../../../../../../components/app_trace/include -I../../../../../../components/mbedtls/port/include -I../../../../../../components/mbedtls/mbedtls/include -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.1-beta2\" -DESP_PLATFORM -MD -MT esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/box_curve25519xsalsa20poly1305.c.obj -MF esp-idf\libsodium\CMakeFiles\__idf_libsodium.dir\libsodium\src\libsodium\crypto_box\curve25519xsalsa20poly1305\box_curve25519xsalsa20poly1305.c.obj.d -o esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/box_curve25519xsalsa20poly1305.c.obj -c D:/espressif/esp-idf_v4.1-beta2/components/libsodium/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/box_curve25519xsalsa20poly1305.c
ccache: error: Failed to create temporary file for esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/box_curve25519xsalsa20poly1305.c.obj: No such file or directory
[5/214] Building C object esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c.obj
FAILED: esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c.obj
ccache D:\espressif\.espressif\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DCONFIGURED -DHAVE_WEAK_SYMBOLS -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DNATIVE_LITTLE_ENDIAN -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Iconfig -I../../../../../../components/libsodium/libsodium/src/libsodium/include -I../../../../../../components/libsodium/port_include -I../../../../../../components/libsodium/libsodium/src/libsodium/include/sodium -I../../../../../../components/libsodium/port_include/sodium -I../../../../../../components/libsodium/port -I../../../../../../components/newlib/platform_include -I../../../../../../components/freertos/include -I../../../../../../components/heap/include -I../../../../../../components/log/include -I../../../../../../components/lwip/include/apps -I../../../../../../components/lwip/include/apps/sntp -I../../../../../../components/lwip/lwip/src/include -I../../../../../../components/lwip/port/esp32/include -I../../../../../../components/lwip/port/esp32/include/arch -I../../../../../../components/soc/esp32/include -I../../../../../../components/soc/include -I../../../../../../components/esp_rom/include -I../../../../../../components/esp_common/include -I../../../../../../components/xtensa/include -I../../../../../../components/xtensa/esp32/include -I../../../../../../components/esp32/include -I../../../../../../components/driver/include -I../../../../../../components/driver/esp32/include -I../../../../../../components/esp_ringbuf/include -I../../../../../../components/efuse/include -I../../../../../../components/efuse/esp32/include -I../../../../../../components/vfs/include -I../../../../../../components/esp_wifi/include -I../../../../../../components/esp_wifi/esp32/include -I../../../../../../components/esp_event/include -I../../../../../../components/esp_netif/include -I../../../../../../components/esp_eth/include -I../../../../../../components/tcpip_adapter/include -I../../../../../../components/app_trace/include -I../../../../../../components/mbedtls/port/include -I../../../../../../components/mbedtls/mbedtls/include -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.1-beta2\" -DESP_PLATFORM -MD -MT esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c.obj -MF esp-idf\libsodium\CMakeFiles\__idf_libsodium.dir\libsodium\src\libsodium\crypto_aead\chacha20poly1305\sodium\aead_chacha20poly1305.c.obj.d -o esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c.obj -c D:/espressif/esp-idf_v4.1-beta2/components/libsodium/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c
ccache: error: Failed to create temporary file for esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c.obj: No such file or directory
[6/214] Building C object esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_auth/hmacsha512/auth_hmacsha512.c.obj
[7/214] Building C object esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_box/crypto_box_easy.c.obj
[8/214] Building C object esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_box/curve25519xchacha20poly1305/box_curve25519xchacha20poly1305.c.obj
FAILED: esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_box/curve25519xchacha20poly1305/box_curve25519xchacha20poly1305.c.obj
ccache D:\espressif\.espressif\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DCONFIGURED -DHAVE_WEAK_SYMBOLS -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DNATIVE_LITTLE_ENDIAN -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Iconfig -I../../../../../../components/libsodium/libsodium/src/libsodium/include -I../../../../../../components/libsodium/port_include -I../../../../../../components/libsodium/libsodium/src/libsodium/include/sodium -I../../../../../../components/libsodium/port_include/sodium -I../../../../../../components/libsodium/port -I../../../../../../components/newlib/platform_include -I../../../../../../components/freertos/include -I../../../../../../components/heap/include -I../../../../../../components/log/include -I../../../../../../components/lwip/include/apps -I../../../../../../components/lwip/include/apps/sntp -I../../../../../../components/lwip/lwip/src/include -I../../../../../../components/lwip/port/esp32/include -I../../../../../../components/lwip/port/esp32/include/arch -I../../../../../../components/soc/esp32/include -I../../../../../../components/soc/include -I../../../../../../components/esp_rom/include -I../../../../../../components/esp_common/include -I../../../../../../components/xtensa/include -I../../../../../../components/xtensa/esp32/include -I../../../../../../components/esp32/include -I../../../../../../components/driver/include -I../../../../../../components/driver/esp32/include -I../../../../../../components/esp_ringbuf/include -I../../../../../../components/efuse/include -I../../../../../../components/efuse/esp32/include -I../../../../../../components/vfs/include -I../../../../../../components/esp_wifi/include -I../../../../../../components/esp_wifi/esp32/include -I../../../../../../components/esp_event/include -I../../../../../../components/esp_netif/include -I../../../../../../components/esp_eth/include -I../../../../../../components/tcpip_adapter/include -I../../../../../../components/app_trace/include -I../../../../../../components/mbedtls/port/include -I../../../../../../components/mbedtls/mbedtls/include -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.1-beta2\" -DESP_PLATFORM -MD -MT esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_box/curve25519xchacha20poly1305/box_curve25519xchacha20poly1305.c.obj -MF esp-idf\libsodium\CMakeFiles\__idf_libsodium.dir\libsodium\src\libsodium\crypto_box\curve25519xchacha20poly1305\box_curve25519xchacha20poly1305.c.obj.d -o esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_box/curve25519xchacha20poly1305/box_curve25519xchacha20poly1305.c.obj -c D:/espressif/esp-idf_v4.1-beta2/components/libsodium/libsodium/src/libsodium/crypto_box/curve25519xchacha20poly1305/box_curve25519xchacha20poly1305.c
ccache: error: Failed to create temporary file for esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_box/curve25519xchacha20poly1305/box_curve25519xchacha20poly1305.c.obj: No such file or directory
[9/214] Building C object esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_core/hchacha20/core_hchacha20.c.obj
[10/214] cmd.exe /C "cd /D D:\espressif\esp-idf_v4.1-beta2\examples\bluetooth\esp_ble_mesh\ble_mesh_node\onoff_server\build\esp-idf\partition_table && D:\espressif\.espressif\tools\cmake\3.13.4\bin\cmake.exe -E echo "Partition table binary generated. Contents:" && D:\espressif\.espressif\tools\cmake\3.13.4\bin\cmake.exe -E echo ******************************************************************************* && D:\espressif\.espressif\python_env\idf4.1_py3.7_env\Scripts\python.exe D:/espressif/esp-idf_v4.1-beta2/components/partition_table/gen_esp32part.py -q --offset 0x8000 --flash-size 2MB D:/espressif/esp-idf_v4.1-beta2/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_server/build/partition_table/partition-table.bin && D:\espressif\.espressif\tools\cmake\3.13.4\bin\cmake.exe -E echo *******************************************************************************"
Partition table binary generated. Contents:
*******************************************************************************
# Espressif ESP32 Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,
*******************************************************************************
ninja: build stopped: subcommand failed.
Adding "flash"'s dependency "all" to list of commands with default set of options.
Executing action: all (aliases: build)
Running ninja in directory d:\espressif\esp-idf_v4.1-beta2\examples\bluetooth\esp_ble_mesh\ble_mesh_node\onoff_server\build
Executing "ninja all"...
ninja failed with exit code 1
Attachments
error_log.log
(460.98 KiB) Downloaded 413 times

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

Re: 关于ESP-IDF Application Size Analysis启动失败的问题

Postby ESP_kondalkolipaka » Fri Jul 03, 2020 9:03 am

Hello,

It seems to me you're using esp-idf v4.1 but the application Size Analysis feature(In Eclipse) works only from esp-idf v4.2 onwards. It should also work on the master branch.

However, we will check if we can port this feature to work with idfv.4.1

Thanks

LHKsaint
Posts: 7
Joined: Fri Apr 10, 2020 4:46 am

Re: 关于ESP-IDF Application Size Analysis启动失败的问题

Postby LHKsaint » Fri Jul 03, 2020 9:31 am

好的,非常感谢,另外我提到的关于v4.1-beta2中onoff_server出错的问题不知道有没有解决方案,虽然我用v4.0.1也可以

Who is online

Users browsing this forum: No registered users and 93 guests