Compilation environment:
- windows 11
- visual studio 2022
Compilation steps:
- Install miniconda
- Install cmake, delete the FindProtobuf.cmake file in the C:\Program Files\CMake\share\cmake-3.27\Modules folder, otherwise it will conflict with protobuf under conan
- Install conan in the conda environment
pip install conan conan profile detect --force # set compiler.cppstd=17 in ~/.conan2/profiles/default
- Use conan to install dependencies
mkdir build conan install . --build=missing
- Compile
Or use visual studio to open the mediapipelite.sln in the build folder for compilation
cd build cmake .. cmake --build . --config Release
- Run unit tests
ctest -V