openEmbedded sdk安装

openEmbedded sdk安装,sdk,openembedded,Sdk,Openembedded,我正在尝试使用libxml2和freetype软件包为arm安装openEmbedded sdk 我希望这里有人能给我一些好的建议 问题是关于部署sdk和提供makefile的include路径 要部署sdk,我使用/home/vincent/oe_dir3/setup scripts/build/tmp defaultsetup eglibc eglibc/deploy/sdk/oecore-i686-armv5te-toolchain-oe-core.0.sh并选择/home/vincent

我正在尝试使用libxml2和freetype软件包为arm安装openEmbedded sdk

我希望这里有人能给我一些好的建议

问题是关于部署sdk和提供makefile的include路径

要部署sdk,我使用/home/vincent/oe_dir3/setup scripts/build/tmp defaultsetup eglibc eglibc/deploy/sdk/oecore-i686-armv5te-toolchain-oe-core.0.sh并选择/home/vincent/oe_dir3/oecore-i686/目录

首先,我很惊讶在安装目录中没有包含freetype或libxml2

vincent@electronic:~$ find /home/vincent/oe_dir3 -name "freetype" | grep "include/freetype"
/home/vincent/oe_dir3/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/sysroots/eukrea-cpuimx25/usr/include/freetype2/freetype
我将继续使用上述路径进行制作,包括

我遇到以下错误:

 Linking... /home/vincent/eclipseProjects/sensigom/obj/parcoursMusical.o
/home/vincent/oe_dir3/oecore-i686/sysroots/i686-oesdk-linux/usr/bin/armv5te-oe-linux-gnueabi/../../libexec/armv5te-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.7.2/ld: cannot     find crt1.o: No such file or directory
/home/vincent/oe_dir3/oecore-i686/sysroots/i686-oesdk-linux/usr/bin/armv5te-oe-linux-gnueabi/../../libexec/armv5te-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.7.2/ld: cannot     find crti.o: No such file or directory
/home/vincent/oe_dir3/oecore-i686/sysroots/i686-oesdk-linux/usr/bin/armv5te-oe-linux-gnueabi/../../libexec/armv5te-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.7.2/ld: cannot     find crtbegin.o: No such file or directory
/home/vincent/oe_dir3/oecore-i686/sysroots/i686-oesdk-linux/usr/bin/armv5te-oe-linux-gnueabi/../../libexec/armv5te-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.7.2/ld: cannot    find -lstdc++
/home/vincent/oe_dir3/oecore-i686/sysroots/i686-oesdk-linux/usr/bin/armv5te-oe-linux-gnueabi/../../libexec/armv5te-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.7.2/ld: cannot    find -lm
collect2: error: ld returned 1 exit status
我不知道在哪里搜索,也不知道在哪个文档中搜索。如果你知道我会很高兴的


在生成sdk之前,必须将Freetype和libxml2添加到rootfs中

IMAGE_INSTALL += "freetype libxml2" IMAGE_INSTALL+=“freetype libxml2”
然后,它们必须以我找到的方式有效地出现在您的系统根中。如果其他人对include有问题,我只能鼓励他们学习如何使用食谱。