en:compilation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:compilation [2025/01/29 18:04] – jmgr | en:compilation [2025/03/19 10:37] (current) – jmgr | ||
---|---|---|---|
Line 29: | Line 29: | ||
</ | </ | ||
- | Then build. | + | Then build (you might have to replace $HOME/Qt with the path where your Qt installation resides). |
<code bash> | <code bash> | ||
- | mkdir build && | + | mkdir build |
+ | cd build | ||
+ | cmake .. -DCMAKE_PREFIX_PATH=$HOME/ | ||
+ | cmake --build . | ||
</ | </ | ||
Line 38: | Line 41: | ||
./ | ./ | ||
</ | </ | ||
+ | |||
+ | ===== Windows (with MinGW) ===== | ||
+ | - Download and install the Qt online installer: https:// | ||
+ | - Select Qt 6.6.3 (Actiona 3 is not compatible with newer versions at the moment) | ||
+ | - Check Qt 5 Compatibility Module | ||
+ | - In " | ||
+ | - Check Qt Multimedia | ||
+ | - Check Qt Speech | ||
+ | - Install CMake: https:// | ||
+ | - Install Git: https:// | ||
+ | - Download the source code for OpenCV 4.x: https:// | ||
+ | - Open a Command Prompt: (update the path to Qt if you installed it somewhere else) | ||
+ | <code bash> | ||
+ | set PATH=C: | ||
+ | cd <OpenCV directory> | ||
+ | mkdir build | ||
+ | cd build | ||
+ | cmake -G "MinGW Makefiles" | ||
+ | cmake --build . | ||
+ | </ | ||
+ | - Open Git Bash: (and cd to the directory where you want to save the source code for Actiona) | ||
+ | - <code bash>git clone --recursive https:// | ||
+ | - Open QtCreator: | ||
+ | - in Edit -> Preferences, | ||
+ | - File -> Open file or project, select the CMakeLists.txt file in the Actiona source code directory | ||
+ | - Set the build type to Release (Debug builds are not currently working when using MinGW on Windows) | ||
+ | - In Projects -> CMake -> Initial Configuration, | ||
+ | - Add " | ||
+ | - Click " | ||
+ | - In Build steps -> Details, in Tool aguments, add -j (allows compiling with more than one core) | ||
+ | - Build | ||
+ | - You should be able to run Actiona from within QtCreator now | ||
====== Version v3.10.2 or older ====== | ====== Version v3.10.2 or older ====== | ||
Line 80: | Line 115: | ||
Then build. | Then build. | ||
<code bash> | <code bash> | ||
- | mkdir build && | + | mkdir build |
+ | cd build | ||
+ | cmake .. | ||
+ | cmake --build . | ||
</ | </ | ||
Line 93: | Line 131: | ||
git pull | git pull | ||
cmake .. | cmake .. | ||
- | make | + | cmake --build . |
</ | </ |
en/compilation.1738173841.txt.gz · Last modified: 2025/01/29 18:04 by jmgr