H618 Ubuntu 22.04 Qt Development Environment Setup Guide

1. Preparation H618 development board, remote tools like WinSCP and PuTTY, and enabling SSH remote login on Ubuntu. 2. Build Environment Setup First, update the system package list and install the development tools and dependency libraries required to build Qt. Run the following commands in a terminal: sudo apt update sudo apt install build-essential g++ libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev libx11-dev libxext-dev libxtst-dev -y The above covers the GCC compiler, the Make tool, and the X11 and OpenGL libraries required by the Qt GUI. ...

April 29, 2026 · 6 min · 1165 words · siyou · 
H618

How to Install MySQL on CentOS 7

1. Download the Installation Package sudo wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm 2. Start Installation sudo yum -y install mysql57-community-release-el7-10.noarch.rpm 3. Install the Server sudo yum -y install mysql-community-server If the above error occurs during installation (errors may vary depending on the environment), please refer to the following solutions: Error 1 Error: Package: akonadi-mysql-1.9.2-4.el7.x86_64 (@anaconda) requires: mariadb-server Removing: 1:mariadb-server-5.5.68-1.el7.x86_64 (@anaconda) mariadb-server = 1:5.5.68-1.el7 Obsoleted By: mysql-community-server-5.7.41-1.el7.x86_64 (mysql57-community) Not found You could try using --skip-broken to work around the problem ...

March 22, 2026 · 3 min · 541 words · siyou · 
MySQL

OsgEarth Library Compilation Tutorial

Preface Driven by current R&D requirements, I looked up the relevant material and verified the feasibility of the build procedure hands-on, and recorded the technical implementation in this tutorial. Its purpose is to build the map engine libraries for development under Windows x64, and it targets the QT + VisualStudio integrated development environment. I. Required Resources Source packages and versions OpenSceneGraph-3.6.5.zip, osgearth-osgearth-3.4.zip, osgQt.zip Test data file OpenSceneGraph-Data-3.4.0.zip OpenGL dependencies EGL-Registry-main.zip, OpenGL-Registry-main.zip, 3rdParty_VS2017_v141_x64_V11_full.7z ...

March 3, 2026 · 14 min · 2872 words · siyou · 
Earth

Open Source Algorithm Library (Link)

Recently, I’ve been doing research in algorithms and found it difficult to locate a comprehensive and high-quality scientific computing algorithm library. However, I did find a few, which I’m recording here for future reference. I might even write my own someday to integrate all of these. Library Name Link Status Description GSL http://www.gnu.org/software/gsl/ ✅ Valid The GNU Scientific Library, a fairly comprehensive resource. It includes commonly used special mathematical functions, random distributions, differentiation and integration, least-squares fitting, root-finding, and optimization. However, it has some shortcomings; for example, its optimization module lacks genetic algorithms and particle swarm optimization, and its integration performance is inferior to the Cuba library mentioned below. dlib http://dlib.net/ ✅ Valid An algorithm library primarily serving deep learning, containing deep-learning-related optimization algorithms and some image processing tools, mainly to support deep learning implementations. Cuba https://feynarts.de/cuba/ ✅ Valid A library offering four integration methods, including three Monte Carlo integration techniques and one deterministic integration method. These methods outperform the Monte Carlo integrators provided by GSL. GAlib http://web.mit.edu/galib/www/GAlib.html ✅ Valid A genetic algorithm library that includes four types of genetic algorithms. MRPT https://www.mrpt.org/ ✅ Valid A robotics programming library, primarily featuring algorithms for robot localization, computer vision, image processing, and motion planning. KFilter http://kalman.sourceforge.net/ ✅ Valid An open-source algorithm library for Kalman filters. C++ Wavelet Libraries http://wavelet2d.sourceforge.net/ ✅ Valid A wavelet transform algorithm library. libfgen https://sourceforge.net/projects/libfgen/ ✅ Valid A genetic algorithm library that also includes a particle swarm optimization algorithm. libGeneiAL http://www.geneial.org/ ✅ Valid An open-source genetic algorithm library. FFTW http://www.fftw.org/ ✅ Valid A library for the Discrete Fourier Transform, supporting complex numbers and multi-dimensional transforms. Matrix Template Library (MTL) https://github.com/simunova/mtl4 ✅ Valid A basic linear algebra library, similar to BLAS or LAPACK. Eigen https://eigen.tuxfamily.org/index.php?title=Main_Page ✅ Valid A linear algebra and related algorithms library, similar to MTL. Boost https://www.boost.org/ ✅ Valid Boost is actually a collection of libraries akin to the C++ standard library, which also includes libraries relevant to scientific computing, such as Math, Odeint, and uBLAS. OpenCV https://opencv.org/ ✅ Valid A computer vision library containing many machine vision algorithms and underlying matrix operations, such as image comparison and edge detection. Ceres http://ceres-solver.org/ ✅ Valid A Google C++ library for solving large-scale optimization problems, designed for constrained non-linear least squares problems and general unconstrained optimization. NLopt https://nlopt.readthedocs.io ✅ Valid An open-source library for nonlinear optimization. Ipopt https://coin-or.github.io/Ipopt/ ✅ Valid A very powerful open-source interior-point method optimization library capable of quickly solving constrained nonlinear optimization problems. cernlib https://cernlib.web.cern.ch/cernlib/ ✅ Valid A suite of scientific computing libraries developed by CERN for physics research, covering mathematics, data analysis, detector simulation, data processing, and more. It is quite comprehensive. This list will be updated periodically and irregularly.

March 2, 2026 · 3 min · 444 words · siyou · 
Eigen Doctor

Tutorial on Configuring Code Formatting in Qt Creator

Preface Code style is not just about aesthetics; it is a crucial component of code quality. A good code style enhances readability and reduces the likelihood of errors, thereby improving the overall quality of the software. Specifically, a consistent code style helps in the following ways: Improved Readability: Consistent formatting rules make the code easier for other developers to understand, which is especially important in collaborative projects. Reduced Errors: Standardized code style can prevent common programming mistakes, such as mismatched brackets, thus increasing code stability. Enhanced Team Collaboration: When team members adhere to the same code style, the code review process becomes more efficient. It minimizes communication barriers caused by stylistic differences, leading to smoother and more harmonious teamwork. In summary, using a third-party plugin to unify code style not only improves code quality but also strengthens team cohesion and facilitates the smooth progress of a project. ...

February 24, 2026 · 2 min · 418 words · siyou · 
Configuring the astyle plugin in Qt