Alkimia/Development Environment: Difference between revisions
< Alkimia
m (fix invent project link) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
First of all you will need to install the LibAlkmia which first needs some requirements to be fulfilled as follows | First of all you will need to install the LibAlkmia which first needs some requirements to be fulfilled as follows | ||
===Requirements=== | ===Requirements=== | ||
#Qt Creator or | #Qt Creator or KDevelop (personally, I find Qt Creator easier to grasp, even if less powerful in the end) | ||
# | #git | ||
#Qt libs and docs | #Qt libs and docs | ||
#KDE libs and docs | #KDE libs and docs | ||
# | #MPIR or GMP (this is for mathematical calculations needed for the currency class) | ||
#Boost libs | #Boost libs | ||
#cmake | #cmake | ||
;After finishing the installations as mentioned above you need to follow the steps as follows ( I have mentioned the codes according to the Ubuntu) | ;After finishing the installations as mentioned above you need to follow the steps as follows ( I have mentioned the codes according to the Ubuntu) | ||
#Open the terminal and change the directory where you want the files to be downloaded. | #Open the terminal and change the directory where you want the files to be downloaded. | ||
#Use the | #Use the git link to download the files | ||
#:<syntaxhighlight lang="bash"> | #:<syntaxhighlight lang="bash">git clone git@invent.kde.org:office/alkimia.git</syntaxhighlight> | ||
#: | #:for other access modes see the [https://invent.kde.org/office/alkimia Alkimia] project on invent.kde.org | ||
#Now you will have the directory | #Now you will have the directory alkimia downloaded with a lot of files.</br>Change the current directory to the alkimia directory) | ||
#:<syntaxhighlight lang="bash">cd alkimia | #:<syntaxhighlight lang="bash">cd alkimia</syntaxhighlight> | ||
#Make another directory | #Make another directory | ||
#:<syntaxhighlight lang="bash">mkdir build</syntaxhighlight> | #:<syntaxhighlight lang="bash">mkdir build</syntaxhighlight> | ||
Line 26: | Line 25: | ||
#:<syntaxhighlight lang="bash">cmake ..</syntaxhighlight> | #:<syntaxhighlight lang="bash">cmake ..</syntaxhighlight> | ||
#:If every requirement listed above were installed perfectly then there must not be any error here | #:If every requirement listed above were installed perfectly then there must not be any error here | ||
#:<syntaxhighlight lang="bash">make</ | #:<syntaxhighlight lang="bash">make</syntaxhighlight> | ||
#:< | #:<syntaxhighlight lang="bash">make install</syntaxhighlight> | ||
#:The above two statements could also have been combined into one and be simply written | #:The above two statements could also have been combined into one and be simply written | ||
#:<syntaxhighlight lang="bash">make install</syntaxhighlight> | #:<syntaxhighlight lang="bash">make install</syntaxhighlight> | ||
;If you didnt get any error till now, then you have installed the libalkimia successfully | ;If you didnt get any error till now, then you have installed the libalkimia successfully |
Latest revision as of 10:45, 5 September 2020
DEVELOPMENT ENVIRONMENT
Install LibAlkimia
First of all you will need to install the LibAlkmia which first needs some requirements to be fulfilled as follows
Requirements
- Qt Creator or KDevelop (personally, I find Qt Creator easier to grasp, even if less powerful in the end)
- git
- Qt libs and docs
- KDE libs and docs
- MPIR or GMP (this is for mathematical calculations needed for the currency class)
- Boost libs
- cmake
- After finishing the installations as mentioned above you need to follow the steps as follows ( I have mentioned the codes according to the Ubuntu)
- Open the terminal and change the directory where you want the files to be downloaded.
- Use the git link to download the files
git clone [email protected]:office/alkimia.git
- for other access modes see the Alkimia project on invent.kde.org
- Now you will have the directory alkimia downloaded with a lot of files.
Change the current directory to the alkimia directory)cd alkimia
- Make another directory
mkdir build
- I have named my directory as build
- Change your current directory to 'build'
cd build
- Now build that directory using the files you have in the folder 'libalkimia' using the following commands
cmake ..
- If every requirement listed above were installed perfectly then there must not be any error here
make
make install
- The above two statements could also have been combined into one and be simply written
make install
- If you didnt get any error till now, then you have installed the libalkimia successfully