Project failed to compile URGENT

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
lucibel
Posts: 172
http://meble-kuchenne.info.pl
Joined: Thu Sep 23, 2021 3:44 pm
Location: France
Has thanked: 29 times
Been thanked: 22 times

Project failed to compile URGENT

Post by lucibel »

Project failed to compile .

Code: Select all

FAILED: esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_box/curve25519xchacha20poly1305/box_seal_curve25519xchacha20poly1305.c.obj 
ccache C:\esp-idf-tools\tools\xtensa-esp32-elf\esp-2020r3-8.4.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 -IC:/esp-idf/components/libsodium/libsodium/src/libsodium/include -IC:/esp-idf/components/libsodium/port_include -IC:/esp-idf/components/libsodium/libsodium/src/libsodium/include/sodium -IC:/esp-idf/components/libsodium/port_include/sodium -IC:/esp-idf/components/libsodium/port -IC:/esp-idf/components/newlib/platform_include -IC:/esp-idf/components/freertos/include -IC:/esp-idf/components/freertos/xtensa/include -IC:/esp-idf/components/heap/include -IC:/esp-idf/components/log/include -IC:/esp-idf/components/lwip/include/apps -IC:/esp-idf/components/lwip/include/apps/sntp -IC:/esp-idf/components/lwip/lwip/src/include -IC:/esp-idf/components/lwip/port/esp32/include -IC:/esp-idf/components/lwip/port/esp32/include/arch -IC:/esp-idf/components/lwip/port/esp32/tcp_isn -IC:/esp-idf/components/soc/src/esp32/. -IC:/esp-idf/components/soc/src/esp32/include -IC:/esp-idf/components/soc/include -IC:/esp-idf/components/esp_rom/include -IC:/esp-idf/components/esp_rom/esp32 -IC:/esp-idf/components/esp_common/include -IC:/esp-idf/components/esp_system/include -IC:/esp-idf/components/xtensa/include -IC:/esp-idf/components/xtensa/esp32/include -IC:/esp-idf/components/esp32/include -IC:/esp-idf/components/driver/include -IC:/esp-idf/components/driver/esp32/include -IC:/esp-idf/components/esp_ringbuf/include -IC:/esp-idf/components/efuse/include -IC:/esp-idf/components/efuse/esp32/include -IC:/esp-idf/components/espcoredump/include -IC:/esp-idf/components/esp_timer/include -IC:/esp-idf/components/esp_ipc/include -IC:/esp-idf/components/soc/soc/esp32/include -IC:/esp-idf/components/soc/soc/esp32/../include -IC:/esp-idf/components/soc/soc/esp32/private_include -IC:/esp-idf/components/vfs/include -IC:/esp-idf/components/esp_wifi/include -IC:/esp-idf/components/esp_wifi/esp32/include -IC:/esp-idf/components/esp_event/include -IC:/esp-idf/components/esp_netif/include -IC:/esp-idf/components/esp_eth/include -IC:/esp-idf/components/tcpip_adapter/include -IC:/esp-idf/components/app_trace/include -IC:/esp-idf/components/mbedtls/port/include -IC:/esp-idf/components/mbedtls/mbedtls/include -IC:/esp-idf/components/mbedtls/esp_crt_bundle/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 -Wno-parentheses -Wno-sizeof-pointer-memaccess -Wno-clobbered -Wno-format-overflow -Wno-stringop-truncation -Wno-misleading-indentation -Wno-cast-function-type -Wno-implicit-fallthrough -Wno-unused-const-variable -Wno-switch-unreachable -Wno-format-truncation -Wno-memset-elt-size -Wno-int-in-bool-context -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"-128-NOTFOUND\" -DESP_PLATFORM -Wno-unused-function -MD -MT esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_box/curve25519xchacha20poly1305/box_seal_curve25519xchacha20poly1305.c.obj -MF esp-idf\libsodium\CMakeFiles\__idf_libsodium.dir\libsodium\src\libsodium\crypto_box\curve25519xchacha20poly1305\box_seal_curve25519xchacha20poly1305.c.obj.d -o esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_box/curve25519xchacha20poly1305/box_seal_curve25519xchacha20poly1305.c.obj   -c C:/esp-idf/components/libsodium/libsodium/src/libsodium/crypto_box/curve25519xchacha20poly1305/box_seal_curve25519xchacha20poly1305.c
ESP32_Config_WifiV3.3.msg.txt
(15.89 KiB) Downloaded 93 times
thx a lot for your help!
Seb

