lagadic / visp

Open Source Visual Servoing Platform
https://visp.inria.fr/
GNU General Public License v2.0
725 stars 286 forks source link

Parallel Build Failure (Ubuntu 22.04) #1256

Closed Jake-Carter closed 1 year ago

Jake-Carter commented 1 year ago

Hello, I recently hit the following build failure on Ubuntu 22.04 (through WSL2) and Make 4.3. $(nproc) on my system returns 8.

I seemed to consistently hit the same failure point on any resumed builds. Maybe an incomplete dependency tree?

Running without any parallel jobs picked up the build and completed successfully.

~/visp-ws/visp-build » make -j$(nproc)
-- Detected processor: x86_64
-- Could NOT find MKL (missing: MKL_LIBRARIES MKL_INCLUDE_DIRS MKL_INTERFACE_LIBRARY MKL_SEQUENTIAL_LAYER_LIBRARY MKL_CORE_LIBRARY) 
-- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
-- Could NOT find Atlas (missing: Atlas_CLAPACK_INCLUDE_DIR Atlas_CBLAS_LIBRARY Atlas_BLAS_LIBRARY) 
-- Try C99 flag = [-std=gnu99]
-- Performing Test C99_FLAG_DETECTED
-- Performing Test C99_FLAG_DETECTED - Success
-- dc1394 found
-- v4l2 found
-- Could NOT find FTIITSDK (missing: FTIITSDK_FT_LIBRARY FTIITSDK_COMMUNICATION_LIBRARY FTIITSDK_INCLUDE_DIR) 
-- openmp found
-- eigen3 found
-- coin3d found
-- Looking for OGRE_Paging...
-- Found OGRE_Paging: optimized;/usr/lib/x86_64-linux-gnu/libOgrePaging.so;debug;/usr/lib/x86_64-linux-gnu/libOgrePaging.so
-- Looking for OGRE_Terrain...
-- Found OGRE_Terrain: optimized;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so
-- Looking for OGRE_Property...
-- Found OGRE_Property: optimized;/usr/lib/x86_64-linux-gnu/libOgreProperty.so;debug;/usr/lib/x86_64-linux-gnu/libOgreProperty.so
-- Looking for OGRE_RTShaderSystem...
-- Found OGRE_RTShaderSystem: optimized;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so;debug;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so
-- Looking for OGRE_Volume...
-- Found OGRE_Volume: optimized;/usr/lib/x86_64-linux-gnu/libOgreVolume.so;debug;/usr/lib/x86_64-linux-gnu/libOgreVolume.so
-- Looking for OGRE_Overlay...
-- Found OGRE_Overlay: optimized;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so;debug;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so
-- ogre found
-- ois found
-- libusb_1 found
-- threads found
-- xml2 found
-- opencv found
-- zlib found
-- x11 found
-- jpeg found
-- png found
-- zbar found
-- dmtx found
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) 
-- nlohmann_json found
-- Performing Test HAVE_FUNC_ISNAN
-- Performing Test HAVE_FUNC_ISNAN - Success
-- Performing Test HAVE_FUNC_STD_ISNAN
-- Performing Test HAVE_FUNC_STD_ISNAN - Success
-- Performing Test HAVE_FUNC__ISNAN
-- Performing Test HAVE_FUNC__ISNAN - Failed
-- Performing Test HAVE_FUNC_ISINF
-- Performing Test HAVE_FUNC_ISINF - Success
-- Performing Test HAVE_FUNC_STD_ISINF
-- Performing Test HAVE_FUNC_STD_ISINF - Success
-- Performing Test HAVE_FUNC_ROUND
-- Performing Test HAVE_FUNC_ROUND - Success
-- Performing Test HAVE_FUNC_STD_ROUND
-- Performing Test HAVE_FUNC_STD_ROUND - Success
-- Performing Test HAVE_FUNC_ERFC
-- Performing Test HAVE_FUNC_ERFC - Success
-- Performing Test HAVE_FUNC_STD_ERFC
-- Performing Test HAVE_FUNC_STD_ERFC - Success
-- Performing Test HAVE_FUNC_ISFINITE
-- Performing Test HAVE_FUNC_ISFINITE - Success
-- Performing Test HAVE_FUNC_STD_ISFINITE
-- Performing Test HAVE_FUNC_STD_ISFINITE - Success
-- Performing Test HAVE_FUNC__FINITE
-- Performing Test HAVE_FUNC__FINITE - Failed
-- Performing Test HAVE_FUNC_LOG1P
-- Performing Test HAVE_FUNC_LOG1P - Success
-- Could NOT find LATEX (missing: LATEX_COMPILER) 
-- latex command LATEX_COMPILER not found but usually required. You will probably get warnings and user interaction on doxy run.
-- makeindex command MAKEINDEX_COMPILER not found but usually required.
-- dvips command DVIPS_CONVERTER not found but usually required.
-- opencv nonfree or xfeature2d module not found
-- 
-- ==========================================================
-- General configuration information for ViSP 3.6.1
-- 
--   Version control:               v3.6.0-81-gfe4e89c7e
-- 
--   Platform:
--     Timestamp:                   2023-10-17T23:00:48Z
--     Host:                        Linux 5.15.90.1-microsoft-standard-WSL2+ x86_64
--     CMake:                       3.22.1
--     CMake generator:             Unix Makefiles
--     CMake build tool:            /usr/bin/gmake
--     Configuration:               Release
-- 
--   System information:
--     Number of CPU logical cores: 8
--     Number of CPU physical cores: 4
--     Total physical memory (in MiB): 3920
--     OS name:                     Linux
--     OS release:                  5.15.90.1-microsoft-standard-WSL2+
--     OS version:                  #4 SMP Wed Jul 12 00:17:28 CDT 2023
--     OS platform:                 x86_64
--     CPU name:                    Unknown P6 family
--     Is the CPU 64-bit?           yes
--     Does the CPU have FPU?       yes
--     CPU optimization:            SSE2 SSE3 SSSE3
-- 
--   C/C++:
--     Built as dynamic libs?:      yes
--     C++ Compiler:                /usr/bin/c++  (ver 11.4.0)
--     C++ flags (Release):         -Wall -Wextra -fopenmp -std=c++17 -fvisibility=hidden -msse2 -msse3 -mssse3 -fPIC -O3 -DNDEBUG
--     C++ flags (Debug):           -Wall -Wextra -fopenmp -std=c++17 -fvisibility=hidden -msse2 -msse3 -mssse3 -fPIC -g
--     C Compiler:                  /usr/bin/cc
--     C flags (Release):           -Wall -Wextra -fopenmp -std=c++17 -fvisibility=hidden -msse2 -msse3 -mssse3 -fPIC -O3 -DNDEBUG
--     C flags (Debug):             -Wall -Wextra -fopenmp -std=c++17 -fvisibility=hidden -msse2 -msse3 -mssse3 -fPIC -g
--     Linker flags (Release):
--     Linker flags (Debug):
--     Use cxx standard:            17
-- 
--   ViSP modules:
--     To be built:                 core dnn_tracker gui imgproc io klt me sensor ar blob robot visual_features vs vision detection mbt tt tt_mi
--     Disabled:                    java_bindings_generator
--     Disabled by dependency:      -
--     Unavailable:                 java
-- 
--   Python (for build):            /home/jakecarter/.pyenv/shims/python
-- 
--   Build options: 
--     Build deprecated:            yes
--     Build with moment combine:   no
-- 
--   OpenCV: 
--     Version:                     4.5.4
--     Modules:                     calib3d core dnn features2d flann highgui imgcodecs imgproc ml objdetect photo stitching video videoio alphamat aruco barcode bgsegm bioinspired ccalib datasets dnn_objdetect dnn_superres dpm face freetype fuzzy hdf hfs img_hash intensity_transform line_descriptor mcc optflow phase_unwrapping plot quality rapid reg rgbd saliency shape stereo structured_light superres surface_matching text tracking videostab viz wechat_qrcode ximgproc xobjdetect xphoto
--     OpenCV dir:                  /usr/lib/x86_64-linux-gnu/cmake/opencv4
-- 
--   Mathematics: 
--     Blas/Lapack:                 yes
--     \- Use MKL:                  no
--     \- Use OpenBLAS:             no
--     \- Use Atlas:                no
--     \- Use Netlib:               no
--     \- Use GSL:                  yes (ver 2.7.1)
--     \- Use Lapack (built-in):    no
--     Use Eigen3:                  yes (ver 3.4.0)
--     Use OpenCV:                  yes (ver 4.5.4)
-- 
--   Simulator: 
--     Ogre simulator: 
--     \- Use Ogre3D:               yes (ver 1.9.0)
--     \- Use OIS:                  yes (ver 1.3.0)
--     Coin simulator: 
--     \- Use Coin3D:               yes (ver 4.0.0)
--     \- Use SoWin:                no
--     \- Use SoXt:                 no
--     \- Use SoQt:                 no
--     \- Use Qt5:                  no
--     \- Use Qt4:                  no
--     \- Use Qt3:                  no
-- 
--   Media I/O: 
--     Use JPEG:                    yes (ver 80)
--     Use PNG:                     yes (ver 1.6.37)
--     \- Use ZLIB:                 yes (ver 1.2.11)
--     Use OpenCV:                  yes (ver 4.5.4)
--     Use stb_image (built-in):    yes (ver 2.27.0)
--     Use TinyEXR (built-in):      yes (ver 1.0.2)
-- 
--   Real robots: 
--     Use Afma4:                   no
--     Use Afma6:                   no
--     Use Franka:                  no
--     Use Viper650:                no
--     Use Viper850:                no
--     Use ur_rtde:                 no
--     Use Kinova Jaco:             no
--     Use aria (Pioneer):          no
--     Use PTU46:                   no
--     Use Biclops PTU:             no
--     Use Flir PTU SDK:            no
--     Use MAVSDK:                  no
--     Use Parrot ARSDK:            no
--     \-Use ffmpeg:                no
--     Use Virtuose:                no
--     Use qbdevice (built-in):     yes (ver 2.6.0)
--     Use takktile2 (built-in):    yes (ver 1.0.0)
-- 
--   GUI: 
--     Use X11:                     yes
--     Use GTK:                     no
--     Use OpenCV:                  yes (ver 4.5.4)
--     Use GDI:                     no
--     Use Direct3D:                no
-- 
--   Cameras: 
--     Use DC1394-2.x:              yes (ver 2.2.6)
--     Use CMU 1394:                no
--     Use V4L2:                    yes (ver 1.22.1)
--     Use directshow:              no
--     Use OpenCV:                  yes (ver 4.5.4)
--     Use FLIR Flycapture:         no
--     Use Basler Pylon:            no
--     Use IDS uEye:                no
-- 
--   RGB-D sensors: 
--     Use Realsense:               no
--     Use Realsense2:              no
--     Use Occipital Structure:     no
--     Use Kinect:                  no
--     \- Use libfreenect:          no
--     \- Use libusb-1:             yes (ver 0.1.12)
--     \- Use std::thread:          yes
--     Use PCL:                     no
--     \- Use VTK:                  no
-- 
--   F/T sensors: 
--     Use atidaq (built-in):       no
--     Use comedi:                  no
--     Use IIT SDK:                 no
-- 
--   Mocap: 
--     Use Qualisys:                no
--     Use Vicon:                   no
-- 
--   Detection: 
--     Use zbar:                    yes (ver 0.23.92)
--     Use dmtx:                    yes (ver 0.7.5)
--     Use AprilTag (built-in):     yes (ver 3.1.1)
--     \- Use AprilTag big family:  no
-- 
--   Misc: 
--     Use Clipper (built-in):      yes (ver 6.4.2)
--     Use pugixml (built-in):      yes (ver 1.9.0)
--     Use libxml2:                 yes (ver 2.9.13)
--     Use json (nlohmann):         yes (ver 3.10.5)
-- 
--   Optimization: 
--     Use OpenMP:                  yes
--     Use st::thread:              yes
--     Use pthread (built-in):      no
--     Use Simd (built-in):         yes (ver 4.9.109)
-- 
--   DNN: 
--     Use CUDA Toolkit:            no
--     Use TensorRT:                no
-- 
--   Documentation: 
--     Use doxygen:                 yes
--     \- Use mathjax:              no
-- 
--   Tests and samples:
--     Use catch2 (built-in):       yes (ver 2.13.7)
--     Tests:                       no
--     Apps:                        no
--     Demos:                       no
--     Examples:                    no
--     Tutorials:                   no
--     Dataset found:               no
-- 
--   Library dirs:
--     Eigen3 include dir:          /usr/share/eigen3/cmake
--     OpenCV dir:                  /usr/lib/x86_64-linux-gnu/cmake/opencv4
-- 
--   Install path:                  /usr/local
-- 
-- ==========================================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jakecarter/visp-ws/visp-build
Consolidate compiler generated dependencies of target visp_clipper
Consolidate compiler generated dependencies of target visp_reflex_takktile2
Consolidate compiler generated dependencies of target visp_pugixml
Consolidate compiler generated dependencies of target visp_qbdevice
[  0%] Built target developer_scripts
[  0%] Built target man
[  0%] Built target visp_clipper
[  0%] Built target visp_pugixml
[  0%] Built target visp_reflex_takktile2
Consolidate compiler generated dependencies of target visp_apriltag
[  1%] Built target visp_qbdevice
[  6%] Built target visp_apriltag
Consolidate compiler generated dependencies of target visp_simdlib
[ 25%] Built target visp_simdlib
Consolidate compiler generated dependencies of target visp_core
[ 25%] Building CXX object modules/core/CMakeFiles/visp_core.dir/src/tools/file/vpIoTools.cpp.o
[ 25%] Linking CXX shared library ../../lib/libvisp_core.so
[ 46%] Built target visp_core
Consolidate compiler generated dependencies of target visp_klt
Consolidate compiler generated dependencies of target visp_blob
Consolidate compiler generated dependencies of target visp_dnn_tracker
Consolidate compiler generated dependencies of target visp_me
Consolidate compiler generated dependencies of target visp_imgproc
[ 46%] Linking CXX shared library ../../lib/libvisp_klt.so
[ 46%] Linking CXX shared library ../../lib/libvisp_dnn_tracker.so
[ 46%] Linking CXX shared library ../../lib/libvisp_blob.so
[ 47%] Linking CXX shared library ../../lib/libvisp_me.so
Consolidate compiler generated dependencies of target visp_io
Consolidate compiler generated dependencies of target visp_gui
[ 48%] Linking CXX shared library ../../lib/libvisp_imgproc.so
Consolidate compiler generated dependencies of target visp_sensor
[ 49%] Linking CXX shared library ../../lib/libvisp_gui.so
[ 50%] Linking CXX shared library ../../lib/libvisp_io.so
[ 50%] Linking CXX shared library ../../lib/libvisp_sensor.so
[ 50%] Built target visp_klt
[ 51%] Built target visp_blob
[ 51%] Built target visp_dnn_tracker
[ 57%] Built target visp_sensor
[ 57%] Built target visp_me
[ 58%] Built target visp_imgproc
[ 61%] Built target visp_gui
Consolidate compiler generated dependencies of target visp_visual_features
[ 63%] Built target visp_io
[ 63%] Building CXX object modules/ar/CMakeFiles/visp_ar.dir/src/coin-simulator/vpViewer.cpp.o
[ 64%] Building CXX object modules/ar/CMakeFiles/visp_ar.dir/src/vpSimulatorException.cpp.o
[ 64%] Building CXX object modules/ar/CMakeFiles/visp_ar.dir/src/coin-simulator/vpAR.cpp.o
[ 64%] Building CXX object modules/ar/CMakeFiles/visp_ar.dir/src/coin-simulator/vpSimulator.cpp.o
[ 64%] Building CXX object modules/ar/CMakeFiles/visp_ar.dir/src/ogre-simulator/vpAROgre.cpp.o
[ 65%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/haptic-device/qbdevice/vpQbDevice.cpp.o
[ 65%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/haptic-device/qbdevice/vpQbSoftHand.cpp.o
[ 66%] Linking CXX shared library ../../lib/libvisp_visual_features.so
[ 72%] Built target visp_visual_features
[ 72%] Building CXX object modules/vs/CMakeFiles/visp_vs.dir/src/vpAdaptiveGain.cpp.o
[ 72%] Building CXX object modules/vs/CMakeFiles/visp_vs.dir/src/vpServoData.cpp.o
[ 72%] Building CXX object modules/vs/CMakeFiles/visp_vs.dir/src/vpServo.cpp.o
[ 72%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/haptic-device/reflex-takktile/vpReflexTakktile2.cpp.o
[ 72%] Building CXX object modules/vs/CMakeFiles/visp_vs.dir/src/vpServoDisplay.cpp.o
[ 72%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/haptic-device/virtuose/vpVirtuose.cpp.o
[ 72%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/image-simulator/vpImageSimulator.cpp.o
[ 72%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/light/vpRingLight.cpp.o
[ 73%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/afma4/vpAfma4.cpp.o
[ 73%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/afma4/vpRobotAfma4.cpp.o
[ 73%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/afma4/vpServolens.cpp.o
[ 74%] Linking CXX shared library ../../lib/libvisp_vs.so
[ 74%] Built target visp_vs
Consolidate compiler generated dependencies of target visp_vision
[ 74%] Linking CXX shared library ../../lib/libvisp_vision.so
[ 74%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/afma6/vpAfma6.cpp.o
[ 79%] Built target visp_vision
Consolidate compiler generated dependencies of target visp_detection
[ 80%] Linking CXX shared library ../../lib/libvisp_detection.so
[ 80%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/afma6/vpRobotAfma6.cpp.o
[ 81%] Built target visp_detection
[ 81%] Building CXX object modules/tt/CMakeFiles/visp_tt.dir/src/ssd/vpTemplateTrackerSSD.cpp.o
[ 82%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/bebop2/vpRobotBebop2.cpp.o
[ 82%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/biclops/vpBiclops.cpp.o
[ 82%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/biclops/vpRobotBiclops.cpp.o
[ 82%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/biclops/vpRobotBiclopsController.cpp.o
[ 82%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/flir-ptu/vpRobotFlirPtu.cpp.o
[ 83%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/franka/vpForceTorqueGenerator_impl.cpp.o
[ 83%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/franka/vpJointPosTrajGenerator_impl.cpp.o
[ 83%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/franka/vpJointVelTrajGenerator_impl.cpp.o
[ 84%] Building CXX object modules/tt/CMakeFiles/visp_tt.dir/src/ssd/vpTemplateTrackerSSDESM.cpp.o
[ 84%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/franka/vpRobotFranka.cpp.o
[ 84%] Linking CXX shared library ../../lib/libvisp_ar.so
[ 84%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/kinova/vpRobotKinova.cpp.o
[ 84%] Built target visp_ar
[ 84%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/depth/vpMbDepthDenseTracker.cpp.o
[ 84%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/mavsdk/vpRobotMavsdk.cpp.o
[ 84%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/depth/vpMbDepthNormalTracker.cpp.o
[ 85%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/pioneer/vpRobotPioneer.cpp.o
[ 85%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/ptu46/vpPtu46.cpp.o
[ 85%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/ptu46/vpRobotPtu46.cpp.o
[ 85%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/universal-robots/vpRobotUniversalRobots.cpp.o
[ 85%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/viper/vpRobotViper650.cpp.o
[ 86%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/viper/vpRobotViper850.cpp.o
[ 86%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/viper/vpViper.cpp.o
[ 86%] Building CXX object modules/tt/CMakeFiles/visp_tt.dir/src/ssd/vpTemplateTrackerSSDForwardAdditional.cpp.o
[ 86%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/viper/vpViper650.cpp.o
[ 86%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/real-robot/viper/vpViper850.cpp.o
[ 86%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/robot-simulator/vpRobotCamera.cpp.o
[ 87%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/robot-simulator/vpRobotSimulator.cpp.o
[ 87%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/robot-simulator/vpRobotWireFrameSimulator.cpp.o
[ 87%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/robot-simulator/vpSimulatorAfma6.cpp.o
[ 87%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/robot-simulator/vpSimulatorCamera.cpp.o
[ 87%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/robot-simulator/vpSimulatorPioneer.cpp.o
[ 88%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/robot-simulator/vpSimulatorPioneerPan.cpp.o
[ 88%] Building CXX object modules/tt/CMakeFiles/visp_tt.dir/src/ssd/vpTemplateTrackerSSDForwardCompositional.cpp.o
[ 89%] Building CXX object modules/tt/CMakeFiles/visp_tt.dir/src/ssd/vpTemplateTrackerSSDInverseCompositional.cpp.o
[ 89%] Building CXX object modules/tt/CMakeFiles/visp_tt.dir/src/tools/vpTemplateTrackerTriangle.cpp.o
[ 89%] Building CXX object modules/tt/CMakeFiles/visp_tt.dir/src/tools/vpTemplateTrackerBSpline.cpp.o
[ 89%] Building CXX object modules/tt/CMakeFiles/visp_tt.dir/src/tools/vpTemplateTrackerZone.cpp.o
[ 89%] Building CXX object modules/tt/CMakeFiles/visp_tt.dir/src/vpTemplateTracker.cpp.o
[ 89%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/robot-simulator/vpSimulatorViper850.cpp.o
[ 89%] Building CXX object modules/tt/CMakeFiles/visp_tt.dir/src/warp/vpTemplateTrackerWarpAffine.cpp.o
[ 89%] Building CXX object modules/tt/CMakeFiles/visp_tt.dir/src/warp/vpTemplateTrackerWarp.cpp.o
[ 90%] Building CXX object modules/tt/CMakeFiles/visp_tt.dir/src/warp/vpTemplateTrackerWarpHomography.cpp.o
[ 90%] Building CXX object modules/tt/CMakeFiles/visp_tt.dir/src/warp/vpTemplateTrackerWarpHomographySL3.cpp.o
[ 90%] Building CXX object modules/tt/CMakeFiles/visp_tt.dir/src/warp/vpTemplateTrackerWarpRT.cpp.o
[ 91%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/depth/vpMbtFaceDepthDense.cpp.o
[ 91%] Building CXX object modules/tt/CMakeFiles/visp_tt.dir/src/warp/vpTemplateTrackerWarpSRT.cpp.o
[ 91%] Building CXX object modules/tt/CMakeFiles/visp_tt.dir/src/warp/vpTemplateTrackerWarpTranslation.cpp.o
[ 92%] Building CXX object modules/tt/CMakeFiles/visp_tt.dir/src/zncc/vpTemplateTrackerZNCC.cpp.o
[ 92%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/vpRobot.cpp.o
[ 92%] Building CXX object modules/tt/CMakeFiles/visp_tt.dir/src/zncc/vpTemplateTrackerZNCCForwardAdditional.cpp.o
[ 92%] Building CXX object modules/tt/CMakeFiles/visp_tt.dir/src/zncc/vpTemplateTrackerZNCCInverseCompositional.cpp.o
[ 92%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/vpRobotTemplate.cpp.o
[ 92%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/wireframe-simulator/vpArit.cpp.o
[ 93%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/wireframe-simulator/vpAritio.cpp.o
[ 93%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/wireframe-simulator/vpBound.cpp.o
[ 93%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/wireframe-simulator/vpBoundio.cpp.o
[ 93%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/wireframe-simulator/vpClipping.cpp.o
[ 93%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/wireframe-simulator/vpCoreDisplay.cpp.o
[ 94%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/wireframe-simulator/vpKeyword.cpp.o
[ 94%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/wireframe-simulator/vpLex.cpp.o
[ 94%] Linking CXX shared library ../../lib/libvisp_tt.so
[ 94%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/wireframe-simulator/vpMyio.cpp.o
[ 94%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/wireframe-simulator/vpParser.cpp.o
[ 94%] Built target visp_tt
[ 94%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/wireframe-simulator/vpProjection.cpp.o
[ 95%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/wireframe-simulator/vpRfstack.cpp.o
[ 95%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/wireframe-simulator/vpScene.cpp.o
[ 95%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/wireframe-simulator/vpSkipio.cpp.o
[ 95%] Building CXX object modules/tt_mi/CMakeFiles/visp_tt_mi.dir/src/mi/vpTemplateTrackerMI.cpp.o
[ 95%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/wireframe-simulator/vpTmstack.cpp.o
[ 95%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/wireframe-simulator/vpToken.cpp.o
[ 96%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/wireframe-simulator/vpViewio.cpp.o
[ 96%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/wireframe-simulator/vpVwstack.cpp.o
[ 96%] Building CXX object modules/robot/CMakeFiles/visp_robot.dir/src/wireframe-simulator/vpWireFrameSimulator.cpp.o
[ 97%] Building CXX object modules/tt_mi/CMakeFiles/visp_tt_mi.dir/src/mi/vpTemplateTrackerMIESM.cpp.o
[ 97%] Building CXX object modules/tt_mi/CMakeFiles/visp_tt_mi.dir/src/mi/vpTemplateTrackerMIForwardAdditional.cpp.o
[ 97%] Building CXX object modules/tt_mi/CMakeFiles/visp_tt_mi.dir/src/mi/vpTemplateTrackerMIForwardCompositional.cpp.o
[ 97%] Building CXX object modules/tt_mi/CMakeFiles/visp_tt_mi.dir/src/mi/vpTemplateTrackerMIInverseCompositional.cpp.o
[ 97%] Building CXX object modules/tt_mi/CMakeFiles/visp_tt_mi.dir/src/tools/vpTemplateTrackerMIBSpline.cpp.o
[ 97%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/depth/vpMbtFaceDepthNormal.cpp.o
[ 97%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/edge/vpMbEdgeTracker.cpp.o
[ 97%] Linking CXX shared library ../../lib/libvisp_robot.so
[ 97%] Built target visp_robot
[ 97%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/edge/vpMbtDistanceCircle.cpp.o
[ 97%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/edge/vpMbtDistanceCylinder.cpp.o
[ 98%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/edge/vpMbtDistanceLine.cpp.o
[ 98%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/edge/vpMbtMeEllipse.cpp.o
[ 98%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/edge/vpMbtMeLine.cpp.o
[ 98%] Linking CXX shared library ../../lib/libvisp_tt_mi.so
[ 98%] Built target visp_tt_mi
[ 98%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/hybrid/vpMbEdgeKltTracker.cpp.o
[ 98%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/klt/vpMbKltTracker.cpp.o
[ 99%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/klt/vpMbtDistanceKltCylinder.cpp.o
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [modules/mbt/CMakeFiles/visp_mbt.dir/build.make:132: modules/mbt/CMakeFiles/visp_mbt.dir/src/edge/vpMbEdgeTracker.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [modules/mbt/CMakeFiles/visp_mbt.dir/build.make:174: modules/mbt/CMakeFiles/visp_mbt.dir/src/edge/vpMbtDistanceLine.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1701: modules/mbt/CMakeFiles/visp_mbt.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

Picking up with a non-parallel build...

~/visp-ws/visp-build » make
[  0%] Built target man
[  0%] Built target developer_scripts
[  0%] Built target visp_clipper
[  5%] Built target visp_apriltag
[  6%] Built target visp_qbdevice
[  6%] Built target visp_reflex_takktile2
[  6%] Built target visp_pugixml
[ 25%] Built target visp_simdlib
Consolidate compiler generated dependencies of target visp_core
[ 46%] Built target visp_core
[ 46%] Built target visp_dnn_tracker
[ 50%] Built target visp_gui
[ 52%] Built target visp_imgproc
[ 55%] Built target visp_io
[ 55%] Built target visp_klt
[ 57%] Built target visp_me
[ 62%] Built target visp_sensor
Consolidate compiler generated dependencies of target visp_ar
[ 63%] Built target visp_ar
[ 64%] Built target visp_blob
Consolidate compiler generated dependencies of target visp_robot
[ 76%] Built target visp_robot
[ 83%] Built target visp_visual_features
Consolidate compiler generated dependencies of target visp_vs
[ 84%] Built target visp_vs
[ 89%] Built target visp_vision
[ 91%] Built target visp_detection
Consolidate compiler generated dependencies of target visp_mbt
[ 91%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/edge/vpMbEdgeTracker.cpp.o
[ 92%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/edge/vpMbtDistanceLine.cpp.o
[ 92%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/klt/vpMbtDistanceKltPoints.cpp.o
[ 92%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/vpMbGenericTracker.cpp.o
[ 92%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/vpMbScanLine.cpp.o
[ 92%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/vpMbTracker.cpp.o
[ 93%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/vpMbtPolygon.cpp.o
[ 93%] Building CXX object modules/mbt/CMakeFiles/visp_mbt.dir/src/vpMbtXmlGenericParser.cpp.o
[ 93%] Linking CXX shared library ../../lib/libvisp_mbt.so
[ 95%] Built target visp_mbt
Consolidate compiler generated dependencies of target visp_tt
[ 99%] Built target visp_tt
Consolidate compiler generated dependencies of target visp_tt_mi
[100%] Built target visp_tt_mi
Jake-Carter commented 1 year ago

Sorry - my mistake. Out of memory!

dmesg showed

[ 3009.535739] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=cc1plus,pid=31768,uid=1000
[ 3009.536235] Out of memory: Killed process 31768 (cc1plus) total-vm:691164kB, anon-rss:581220kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:1348kB oom_score_adj:0