Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

espressif__freetype component doesn't build (IEC-101) #317

Closed
2 tasks done
erenard opened this issue Apr 8, 2024 · 0 comments · Fixed by #320
Closed
2 tasks done

espressif__freetype component doesn't build (IEC-101) #317

erenard opened this issue Apr 8, 2024 · 0 comments · Fixed by #320

Comments

@erenard
Copy link

erenard commented Apr 8, 2024

Answers checklist.

  • I have read the documentation of the component in question and the issue is not addressed there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

How to reproduce:

  • Create a new project targetting esp32s3
  • Change main/idf_component.yml to:
dependencies:
   espressif/freetype: "^2.13.0~1"
   idf: ">=5.2.1"
   lvgl/lvgl: "=8.4.0"
  • run idf.py build, you will get:
[1330/1371] Building C object esp-idf/espressif__freetype/output/CMakeFiles/freetype.dir/src/base/ftbase.c.obj
FAILED: esp-idf/espressif__freetype/output/CMakeFiles/freetype.dir/src/base/ftbase.c.obj
/home/eric/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc -DESP_PLATFORM -DFT2_BUILD_LIBRARY -DIDF_VER=\"v5.2.1-268-g2152112ff8\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -I/home/eric/Sources/vector-vision/Code/build/config -I/home/eric/Sources/vector-vision/Code/build/esp-idf/espressif__freetype/output/include -I/home/eric/Sources/vector-vision/Code/managed_components/espressif__freetype/freetype/include -I/home/eric/Sources/vector-vision/Code/build/esp-idf/espressif__freetype/output/include/freetype/config -I/usr/include/harfbuzz -I/usr/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/newlib/platform_include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/freertos/config/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/freertos/config/include/freertos -I/mnt/ssd/home/Dev-Tools/esp-idf/components/freertos/config/xtensa/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos -I/mnt/ssd/home/Dev-Tools/esp-idf/components/freertos/esp_additions/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/esp_hw_support/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/esp_hw_support/include/soc -I/mnt/ssd/home/Dev-Tools/esp-idf/components/esp_hw_support/include/soc/esp32s3 -I/mnt/ssd/home/Dev-Tools/esp-idf/components/esp_hw_support/port/esp32s3/. -I/mnt/ssd/home/Dev-Tools/esp-idf/components/heap/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/log/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/soc/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/soc/esp32s3 -I/mnt/ssd/home/Dev-Tools/esp-idf/components/soc/esp32s3/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/hal/platform_port/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/hal/esp32s3/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/hal/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/esp_rom/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/esp_rom/include/esp32s3 -I/mnt/ssd/home/Dev-Tools/esp-idf/components/esp_rom/esp32s3 -I/mnt/ssd/home/Dev-Tools/esp-idf/components/esp_common/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/esp_system/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/esp_system/port/soc -I/mnt/ssd/home/Dev-Tools/esp-idf/components/esp_system/port/include/private -I/mnt/ssd/home/Dev-Tools/esp-idf/components/xtensa/esp32s3/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/xtensa/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/xtensa/deprecated_include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/lwip/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/lwip/include/apps -I/mnt/ssd/home/Dev-Tools/esp-idf/components/lwip/include/apps/sntp -I/mnt/ssd/home/Dev-Tools/esp-idf/components/lwip/lwip/src/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/lwip/port/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/lwip/port/freertos/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/lwip/port/esp32xx/include -I/mnt/ssd/home/Dev-Tools/esp-idf/components/lwip/port/esp32xx/include/arch -I/mnt/ssd/home/Dev-Tools/esp-idf/components/lwip/port/esp32xx/include/sys -mlongcalls  -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -fvisibility=hidden -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fno-shrink-wrap -fmacro-prefix-map=/home/eric/Sources/vector-vision/Code=. -fmacro-prefix-map=/mnt/ssd/home/Dev-Tools/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -Wno-dangling-pointer -MD -MT esp-idf/espressif__freetype/output/CMakeFiles/freetype.dir/src/base/ftbase.c.obj -MF esp-idf/espressif__freetype/output/CMakeFiles/freetype.dir/src/base/ftbase.c.obj.d -o esp-idf/espressif__freetype/output/CMakeFiles/freetype.dir/src/base/ftbase.c.obj -c /home/eric/Sources/vector-vision/Code/managed_components/espressif__freetype/freetype/src/base/ftbase.c
In file included from /home/eric/Sources/vector-vision/Code/managed_components/espressif__freetype/freetype/include/freetype/config/ftstdlib.h:130,
                 from /home/eric/Sources/vector-vision/Code/build/esp-idf/espressif__freetype/output/include/freetype/config/ftconfig.h:42,
                 from /home/eric/Sources/vector-vision/Code/managed_components/espressif__freetype/freetype/include/freetype/internal/ftdebug.h:29,
                 from /home/eric/Sources/vector-vision/Code/managed_components/espressif__freetype/freetype/src/base/ftadvanc.c:19,
                 from /home/eric/Sources/vector-vision/Code/managed_components/espressif__freetype/freetype/src/base/ftbase.c:21:
/usr/include/stdlib.h:153:8: error: '_Float128' is not supported on this target
  153 | extern _Float128 strtof128 (const char *__restrict __nptr,
      |        ^~~~~~~~~
/usr/include/stdlib.h:165:8: error: '_Float64x' is not supported on this target
  165 | extern _Float64x strtof64x (const char *__restrict __nptr,
      |        ^~~~~~~~~
/usr/include/stdlib.h:311:25: error: '_Float128' is not supported on this target
  311 |                         _Float128 __f)
      |                         ^~~~~~~~~
/usr/include/stdlib.h:323:25: error: '_Float64x' is not supported on this target
  323 |                         _Float64x __f)
      |                         ^~~~~~~~~
/usr/include/stdlib.h:450:8: error: '_Float128' is not supported on this target
  450 | extern _Float128 strtof128_l (const char *__restrict __nptr,
      |        ^~~~~~~~~
/usr/include/stdlib.h:464:8: error: '_Float64x' is not supported on this target
  464 | extern _Float64x strtof64x_l (const char *__restrict __nptr,
      |        ^~~~~~~~~
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/eric/Sources/vector-vision/Code/build/log/idf_py_stderr_output_38826 and /home/eric/Sources/vector-vision/Code/build/log/idf_py_stdout_output_38826
@github-actions github-actions bot changed the title espressif__freetype component doesn't build espressif__freetype component doesn't build (IEC-101) Apr 8, 2024
@igrr igrr linked a pull request May 21, 2024 that will close this issue
@igrr igrr closed this as completed in #320 Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants