Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/cmake/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Cmake ME DESTINATION bin)和“build hello”结束时没有错误。映像位于路径中:`oe workdir/image/usr/bin/`I'还添加了“image\u INSTALL\u append=“hello“在我的build/conf_Cmake_Yocto_Devtools_Ninja_Recipe - Fatal编程技术网

Cmake ME DESTINATION bin)和“build hello”结束时没有错误。映像位于路径中:`oe workdir/image/usr/bin/`I'还添加了“image\u INSTALL\u append=“hello“在我的build/conf

Cmake ME DESTINATION bin)和“build hello”结束时没有错误。映像位于路径中:`oe workdir/image/usr/bin/`I'还添加了“image\u INSTALL\u append=“hello“在我的build/conf,cmake,yocto,devtools,ninja,recipe,Cmake,Yocto,Devtools,Ninja,Recipe,ME DESTINATION bin)和“build hello”结束时没有错误。映像位于路径中:`oe workdir/image/usr/bin/`I'还添加了“image\u INSTALL\u append=“hello“在我的build/conf/local中,conf。运行bitbake core image minimal everithing是可以的,但是在quemux中,这个hello映像在哪里?我也在usr/bin登记过。谢谢。有些东西需要检查:检查配方$WORKDIR/im


ME DESTINATION bin)和“build hello”结束时没有错误。映像位于路径中:`oe workdir/image/usr/bin/`I'还添加了“image\u INSTALL\u append=“hello“在我的
build/conf/local中,conf
。运行bitbake core image minimal everithing是可以的,但是在quemux中,这个hello映像在哪里?我也在usr/bin登记过。谢谢。有些东西需要检查:检查配方$WORKDIR/image/以确保文件是由构建系统安装的,$WORKDIR/packages split/以查看是否已打包。检查映像清单文件,确保映像中确实包含您的包。
devtool add hello https://github.com/robimperio/hellocmake.git
# Recipe created by recipetool
# This is the basis of a recipe and may need further editing in order to be fully functional.
# (Feel free to remove these comments when editing.)

# Unable to find any files that looked like license statements. Check the accompanying
# documentation and source headers and set LICENSE and LIC_FILES_CHKSUM accordingly.
#
# NOTE: LICENSE is being set to "CLOSED" to allow you to at least start building - if
# this is not accurate with respect to the licensing of the software being built (it
# will not be in most cases) you must specify the correct value before using this
# recipe for anything other than initial testing/development!
LICENSE = "CLOSED"
LIC_FILES_CHKSUM = ""

SRC_URI = "git://github.com/robimperio/hellocmake.git;protocol=https"

# Modify these as desired
PV = "1.0+git${SRCPV}"
SRCREV = "008d549f796cd7cef537fb26a72ed16f56ad7c8b"

S = "${WORKDIR}/git"

inherit cmake

# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
EXTRA_OECMAKE = ""
bitbake hello 
compiling from external source tree /home/roberto/Scrivania/dev/build/workspace/sources/hello
ERROR: hello-1.0+git999-r0 do_install: Execution of '/home/roberto/Scrivania/dev/build/tmp/work/core2-64-poky-linux/hello/1.0+git999-r0/temp/run.do_install.5279' failed with exit code 1:
ninja: error: unknown target 'install'
 bitbake hello
    Loading cache: 100% |##########################################################################################################################| Time: 0:00:00
Loaded 1365 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################################| Time: 0:00:00
Parsing of 790 .bb files complete (789 cached, 1 parsed). 1366 targets, 42 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.49.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "qemux86-64"
DISTRO               = "poky"
DISTRO_VERSION       = "3.2+snapshot-20201117"
TUNE_FEATURES        = "m64 core2"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "master:1ad28364512be087f35b7cac6f6289027c070767"
workspace            = "<unknown>:<unknown>"

Initialising tasks: 100% |#####################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 0 Found 0 Missed 0 Current 132 (0% match, 100% complete)
NOTE: Executing Tasks
NOTE: hello: compiling from external source tree /home/roberto/Scrivania/dev/build/workspace/sources/hello
ERROR: hello-1.0+git999-r0 do_install: Execution of '/home/roberto/Scrivania/dev/build/tmp/work/core2-64-poky-linux/hello/1.0+git999-r0/temp/run.do_install.5279' failed with exit code 1:
ninja: error: unknown target 'install'
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/roberto/Scrivania/dev/build/tmp/work/core2-64-poky-linux/hello/1.0+git999-r0/temp/log.do_install.5279
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['virtual:native:/home/roberto/Scrivania/dev/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/roberto/Scrivania/dev/poky/meta/recipes-devtools/ninja/ninja_1.10.1.bb:do_populate_sysroot', '/home/roberto/Scrivania/dev/poky/meta/recipes-devtools/cmake/cmake-native_3.18.4.bb:do_populate_sysroot', '/home/roberto/Scrivania/dev/poky/meta/recipes-devtools/gcc/gcc-cross_10.2.bb:do_populate_sysroot', '/home/roberto/Scrivania/dev/poky/meta/recipes-devtools/gcc/gcc-runtime_10.2.bb:do_populate_sysroot', '/home/roberto/Scrivania/dev/poky/meta/recipes-core/glibc/glibc_2.32.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['pseudo-native', 'ninja-native', 'cmake-native', 'gcc-cross-x86_64', 'gcc-runtime', 'glibc', 'quilt-native', 'curl-native', 'bzip2-native', 'ncurses-native', 'zlib-native', 'xz-native', 'gmp-native', 'libtool-native', 'autoconf-native', 'linux-libc-headers', 'mpfr-native', 'flex-native', 'binutils-cross-x86_64', 'automake-native', 'patch-native', 'gnu-config-native', 'texinfo-dummy-native', 'libmpc-native', 'libgcc', 're2c-native', 'pkgconfig-native', 'openssl-native', 'gettext-minimal-native', 'm4-native', 'attr-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| NOTE: DESTDIR=/home/roberto/Scrivania/dev/build/tmp/work/core2-64-poky-linux/hello/1.0+git999-r0/image VERBOSE=1 cmake --build /home/roberto/Scrivania/dev/build/tmp/work/core2-64-poky-linux/hello/1.0+git999-r0/hello-1.0+git999/ --target install --
| ninja: error: unknown target 'install'
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/roberto/Scrivania/dev/build/tmp/work/core2-64-poky-linux/hello/1.0+git999-r0/temp/run.do_install.5279' failed with exit code 1:
| ninja: error: unknown target 'install'
| WARNING: exit code 1 from a shell command.
| 
ERROR: Task (/home/roberto/Scrivania/dev/build/workspace/recipes/hello/hello_git.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 552 tasks of which 549 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/roberto/Scrivania/dev/build/workspace/recipes/hello/hello_git.bb:do_install
Summary: There was 1 ERROR message shown, returning a non-zero exit code.