-
ITK need to pick version-5 to avoid some error during build.
-
tensorflow DL module should be avoided to avoid python2 compatible issues. Not sure how to fix it yet.
-
Turn off git protocal, using http protocal
-
need to install gcc-8 and make it as default, new version gcc will not work.
- sudo apt install build-essential
- sudo apt install gcc-8 g++-8
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 8
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 8
- sudo update-alternatives --config gcc
-
need to config the boost library on ubuntu to make it able to build.
-
sometimes, it will stuck at: cannot install scikit-image step, when building CIPPython. One worked methoed to get around this is get into the conda binary under
<Your_build_path>/CIPPython-install/bin/
. Then run the conda binary under this path like this:./conda install scikit-image
. If it will go through this step, come back to the top level of build directory, trymake
again. This time, when it comes to the step of installing scikit-image it should say all required libraires already installed and moving to next step of build! -
CMake Error at Rendering/OpenGL/CMakeLists.txt:304 (message): X11_Xt_LIB could not be found. Required for VTK X lib.
Answer: just use:sudo apt-get install libxt-dev
-
Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR) Answer:
sudo apt-get install libgl1-mesa-dev
-
If you get error: libjsoncpp.so.19 cannot open shared object Answer: try to downgarde jsoncpp version using:
conda install jsoncpp=1.8.3
-
If error: libtbb.so.2 cannot open share object file Answer: most likely it is missing this library. so just install it:
apt install libtbb2
will fix it.
This is just my own build experience and based on my local machine.