Make sure the Qt (>= 5.3.2) development libraries are installed:
- Ubuntu >=14.04:
sudo apt-get install qt5-default qttools5-dev-tools qtscript5-dev libqt5svg5-dev libqt5webkit5-dev
- Ubuntu 12.04:
- Download and install Qt 5.5.1: www.qt.io/download-open-source/
- Set the system variable: export PATH=$PATH:~/Qt5.5.1/5.5/gcc_64/bin
sudo apt-get install g++ libgl1-mesa-dev libglu1-mesa-dev
- Fedora:
sudo yum install qt5-qtscript-devel qt5-qtbase-devel qt5-qtsvg-devel qt5-linguist qt5-qtwebkit-devel gcc-c++ redhat-rpm-config mesa-libGLU-devel
- Arch Linux:
sudo pacman -S qt
- Mac OS X: download from Qt official site (http://www.qt.io/download/)
- Windows: download from Qt official site (http://www.qt.io/download/)
To build with devenv (Visual Studio)
qmake -r -tp vc ugene.pro
1.1. add "CONFIG+=x64" to qmake command for 64-bit build- open ugene.sln from Visual Studio or run
devenv.exe ugene.sln /Build
from MSVC command line
To build with nmake.exe:
qmake -r ugene.pro
1.1. add "CONFIG+=x64" to qmake command for 64-bit build- run
nmake
,nmake debug
ornmake release
to build UGENE
Also you need to add "libeay.dll" and "ssleay.dll" from OpenSSL ToolKit to "../ugene/src/_debug" folder
- installation paths may be set up in ugene_globals.pri
qmake -r
(Fedora:qmake-qt5 -r
)make -j 4
sudo make install
ugene -ui
Note: usually,
make
builds a release version of UGENE. However, on certain platforms default target is debug. To enforce release build usemake release
ormake all
.
Some more information you can see in installer/_common_data/README file.
-
Download and install required software from http://www.nvidia.com/object/cuda_get.html for your OS
-
Make sure that some system variable are set:
CUDA_LIB_PATH=/path_where_cuda_installed/lib CUDA_INC_PATH=/path_where_cuda_installed/include PATH=$PATH:/path_where_cuda_installed/bin
for *nix:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CUDA_LIB_PATH
-
cd ./src and open ugene_globals.pri, find and set variable UGENE_CUDA_DETECTED = 1
- Download and install video driver wich supports OpenCL
- Download OpenCL headers from http://www.khronos.org/registry/cl/ or find them in video vendor SDK directory.
- make sure that you have system variable is set correctly:
OPENCL_INC_PATH=/path_where_open_cl_installed
- cd ./src and open ugene_globals.pri, find and set variable
UGENE_OPENCL_DETECTED = 1
Notes: UGENE_CELL flag in ugene_globals should be uncommented when building on Cell BE platform