Practice! 3 Classic Embedded Linux Interview Questions

Practice! 3 Classic Embedded Linux Interview Questions

Click on the above “Baibai Technology” and select “Pin to Public Account” Embedded essentials delivered instantly Question 1: Briefly describe the differences between memcpy and strcpy? Question 2: What are the differences between semaphores and mutexes? Question 3: Briefly describe the process of program compilation? Answer to Question 1: (1) The content copied is different. … Read more

CMake Compilation Tool and Project Building

CMake Compilation Tool and Project Building

Follow the public account “CV Research Society“ Set it as “Starred“, heavy content delivered to you first! Article Guide This article starts with the compilation process of C/C++ code, clarifying the relationship between Make and Makefile, CMake and CMakeLists, and finally providing examples based on the syntax rules of CMakeLists to help everyone become familiar … Read more

Compiling OpenCV 4.8.1 with CMake and Visual Studio 2022 on Windows

Compiling OpenCV 4.8.1 with CMake and Visual Studio 2022 on Windows

1. Background The project I am currently maintaining runs on Windows and uses OpenCV version 4.5.2. My local development environment is a Mac, and I am using the newer OpenCV version 4.8.1. To maintain consistency with my local development environment, I plan to upgrade the OpenCV used in the project, as the project still utilizes … Read more

Detailed Steps to Upgrade GCC Version on Linux 8

Detailed Steps to Upgrade GCC Version on Linux 8

Click the blue text above to follow Alen 1 Demonstration Environment The environment for this demonstration is: Red Hat Enterprise Linux release 8.10 (Ootpa) 2 Check Current GCC Version Execute the following command to check the current GCC version: [root@sourcecode ~]# gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-redhat-linux Configured with: ../configure … Read more

Compile OpenCV in Linux and Generate opencv_java.so File

Compile OpenCV in Linux and Generate opencv_java.so File

1. Introduction In a Java project using OpenCV, in addition to needing to introduce the relevant POM dependencies, you also need to load the library files: * On Windows, it is opencv_java451.dll * On Linux, it is opencv_java451.so This article mainly introduces how to compile OpenCV to obtain the relevant library files; 2. Environment Description … Read more

CMake Compilation Tools and Project Building

CMake Compilation Tools and Project Building

Click on the above“Beginner’s Guide to Vision” to selectStar or “Pin” Important content delivered promptly Article Overview This article starts with the compilation process of C/C++ code, clarifying the relationship between Make and Makefile, CMake and CMakeLists, and finally provides examples from the syntax rules of CMakeLists to help everyone become familiar with how to … Read more

Essential Makefile Guide: Step-by-Step Project Compilation!

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇1000 people technical exchange QQ group, note 【public number】 for faster access 1. Basic Structure of Makefile The Makefile contains a series of “rules”, with the basic structure of each rule as follows: target…: prerequisites… <tab> command Target(target): usually the name of the file … Read more

Basics of GCC Compilation

Basics of GCC Compilation

Click on the above “Beginner Learning Vision”, choose to add Star or “Top” Heavyweight content delivered at the first time This article is reprinted from: AI Algorithms and Image Processing Data Preparation ❝ To facilitate demonstration and explanation, here are a few simple files prepared in advance: test.cpp test.h main.cpp The contents of the files … Read more

How to Easily Install Go Language on Linux

Hi everyone, I’m Tiger. Recently, I encountered a problem where a friend asked me how to install Go on Linux. To be honest, as a programmer, who hasn’t dabbled in a few open-source projects or experimented with new languages? However, installing Go may seem simple, but there are actually quite a few tricks involved. So, … Read more