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

我使用espidf_v5.2.2版本编译人脸识别代码编译失败 (AIV-725) #301

Open
3 tasks done
monskate opened this issue Nov 3, 2024 · 1 comment
Open
3 tasks done

Comments

@monskate
Copy link

monskate commented Nov 3, 2024

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

编译成功

Actual behavior (suspected bug)

链接器无法找到 warp_affine 函数的定义

Error logs or terminal output

FAILED: human_face_recognition_lcd.elf
cmd.exe /C "cd . && D:\Espressif\tools\tools\xtensa-esp-elf\esp-13.2.0_20230928\xtensa-esp-elf\bin\xtensa-esp32s3-elf-g++.exe -mlongcalls  -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -Wl,--cref -Wl,--defsym=IDF_TARGET_ESP32S3=0 -Wl,--Map=D:/work/ICrobot5.0/human_face_recognition/lcd/build/human_face_recognition_lcd.map -Wl,--no-warn-rwx-segments -fno-rtti -fno-lto -Wl,--gc-sections -Wl,--warn-common -T esp32s3.peripherals.ld -T esp32s3.rom.ld -T esp32s3.rom.api.ld -T esp32s3.rom.libgcc.ld -T esp32s3.rom.newlib.ld -T esp32s3.rom.version.ld -T memory.ld -T sections.ld @CMakeFiles\human_face_recognition_lcd.elf.rsp -o human_face_recognition_lcd.elf  && cd ."
D:/Espressif/tools/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/Espressif/frameworks/esp-idf-v5.0.4/esp-who/components/esp-dl/lib/esp32s3\libmfn.a(face_recognition_tool.cpp.obj):(.literal._ZN21face_recognition_tool10align_faceIsEEvPN2dl6TensorIT_EES5_RSt6vectorIiSaIiEE[_ZN21face_recognition_tool10align_faceIsEEvPN2dl6TensorIT_EES5_RSt6vectorIiSaIiEE]+0x0): undefined reference to `void dl::image::warp_affine<short>(dl::Tensor<short>*, dl::Tensor<short>*, dl::math::Matrix<float>*)'
D:/Espressif/tools/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/Espressif/frameworks/esp-idf-v5.0.4/esp-who/components/esp-dl/lib/esp32s3\libmfn.a(face_recognition_tool.cpp.obj): in function `void face_recognition_tool::align_face<short>(dl::Tensor<short>*, dl::Tensor<short>*, std::vector<int, std::allocator<int> >&)':
/home/gansichen/Workspace/delete/aigit/master/dl/components/mfn/face_recognition_tool.cpp:251:(.text._ZN21face_recognition_tool10align_faceIsEEvPN2dl6TensorIT_EES5_RSt6vectorIiSaIiEE[_ZN21face_recognition_tool10align_faceIsEEvPN2dl6TensorIT_EES5_RSt6vectorIiSaIiEE]+0x192): undefined reference to `void dl::image::warp_affine<short>(dl::Tensor<short>*, dl::Tensor<short>*, dl::math::Matrix<float>*)'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

 *  终端进程“d:\Espressif\tools\tools\ninja\1.11.1\ninja.exe”已终止,退出代码: 1。

Steps to reproduce the behavior

编译

Project release version

v0.5.0

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Windows

Operating system version

windows11

Shell

other (details in Additional context)

Additional context

vscode

@github-actions github-actions bot changed the title 我使用espidf_v2.2版本编译人脸识别代码编译失败 我使用espidf_v2.2版本编译人脸识别代码编译失败 (AIV-725) Nov 3, 2024
@monskate monskate changed the title 我使用espidf_v2.2版本编译人脸识别代码编译失败 (AIV-725) 我使用espidf_v5.2.2版本编译人脸识别代码编译失败 (AIV-725) Nov 3, 2024
@100312dog
Copy link

@monskate 用idf 5.1把, 新的esp-who正在开发中,旧的不会再更新拉。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants