Difference between revisions of "Alkimia/Development Environment"

Jump to: navigation, search
Line 13: Line 13:
  
 
;After finishing the installations as mentioned above you need to follow the steps as follows
 
;After finishing the installations as mentioned above you need to follow the steps as follows
 +
 
#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 svn link to download the files
 
#Use the svn link to download the files
#: {{color|blue| svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/office/alkimia}}
+
#:<pre style="color:red">svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/office/alkimia</pre>
 +
 
 
#Now you will have the directory Alkimia downloaded with a lot of files.</br>Change the current directory to libalkimia(present inside the Alkimia directory)
 
#Now you will have the directory Alkimia downloaded with a lot of files.</br>Change the current directory to libalkimia(present inside the Alkimia directory)
#;cd alkimia/libalkimia
+
#:<pre style="color:red">cd alkimia/libalkimia</pre>
#: {{color|blue| cd alkimia/libalkimia }}
+
 
 +
#Make another directory
 +
#:<pre style="color:red">mkdir build</pre>
 +
#: I have named my directory as build
 +
 
 +
#Change your current directory to 'build'
 +
#:<pre style="color:red">cd build</pre>
 +
 
 +
#Now build that directory using the files you have in the folder 'libalkimia' using the following commands
 +
#:<pre style="color:red">cmake ..</pre>
 +
#:If every requirement listed above were installed perfectly then there must not be any error here
 +
#:<pre style="color:red">make
 +
#:make install
 +
#:The above two statements could also have been combined into one and be simply wrtten
 +
#:<pre style="color:red">make install</pre>
 +
 
 +
#:If you didnt get any error till now, then you have installed the libalkimia successfully

Revision as of 17:31, 12 June 2011

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

  1. Qt Creator or KDevelop4 (personally, I find Qt Creator easier to grasp, even if less powerful in the end)
  2. KdeSVN
  3. Qt libs and docs
  4. KDE libs and docs
  5. automoc
  6. GMP (this is for mathematical calculations needed for the currency class)
  7. Boost libs
  8. cmake
After finishing the installations as mentioned above you need to follow the steps as follows
  1. Open the terminal and change the directory where you want the files to be downloaded.
  1. Use the svn link to download the files
    svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/office/alkimia
  1. Now you will have the directory Alkimia downloaded with a lot of files.
    Change the current directory to libalkimia(present inside the Alkimia directory)
    cd alkimia/libalkimia
  1. Make another directory
    mkdir build
    I have named my directory as build
  1. Change your current directory to 'build'
    cd build
  1. 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 wrtten #:<pre style="color:red">make install

  1. If you didnt get any error till now, then you have installed the libalkimia successfully

Content is available under Creative Commons License SA 4.0 unless otherwise noted.