LeighM
Valued Contributor
Posts: 394
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 69 times
Been thanked: 208 times

Re: Project failed to compile URGENT

Post by LeighM »

Based on a quick look at the ESP32 forums, could you try moving your project to a directory with a shorter path, e.g. G:\tmp

lucibel
Posts: 172
Joined: Thu Sep 23, 2021 3:44 pm
Location: France
Has thanked: 29 times
Been thanked: 22 times

Re: Project failed to compile URGENT

Post by lucibel »

Hi LeighM,
yes I can , but I using il in this directory since last November and without problem before.

I will try now, I will reply soon
Based on a quick look at the ESP32 forums, could you try moving your project to a directory with a shorter path, e.g. G:\tmp
Seb

lucibel
Posts: 172
Joined: Thu Sep 23, 2021 3:44 pm
Location: France
Has thanked: 29 times
Been thanked: 22 times

Re: Project failed to compile URGENT

Post by lucibel »

Based on a quick look at the ESP32 forums, could you try moving your project to a directory with a shorter path, e.g. G:\tmp
same problem

Code: Select all

FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj 
ccache C:\Users\seb\esp-idf-tools\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -Iconfig -IC:/Users/seb/esp idf/components/newlib/platform_include -IC:/Users/seb/esp-idf/components/freertos/include -IC:/Users/seb/esp-idf/components/heap/include -IC:/Users/seb/esp-idf/components/log/include -IC:/Users/seb/esp-idf/components/lwip/include/apps -IC:/Users/seb/esp-
ESP32_Config_WifiV3.3.msg.txt
(219.79 KiB) Downloaded 89 times
versions .jpg
versions .jpg (16.65 KiB) Viewed 2728 times
Seb

LeighM
Valued Contributor
Posts: 394
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 69 times
Been thanked: 208 times

Re: Project failed to compile URGENT

Post by LeighM »

Very odd, you have a different error now.

Code: Select all

error: 'FCM_HourResynchronize' undeclared (first use in this function); did you mean 'FCM_HourResyn'?
Which implies you have macro/function HourResyn, but are calling HourResynchronize?
Any corruption on your hard drive, or out of space? Or a networked drive having problems? (try C:\tmp)
Any other thoughts on what has changed since the project last compiled OK?

lucibel
Posts: 172
Joined: Thu Sep 23, 2021 3:44 pm
Location: France
Has thanked: 29 times
Been thanked: 22 times

Re: Project failed to compile URGENT

Post by lucibel »

hello,
yes you are right, I used the wrong version.
but I made test
Based on a quick look at the ESP32 forums, could you try moving your project to a directory with a shorter path, e.g. G:\tmp
with previous one and it's same.
I'm now making a complete new install
thx
Seb

lucibel
Posts: 172
Joined: Thu Sep 23, 2021 3:44 pm
Location: France
Has thanked: 29 times
Been thanked: 22 times

Re: Project failed to compile URGENT

Post by lucibel »

Hi,
I have just made complete new install with this versions of Python, Git and idf.py

Code: Select all

C:\Users\seb\Desktop\esp-idf>version
C:\Users\seb\Desktop\esp-idf>python --version
Python 3.8.7

C:\Users\seb\Desktop\esp-idf>Git --version
git version 2.30.1.windows.1

C:\Users\seb\Desktop\esp-idf>idf.py --version
ESP-IDF v4.3.2
All is working well for the moment. Even after menuconfig.

Thx to everybody who tried to help me to solve my problem.
You can check your versions in 1 time by added this file in the esp.idf directory, then replace .txt by .bat
Then open ESP-IDF cmd and type

Code: Select all

version
Thx to everybody who tried to help me to solve my problem.
Attachments
Version.txt
(49 Bytes) Downloaded 93 times
Seb

Post Reply