if your system don't have gcc and g++,you can run this command install, Otherwise, you can skip it.
sudo apt install gcc
sudo apt-get install build-essential
gcc --version # run this command to check whether gcc install successfully
g++ --version # run this command to check whether g++ install successfully
cd cmake-3.28.4
./bootstrap
make
sudo make install
cmake --version # run this command to check whether cmake install successfully
sudo apt-get install cmake-curses-gui
ccmake --version # run this command to check whether ccmake install successfully
mkdir ITK
The decompressed installation package is stored in ITK
cd ITK
mkdir build
ls ITK will get
├── ITK
├── InsightToolkit-5.3.0
├── build
cd build
ccmake ../InsightToolkit-5.3.0
make
sudo make install
you need to modify drr_utils/ITK_tools/Linux_ITK_Gen_Drr/CMakeLists.txt, and set(ITK_DIR "/home/software/ITK") the directory to your ITK path. Delete the files under the build folder.
cd build
cmake ..
make
Then your can start using the drr_utils in your ubuntu system!!!
CMake Error at Utilities/cmcurl/CMakeLists.txt:647 (message):
Could not find OpenSSL. Install an OpenSSL development package or
configure CMake with -DCMAKE_USE_OPENSSL=OFF to build without OpenSSL.
run this command can solve the problem
sudo apt-get install libssl-dev
CMake Error at /root/anaconda3/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:9 (message):
Failed to find "GL/gl.h" in
"/root/anaconda3/include;/croot/qt-main_1693210824277/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include;/croot/qt-main_1693210824277/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/libdrm;/croot/qt-main_1693210824277/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include".
Call Stack (most recent call first):
/root/anaconda3/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:233 (include)
/root/anaconda3/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:100 (find_package)
Tests/CMakeLists.txt:280 (find_package)
run this command can solve the problem
sudo apt-get install libgl1-mesa-dev