-
Notifications
You must be signed in to change notification settings - Fork 13
Bulid Vaa3D on CentOS
- Qt 4.7.3:https://drive.google.com/file/d/1roJ4OnHkYxUU9Kp_ZgUFoizI9Vv_lW5M/view?usp=sharing
- Git Clone vaa3d
- Boost 1.57.0: https://sourceforge.net/projects/boost/files/boost/1.57.0/
- Qt 4.7.3
-
Recommende download Google Cloud Disk precompiled Qt 4.7.3.
-
After downloading, the decompression command is
tar -zxvf Qt-4.7.3.tar.gz
. -
Unzip file to get Trolltech,put it in
/usr/local
with root previleges. -
There is a compiled qmake in
/usr/local/Trolltech/Qt-4.7.3/bin
. Open the terminal and use./qmake -v
to check whether the compilation is successful.
-
Qt Possible problems: if your PC report
bash: ./qmake: No such file or directory
, just restart the system. -
Qt path:Go to your
/home
directory to choose Show Hidden Files, then you will see.bash_profile
.Using root privileges, then add
export PATH="/usr/local/Trolltech/Qt-4.7.3/bin:$PATH"
in it. The steps are shown below:
- After git clone is finished,there is a build.linux file in v3d_external, you should add following in it.
QT4=/usr/local/Trolltech/Qt-4.7.3
PATH=$QT4/bin:$PATH
QMAKESPEC=$QT4/mkspecs/linux-g++
- Please follow the rules to use different paths :
QT4=<QT_4.7.3_PATH>
PATH=$QT4/bin:$PATH
QMAKESPEC=$QT4/mkspecs/<spec>
- The step is shown below:
-
Go to Terminal, use
sudo yum install git
-
ATTENTION :Operation in git cannot be copied from other systems ,such as Windows
-
After downloading, run
tar -xf boost_1_57_0.tar.gz
to unzip the file. -
Enter the decompressed file
cd boost_1_57_0
-
Search bootstrap.sh script in advance, then execute
./bootstrap.sh
in the file. -
Check if
./b2 --without-python stage debug
-
After finishing git clone,you can go home to find the vaa3d_external and vaa3d_tools files.
-
At the same time, libraries such as gcc g++ need to be installed for native centos, and the corresponding instructions vaa3d_wiki are there the following:
sudo yum install gcc
sudo yum install gcc-c++
sudo yum install libXext-devel.x86_64
sudo yum install libXrender-devel.x86_64
sudo yum install libpng12-devel.x86_64
- Soft connection process after installation :
cd vaa3d_tools
ln -s ../v3d_external/v3d_main v3d_main
ln -s ../v3d_external/bin bin
cd ../v3d_external
ln -s ../vaa3d_tools/released_plugins released_plugins_more
- To avoid errors, it is recommended to make this modification:
- Change
#include "v3d_core.h" to an absolute path in
IPmain4NeuronAssemble.h.
- Change
#include "tiffio.h"
to an absolute path in stackutil.h.
- Open v3d_external file and run
./build.linux
in Terminal.
Neuron Tracing
Converting Big-Image-Data
Build Vaa3D Qt6 version on Windows
Build Vaa3D Qt6 version on Ubuntu 20.04