-
Notifications
You must be signed in to change notification settings - Fork 0
Installing PMSExp
Mattéo Rossillol‑‑Laruelle edited this page Jul 17, 2023
·
4 revisions
See the release page, download the latest PMSExp-<version>-win64-<locale>.msi and run the downloaded file like a classic Windows installer.
Before continuing, please see this wiki page.
- First, you need to clone the repository where you want.
git clone "https://github.com/beatussum/pmsexp.git"
- Then, set up the build folder inside the created folder.
cd pmsexp
mkdir build
cd build
- The next step is to generate the construction files.
cmake -DCMAKE_BUILD_TYPE:STRING="Release" -DCMAKE_INSTALL_PREFIX:PATH="<where>" -G Ninja ..
By default, CMAKE_INSTALL_PREFIX
is equal to /usr/local
which is path where the program will be installed.
- One now starts the compilation.
ninja -j<n>
where <n>
is the number of tasks performed in parallel.
- Finally, you can install the software; check that you have sufficient rights for this operation.
ninja install
-
Open the start menu and find the Visual Studio 2022 folder; open it and run x64 Native Tools Command Prompt for VS 2022.
-
Clone the repository where you want.
git clone "https://github.com/beatussum/pmsexp.git"
- Then, set up the build folder inside the created folder.
cd pmsexp
mkdir build
cd build
- Call
cmake
.
cmake -DCMAKE_BUILD_TYPE:STRING="Release" -DOpenCV_DIR:PATH="<OpenCV path>/opencv/build/x64/vc16/lib" -DQt5_DIR:PATH="<Qt path>/5.15.2/msvc2019_64/lib/cmake/Qt5" -DWITH_QCUSTOMPLOT=ON -G "Visual Studio 17 2022" -A x64 ..
- Now, start the compilation.
msbuild --property:Configuration="Release" PMSExp.sln
- If you want to package PMSExp, type:
cpack -G WIX PMSExp
Copyright (C) 2023 Mattéo Rossillol‑‑Laruelle beatussum@protonmail.com