rk3308b-cc-plus编译过程、遇到的所有问题及解决方案

这篇具有很好参考价值的文章主要介绍了rk3308b-cc-plus编译过程、遇到的所有问题及解决方案。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

1. 文件解压

[xt@xt-QiTianM450-N000:~/Desktop/firefly/Linux_SDK]$ md5sum rk3308_linux_release_v1.5.0a_20221212_split_dir/*firefly_split*
[xt@xt-QiTianM450-N000:~/Desktop/firefly/Linux_SDK]$ mkdir ~/Desktop/proj/
[xt@xt-QiTianM450-N000:~/Desktop/firefly/Linux_SDK]$ cd ~/Desktop/proj/
[xt@xt-QiTianM450-N000:~/Desktop/proj]$ cat /home/xt/Desktop/firefly/Linux_SDK/rk3308_linux_release_v1.5.0a_20221212_split_dir/*firefly_split* | tar -xzv
[xt@xt-QiTianM450-N000:~/Desktop/proj]$ cd rk3308_linux_release_v1.5.0a_20221212
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ .repo/repo/repo sync -l
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ .repo/repo/repo sync -c --no-tags
warning: project 'repo' branch 'stable' is not signed
warning: Skipped upgrade to unverified version
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ .repo/repo/repo start firefly --all
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ sudo ./build.sh roc-rk3308b-cc-plus-ubuntu.mk
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ export RK_ARCH=arm64
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ export RK_UBOOT_DEFCONFIG=firefly-rk3308-debug-uart4
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ export RK_KERNEL_DEFCONFIG=firefly-rk3308b_linux_defconfig
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ export RK_KERNEL_DTS=rk3308b-roc-cc-plus-amic_emmc
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ export RK_PARAMETER=parameter-64bit-ubuntu.txt
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ export RK_ROOTFS_IMG=ubuntu_rootfs/rk3308-ubuntu_rootfs.img
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/ubuntu18.04]$ mv ihc3308gw-ubuntu18.04-minimal-rootfs-20220523.img /home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/ubuntu_rootfs/rk3308-ubuntu_rootfs.img

2. SDK__分开编译

[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ ./build.sh kernel
ERROR: exit code 1 from line 730:
    ln -sf $TOP_DIR/kernel/$RK_BOOT_IMG $TOP_DIR/rockdev/boot.img

(1)ERROR: 软链接时权限不够

[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ sudo chmod 777 rockdev
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ ./build.sh kernel
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ ./build.sh recovery
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ ./mkfirmware.sh
 Linking rootfs.img from /home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/rootfs/rk3308-ubuntu_rootfs.img... 
 warning: /home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/rootfs/rk3308-ubuntu_rootfs.img not found! 
stat: 无法获取'/home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/rootfs/rk3308-ubuntu_rootfs.img' 的文件状态(stat): 没有那个文件或目录
./mkfirmware.sh: 行 98: / 1024 :语法错误: 需要操作数 (错误符号是 "/ 1024 ")
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/rockdev]$ ll
总用量 14404
drwxrwxrwx  3 root root     4096 29 12:06 ./ 直接给root权限做
drwxrwxr-x 16 xt   xt       4096 29 11:58 ../
lrwxrwxrwx  1 xt   xt         19 29 12:06 boot.img -> ../kernel/zboot.img
lrwxrwxrwx  1 xt   xt         37 29 12:06 MiniLoaderAll.bin -> ../u-boot/rk3308_loader_v2.06.133.bin
lrwxrwxrwx  1 xt   xt         44 29 12:06 misc.img -> ../device/rockchip/rockimg/wipe_all-misc.img*
drwxr-xr-x  2 root root     4096 29 11:53 pack/
lrwxrwxrwx  1 xt   xt         52 29 12:06 parameter.txt -> ../device/rockchip/rk3308/parameter-64bit-ubuntu.txt
-rw-rw-r--  1 xt   xt   14737408 29 12:05 recovery.img
--> 这一行有问题lrwxrwxrwx  1 xt   xt         34 29 12:06 rootfs.img -> ../rootfs/rk3308-ubuntu_rootfs.img
lrwxrwxrwx  1 xt   xt         19 29 12:06 trust.img -> ../u-boot/trust.img
lrwxrwxrwx  1 xt   xt         19 29 12:06 uboot.img -> ../u-boot/uboot.img

解决方案

[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ mv ubuntu_rootfs rootfs

(2)ERROR: mv权限不够

[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ ./build.sh updateimg
mv: cannot move '/home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/rockdev/update.img' to '/home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/rockdev/pack/ROC-RK3308B-CC-PLUS_Rk3308_v1.5.0a_230209.img': Permission denied
ERROR: Running build_updateimg failed!
ERROR: exit code 1 from line 1649:
    mv $IMAGE_PATH/update.img $IMAGE_PATH/pack/$IMGNAME

解决方案

[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ sudo ./build.sh updateimg

3. buildroot__分开编译

[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ ./build.sh roc-rk3308b-cc-plus-buildroot.mk
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ export RK_ARCH=arm64
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ export RK_UBOOT_DEFCONFIG=firefly-rk3308-debug-uart4 
[xt@xt-QiTianM450-N000:~/Des[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ ./build.sh buildroot
ktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ export RK_KERNEL_DEFCONFIG=firefly-rk3308b_linux_defconfig
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ export RK_KERNEL_DTS=rk3308b-roc-cc-plus-amic_emmc
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ export RK_CFG_BUILDROOT=firefly_rk3308_release
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ export RK_CFG_RECOVERY=firefly_rk3308_recovery
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ export RK_PARAMETER=parameter-64bit-emmc.txt
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE} 
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ ./build.sh uboot
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ ./build.sh kernel

(1)ERROR: ?(未解决)

[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ ./build.sh recovery
2023-02-09T12:14:36 >>> host-m4 1.4.18 Building
Done in 1min 31s  (error code: 2)
Command exited with non-zero status 2
you take 1:32.29 to build recovery
ERROR: Running build_recovery failed!
ERROR: exit code 2 from line 1080:
    /usr/bin/time -f "you take %E to build recovery" $COMMON_DIR/mk-ramdisk.sh recovery.img $RK_CFG_RECOVERY

解决方案

code 2 (ENOENT):No such file or directory文章来源地址https://www.toymoban.com/news/detail-707373.html

(2)ERROR: Please port gnulib freadahead.c to your platform!

[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ ./build.sh buildroot
2023-02-09T12:21:47 freadahead.c: In function 'freadahead':
2023-02-09T12:21:47 freadahead.c:92:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
2023-02-09T12:21:47 92 |  #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
2023-02-09T12:21:47 |   ^~~~~
2023-02-09T12:21:47 make[5]: *** [Makefile:1915: freadahead.o] Error 1
2023-02-09T12:21:47 make[5]: *** Waiting for unfinished jobs....
2023-02-09T12:21:47 CC       printf-args.o
2023-02-09T12:21:47 fseeko.c: In function 'rpl_fseeko':
2023-02-09T12:21:47 fseeko.c:110:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib."
2023-02-09T12:21:47 110 |   #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib."
2023-02-09T12:21:47 |    ^~~~~
2023-02-09T12:21:47 make[5]: *** [Makefile:1915: fseeko.o] Error 1
2023-02-09T12:21:47 make[4]: *** [Makefile:1674: all] Error 2
2023-02-09T12:21:47 make[3]: *** [Makefile:1572: all-recursive] Error 1
2023-02-09T12:21:47 make[2]: *** [Makefile:1528: all] Error 2
2023-02-09T12:21:47 make[1]: *** [package/pkg-generic.mk:250: /home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/build/host-m4-1.4.18/.stamp_built] Error 2
2023-02-09T12:21:47 make: *** [/home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/Makefile:16: _all] Error 2
Command exited with non-zero status 1
you take 1:23.57 to build builroot
ERROR: Running build_buildroot failed!
ERROR: exit code 1 from line 888:
    /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIG

解决方案

在该目录下使用命令行:/home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/build/host-m4-1.4.18/
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ cd /home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/build/host-m4-1.4.18/
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/build/host-m4-1.4.18]$ sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/build/host-m4-1.4.18]$ echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h

(3)ERROR: Please port gnulib fseterr.c

[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ ./build.sh buildroot
2023-02-09T12:53:17 77 |  #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib."
2023-02-09T12:53:17 |   ^~~~~
2023-02-09T12:53:17 CC       lib/isnanl.o
2023-02-09T12:53:17 make[4]: *** [Makefile:3466: lib/fseterr.o] Error 1
2023-02-09T12:53:17 make[4]: *** Waiting for unfinished jobs....
2023-02-09T12:53:17 CC       lib/obstack.o
2023-02-09T12:53:17 make[3]: *** [Makefile:4522: all-recursive] Error 1
2023-02-09T12:53:17 make[2]: *** [Makefile:2625: all] Error 2
2023-02-09T12:53:17 make[1]: *** [package/pkg-generic.mk:250: /home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/build/host-bison-3.0.4/.stamp_built] Error 2
2023-02-09T12:53:17 make: *** [/home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/Makefile:16: _all] Error 2
Command exited with non-zero status 1
you take 27:17.56 to build builroot
ERROR: Running build_buildroot failed!

解决方案

在该目录下使用命令行:/home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/build/host-bison-3.0.4
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ cd /home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/build/host-bison-3.0.4
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/build/host-bison-3.0.4]$ sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/build/host-bison-3.0.4]$ echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h

(4)ERROR: error: ‘%s’ directive argument is null

[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ ./build.sh buildroot
2023-02-09T13:39:30 gdbusauth.c:1305:11: error: '%s' directive argument is null [-Werror=format-overflow=]
2023-02-09T13:39:30 1305 |           debug_print ("SERVER: WaitingForBegin, read '%s'", line);
2023-02-09T13:39:30 |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-02-09T13:39:30 gdbusmessage.c:2700:30: error: '%s' directive argument is null [-Werror=format-overflow=]
2023-02-09T13:39:30 2700 |       tupled_signature_str = g_strdup_printf ("(%s)", signature_str);
2023-02-09T13:39:30 |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

解决方案

[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ sudo find / -name gdbusauth.c
[sudo] xt 的密码: 
/home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/build/host-libglib2-2.54.2/gio/gdbusauth.c
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ vim /home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/build/host-libglib2-2.54.2/gio/gdbusauth.c
 if (line != NULL)
            debug_print ("SERVER: WaitingForBegin, read '%s'", line);

[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ sudo find / -name gdbusmessage.c
/home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/build/host-libglib2-2.54.2/gio/gdbusmessage.c
if(signature_str != NULL)
         tupled_signature_str = g_strdup_printf ("(%s)", signature_str);

(5)ERROR: undefined reference to `major’

[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ ./build.sh buildroot
2023-02-09T14:14:29 /usr/bin/ld: /home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656/build/cgpt/cgpt_wrapper.o: in function `main':
2023-02-09T14:14:29 cgpt_wrapper.c:(.text.startup+0x199): undefined reference to `major'
2023-02-09T14:14:29 collect2: error: ld returned 1 exit status

解决方案

[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ sudo find / -name cgpt_wrapper.c
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ vim /home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656/cgpt/cgpt_wrapper.c
增加#include <sys/sysmacros.h>

(6)ERROR: object ‘major’ is not a function or function pointer

[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ ./build.sh buildroot
23-02-09T14:20:38 mksquashfs.c:991:24: error: called object 'major' is not a function or function pointer
2023-02-09T14:20:38 991 |   unsigned int major = major(buf->st_rdev);
2023-02-09T14:20:38 |                        ^~~~~
2023-02-09T14:20:38 mksquashfs.c:991:16: note: declared here
2023-02-09T14:20:38 991 |   unsigned int major = major(buf->st_rdev);
2023-02-09T14:20:38 |                ^~~~~
2023-02-09T14:20:38 mksquashfs.c:992:24: error: called object 'minor' is not a function or function pointer
2023-02-09T14:20:38 992 |   unsigned int minor = minor(buf->st_rdev);
2023-02-09T14:20:38 |                        ^~~~~
2023-02-09T14:20:38 mksquashfs.c:992:16: note: declared here
2023-02-09T14:20:38 992 |   unsigned int minor = minor(buf->st_rdev);
2023-02-09T14:20:38 |                ^~~~~
2023-02-09T14:20:38 mksquashfs.c:1015:24: error: called object 'major' is not a function or function pointer
2023-02-09T14:20:38 1015 |   unsigned int major = major(buf->st_rdev);
2023-02-09T14:20:38 |                        ^~~~~
2023-02-09T14:20:38 mksquashfs.c:1015:16: note: declared here
2023-02-09T14:20:38 1015 |   unsigned int major = major(buf->st_rdev);
2023-02-09T14:20:38 |                ^~~~~
2023-02-09T14:20:38 mksquashfs.c:1016:24: error: called object 'minor' is not a function or function pointer
2023-02-09T14:20:38 1016 |   unsigned int minor = minor(buf->st_rdev);
2023-02-09T14:20:38 |                        ^~~~~
2023-02-09T14:20:38 mksquashfs.c:1016:16: note: declared here
2023-02-09T14:20:38 1016 |   unsigned int minor = minor(buf->st_rdev);
2023-02-09T14:20:38 |                ^~~~~

解决方案

[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ sudo find / -name mksquashfs.c
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ vim /home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/build/host-squashfs-3de1687d7432ea9b302c2db9521996f506c140a3/squashfs-tools/mksquashfs.c
增加#include <sys/sysmacros.h>

(7)ERROR: undefined reference to `makedev’

2023-02-09T14:22:32 unsquashfs.c:(.text+0x1f45): undefined reference to `makedev'
2023-02-09T14:22:32 collect2: error: ld returned 1 exit status

解决方案

[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ sudo find / -name unsquashfs.c
/home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/build/host-squashfs-3de1687d7432ea9b302c2db9521996f506c140a3/squashfs-tools/unsquashfs.c
[xt@xt-QiTianM450-N000:~/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212]$ vim /home/xt/Desktop/proj/rk3308_linux_release_v1.5.0a_20221212/buildroot/output/firefly_rk3308_release/build/host-squashfs-3de1687d7432ea9b302c2db9521996f506c140a3/squashfs-tools/unsquashfs.c
增加#include <sys/sysmacros.h>

到了这里,关于rk3308b-cc-plus编译过程、遇到的所有问题及解决方案的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 【Linux操作系统】编译过程中遇到的问题-为什么加-c?执行文件提示无法执行二进制文件?main函数参数argc和*argv[]的作用和理解?

    在使用GCC编译器进行程序开发时,我们经常会遇到一些编译过程中的问题, 比如为什么要加上\\\"-c\\\"选项,以及为什么生成的可执行文件无法执行等问题。 本篇博客将详细介绍这些问题,并给出相应的代码和解释,帮助读者更好地理解GCC编译过程中的\\\"-c\\\"选项和main函数的参数a

    2024年02月12日
    浏览(63)
  • c++学习过程中遇到的问题

    在C++中,auto 用于自动类型推断。它允许编译器根据表达式的类型自动确定变量的类型,而无需显式指定。 使用 auto 的主要优势是简化代码和提高可读性,尤其是在类型名称较长或复杂的情况下。它可以减少冗余,并且在代码重构时更加灵活,因为变量的类型会根据表

    2024年02月12日
    浏览(32)
  • 【Linux install】Ubuntu和win双系统安装及可能遇到的所有问题

    本文介绍了在windows环境下从零开始安装Ubuntu系统的方法,并提供了卸载Ubuntu系统的步骤,还介绍了一些在Ubuntu系统下查找、安装、卸载软件的方法。 先下载一下Ubuntu系统映像。官网下载得比较慢,可以去其他镜像源网站下载比如清华源。下载好的镜像是 iso 后缀。 随便准备

    2024年01月21日
    浏览(44)
  • 学习Vue过程中遇到的问题汇总

    在页面的body标签或head标签中加入如下代码 刷新页面,看看行不行,若不行,找到你引用的vue.js文件,查找productionTip,找到后将其值改为false,再次刷新试试 使用Object.defineProperty() 定义对象属性时,若已设置 set 或 get, 就不能设置 writable 和 value 中的任何一个了,因为关于v

    2024年02月12日
    浏览(30)
  • 开发过程中遇到的问题以及解决方法

    巩固基础,砥砺前行 。 只有不断重复,才能做到超越自己。 能坚持把简单的事情做到极致,也是不容易的。 简单易用的git命令 git命令: 查看有几个分支:git branch -a 切换分支:git checkout 分支名称 下载项目:git clone url 拉取项目:每次提交代码之前都需要,相当于更新代码

    2024年02月13日
    浏览(45)
  • 记安装pyspark遇到问题已经解决问题的全过程

    我写这篇小博客的由来: 前天我修改我Ubuntu的用户名名称,改成别人的名字缩写,这样就可以方便他截图交作业了。但没想到的是,修改个用户名居然导致我虚拟机不能正常开机。而且还比较麻烦,不像修改主机名一样简单。无奈之下只好重装系统,重头部署大数据环境,我

    2024年02月06日
    浏览(45)
  • QTAV的编译、使用及遇到的问题

    最近有个功能需求,界面可以直播显示某个特定摄像头的实时画面,通过对Qt本身的 QMiediaPlayer,和其他一些在网上找到的组件做了一些对比,最终选择了QtAv作为我们的组件使用。 QtAV 是一个基于 Qt 和 FFmpeg 的跨平台、高性能多媒体播放框架。 从 Github 上下载到的是 QtAV 的源码

    2024年02月02日
    浏览(31)
  • 视觉检测系统设计过程中遇到的问题

    前言 使用环境:          海康的工业相机相机、海康MVS软件。 问题描述:         通过架设的两个相机采集图像,其中一个相机采集图像数量少于另一个相机。MVS提示相机丢包。         首先可以肯定的一个相机丢包了,另一个不确定。 原因 工业相机丢包原因是什

    2024年02月09日
    浏览(57)
  • 解决ORA-01400报错过程中遇到的问题

    报错信息:ORA-01400: cannot insert NULL into (\\\"OWNER\\\".\\\"TABLE_NAME\\\".\\\"COLUMN_NAME\\\") 问题原因:对不允许为NULL的字段插入了NULL。 解决办法:要么赋给该字段一个值使它不为空,要么执行 alter table \\\"TABLE_NAME\\\" modify \\\"COLUMN_NAME\\\" NULL; 使该字段允许为空。但有时候执行上面语句会返回报错: ORA-01451

    2024年02月12日
    浏览(52)
  • ASR项目实战-交付过程中遇到的内核崩溃问题

    当前参与交付的语音识别产品服务,算法模块基于经典的Kaldi,算法中的一部分运行在GPU之上。 算法团队采用的是声学模型+语言模型的1-pass方案。这个方案的特点在于,语言模型数据文件(HCLG文件)的大小,和训练语料的丰富程度正相关,即语言文本的语料越多,经过训练

    2024年02月03日
    浏览(69)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包