# MachineLearning **Repository Path**: SDoHao/machine-learning ## Basic Information - **Project Name**: MachineLearning - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-12-22 - **Last Updated**: 2026-01-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Bmp_reader ## 1. 用 CMake 构建 ```shell #使用make mkdir build && cd build cmake .. -DCMAKE_BUILD_TYPE=Release make #或使用Ninja cmake -S . -B build -G Ninja --fresh cmake --build build/ ``` ## 2. 用g++直接编译 ```shell #编译 g++ -std=c++17 -O3 -Wall \ -I include \ src/image/bmp_reader.cpp \ src/math/matrix.cpp \ example/demo1.cpp \ -o demo #运行 ./demo ``` ## 3. 用visual studio编译 将`include`加入到附加包含目录。 ```text 项目属性 → C/C++ → General → Additional Include Directories ```