This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好!
我正在为 A72内核编写一个应用、该应用使用 pdk_jacinto_07_03_00_29中的 socket.h 和 in.h 头文件、但无法包含这些文件。 我收到以下错误:ti/build$ make -s enet_testapp Board=j721e_evm core=mpu1_0 profile=release build_os=linux# compiling j721e_evm:j721e:mpu1_0:release:enet_testapp: main.cmain:23:10: fatal error: ausr/sube/linux-include/no-directory/lib-usr
我可以包括 stdio.h、string.h 和各种其他标准头文件。 此外、在构建中的 pdk_tools_path.mk 文件中、我发现使用了 gcc-arm-9.2-2019.12-x86_64 - none-elf。 因为头文件中没有套接字和。 我发现 在 gcc-arm-9.2-2019.12-x86_64-arch64-no-linux-GNU 中存在头文件。 我也尝试添加该 filepath、但遇到类似的错误。 是否可以在 pdk_tools_path.mk 文件的工具链中添加该字段路径,或以任何其他方式解决此问题。 谢谢。
Meghant、
您需要在 要构建的同一终端上运行 pdksetupenv.bat (windows)或 pdksetupenv.sh (Linux)、以使用工具目录进行路径设置。
Jian