AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Armbian cmake command not found4/5/2023 ![]() Save and quit ( :wq) Step 2: Clone mraa library, cross build it, and install it.ĭoing this will allow you to cross compile apps which use this library. SET (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY ) # end of the file SET (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY ) SET (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER ) # for libraries and headers in the target directories SET (CMAKE_FIND_ROOT_PATH /usr/aarch64-linux-gnu ) # search for programs in the build host directories SET (CMAKE_CXX_COMPILER /usr/bin/aarch64-linux-gnu-g++ ) # where is the target environment ![]() ![]() SET (CMAKE_C_COMPILER /usr/bin/aarch64-linux-gnu-gcc ) SET (CMAKE_SYSTEM_VERSION 1 ) # specify the cross compiler SET (CMAKE_SYSTEM_NAME Linux ) #this one not so much apt-get dist-upgrade: In addition to performing the function of upgrade, this option also intelligently handles changing dependencies with new versions of packages.APT must know about these new versions by way of ‘apt-get update’ apt-get upgrade: Fetches and installs newest package versions which currently exist on the system.apt-get update: Downloads package lists from online repositories and “updates” them to get information on the newest versions of packages and their dependencies.This is possible even when using the stock images, recent downloads, or a newly flashed versions of any operating system.Ī few useful commands will help us make sure everything on the board is current: The image on your board/host computer might be out of date. Step 1: Update 96Boards (ARM) system and Host (x86 Machine) computer Cross compilation will happen on a Linux x86 machine for 96Boards ARM device. Here you will learn to cross compile a simple application using Linux C and C++ toolchains. This material was covered in our 7th OpenHours session and can be paired with this blog.
0 Comments
Read More
Leave a Reply. |