我刚开始使用CMake。我在Debian主机上为运行嵌入式Linux的设备使用CMake进行交叉编译。下面是我的CMake工具链文件:
INCLUDE(CMakeForceCompiler)
SET(CMAKE_SYSTEM_NAME Linux) # this one is important
SET(CMAKE_SYSTEM_VERSION 1) # this one not so much
# this is the location of the amd64 toolchain targeting the device
SET(CMAKE_C_COMPILER /
我用arm-无linux-gnueabi版本4.4.1构建了glibc-2.11。我把二进制文件拷贝到我董事会的根目录上。当我输入"ldconfig“时,会遇到以下错误。
**ldconfig: Can't open configuration file /home/gykim/working/s1cam/gykim/stream/bsp/linux/util/glibc-2.11/_install/etc/ld.so.conf: No such file or directory
ldconfig: Can't create temporary cache file
即使在从零开始构建所有依赖项和构建目录之后,我也会得到Yocto的几个.bb文件的.bb错误。
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at
/home/fsl-community-bsp-jethro1/build/tmp/work/imx6q-poky-
linux-gnueabi/linux-fslc-imx/3.14-1.1.x+gitAUTOINC+327d5c9063-
r0/temp/log.do_compile.14224)
ERROR: Logfi
WARNING: /home/user1/fsl-arm-yocto-bsp_nxp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.1.15.bb.do_compile is tainted from a forced run
WARNING: /home/user1/fsl-arm-yocto-bsp_nxp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2016.03.bb.do_compi
根据其他列的条件,我需要根据计算添加一些列。
例如,我有这样的想法:
EVENT_ID Color WinnerPrice WinnerCount 0 to 5 5 to 15 15 to 50 BSP
---------------------- ------------ ------------- ----------------------
我正在添加新的补丁,gstreamer插件-坏。
我使用下面的命令创建修补程序。
git diff A B > 0040-forenex-victor.patch
然后我把它移到source/meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad
之后,我在source/meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.10.%.bbappe
标题并没有很好地解释它,所以我将在这里更好地解释它。我并不期望被灌输,但我希望被指引到正确的方向,告诉我如何做到这一点。
我有一个文件夹,我们称它为A。
A中还有100个其他文件夹,它们的文件夹名称完全是随机数。
在每个文件夹中,都有一个png文件、一个txt文件和一个bsp文件。
我必须将bsp文件的文件夹目录放到一个文本文件中,以便其他程序可以读取它们(但我认为这是无关紧要的)
我希望能够找到每个文件的文件目录,例如,它将打印
\A\<random number for the folder>\<bsp file name> \A\<another rando
首先,我使用:
npm install three --save
npm install @types/three
npm install three-js-csg --save
之后:
import * as THREE from 'three';
import * as csg from 'three-js-csg';
let sphere1BSP = new csg(sphere1);
let cube2BSP = new csg(cube);
let resultBSP = sphere1BSP.subtract(cube2BSP);
但它被抛到了异
运行ubuntu12.04,我下载了源代码并按指示编译了它(参见)。下面是显示的错误消息。
cmake --build . --config Release
[ 1%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bsp/bsp.cpp.o
In file included from /home/andreif/downlib/dlib-19.2/dlib/bsp/../sockets/../threads/parallel_for_extension.h:9:0,
from /home/my_path/dlib-19.2/dlib/b