Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
1_0:install-source [2019/06/17 08:39] admin [Compiling Focus] |
1_0:install-source [2025/05/17 11:45] (current) admin [libfftw3] |
||
---|---|---|---|
Line 7: | Line 7: | ||
Alternatively the GIT repository can also be cloned (For this, installation of '' | Alternatively the GIT repository can also be cloned (For this, installation of '' | ||
- | '' | + | '' |
===== Installing Dependencies ===== | ===== Installing Dependencies ===== | ||
Line 46: | Line 46: | ||
./configure --enable-shared --enable-single --enable-threads --enable-sse --enable-sse2 --with-pic; | ./configure --enable-shared --enable-single --enable-threads --enable-sse --enable-sse2 --with-pic; | ||
</ | </ | ||
+ | |||
+ | //or: On an M1 Mac, which doesn' | ||
+ | |||
+ | < | ||
+ | ./configure --enable-shared --enable-single --enable-threads --with-pic; | ||
+ | </ | ||
+ | |||
+ | |||
< | < | ||
Line 61: | Line 69: | ||
< | < | ||
./configure --enable-shared --enable-threads --enable-sse2 --with-pic; | ./configure --enable-shared --enable-threads --enable-sse2 --with-pic; | ||
+ | </ | ||
+ | |||
+ | //or: On an M1 Mac, which doesn' | ||
+ | |||
+ | |||
+ | < | ||
+ | ./configure --enable-shared --enable-threads --with-pic; | ||
</ | </ | ||
Line 73: | Line 88: | ||
==== Qt5 ==== | ==== Qt5 ==== | ||
Compilations of Qt5 is included in all the package managers we listed above. Qt5 can also be downloaded and installed from: http:// | Compilations of Qt5 is included in all the package managers we listed above. Qt5 can also be downloaded and installed from: http:// | ||
+ | |||
+ | You also need the " | ||
+ | Installing the qtscript5-dev is also needed. | ||
+ | |||
+ | On Linux, the command | ||
+ | |||
+ | '' | ||
+ | '' | ||
+ | |||
+ | solves that problem. | ||
Make sure that after the installation you add Qt5 bin directory to the environment variable $PATH, and that: | Make sure that after the installation you add Qt5 bin directory to the environment variable $PATH, and that: | ||
- | '' | + | '' |
+ | '' | ||
gives you correct path to installed Qt libraries. | gives you correct path to installed Qt libraries. | ||
Line 84: | Line 110: | ||
**NOTE for Mac OSX Users:** Qt Version 5.9.4 worked fine, while Qt Version 5.10.1 caused the error: | **NOTE for Mac OSX Users:** Qt Version 5.9.4 worked fine, while Qt Version 5.10.1 caused the error: | ||
" | " | ||
+ | |||
+ | |||
===== Compiling Focus ===== | ===== Compiling Focus ===== | ||
Once everything is set up, CMAKE will automatically find the required paths and compile. This all has been scripted and Focus can easily be compiled by running the '' | Once everything is set up, CMAKE will automatically find the required paths and compile. This all has been scripted and Focus can easily be compiled by running the '' | ||
Line 93: | Line 121: | ||
Focus is compiled in two stages. First we check the presence of all required dependencies and in the second stage we compile the entire source tree. | Focus is compiled in two stages. First we check the presence of all required dependencies and in the second stage we compile the entire source tree. | ||
- | Upon building, Focus creates a directory " | + | Upon building, Focus creates a directory " |
=== See also: === | === See also: === |