Skip to content

Instantly share code, notes, and snippets.

@al3xtjames
Last active December 17, 2023 22:56
Show Gist options
  • Save al3xtjames/64ac677568ba786ed2a1823891157d0d to your computer and use it in GitHub Desktop.
Save al3xtjames/64ac677568ba786ed2a1823891157d0d to your computer and use it in GitHub Desktop.
@nix { "action": "setPhase", "phase": "qtPreHook" }
Running phase: qtPreHook
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/idwg3qbazswc5xmjsspab1ln1lzbvjxy-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
fixing cmake files...
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/d9xcn4gdn111xng0lyzxgzdvg6lxk3xd-pcl-1.13.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/d9xcn4gdn111xng0lyzxgzdvg6lxk3xd-pcl-1.13.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/d9xcn4gdn111xng0lyzxgzdvg6lxk3xd-pcl-1.13.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/d9xcn4gdn111xng0lyzxgzdvg6lxk3xd-pcl-1.13.0/share/doc/PCL -DCMAKE_INSTALL_INFODIR=/nix/store/d9xcn4gdn111xng0lyzxgzdvg6lxk3xd-pcl-1.13.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/d9xcn4gdn111xng0lyzxgzdvg6lxk3xd-pcl-1.13.0/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/d9xcn4gdn111xng0lyzxgzdvg6lxk3xd-pcl-1.13.0/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/d9xcn4gdn111xng0lyzxgzdvg6lxk3xd-pcl-1.13.0/include -DCMAKE_INSTALL_SBINDIR=/nix/store/d9xcn4gdn111xng0lyzxgzdvg6lxk3xd-pcl-1.13.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/d9xcn4gdn111xng0lyzxgzdvg6lxk3xd-pcl-1.13.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/d9xcn4gdn111xng0lyzxgzdvg6lxk3xd-pcl-1.13.0/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/ranlib -DCMAKE_AR=/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/d9xcn4gdn111xng0lyzxgzdvg6lxk3xd-pcl-1.13.0 -DWITH_CUDA=true -DCUDA_TOOLKIT_ROOT_DIR=/nix/store/ajcqx3k8snyqs7jin7k99vdynx6wvras-cudatoolkit-11.8.0
-- The C compiler identification is GNU 12.3.0
-- The CXX compiler identification is GNU 12.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /nix/store/1nvm1a9a9mlwyy7d0hapkzchxgjgpw19-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")
-- Performing Test LIBATOMIC_NOT_NEEDED
-- Performing Test LIBATOMIC_NOT_NEEDED - Failed
-- Could NOT find ClangFormat (missing: ClangFormat_EXECUTABLE ClangFormat_VERSION) (Required is at least version "14")
-- Performing Test HAVE_MARCH
-- Performing Test HAVE_MARCH - Success
-- Performing Test HAVE_MM_MALLOC
-- Performing Test HAVE_MM_MALLOC - Success
-- Performing Test HAVE_POSIX_MEMALIGN
-- Performing Test HAVE_POSIX_MEMALIGN - Success
-- Performing Test HAVE_SSE4_2_EXTENSIONS
-- Performing Test HAVE_SSE4_2_EXTENSIONS - Success
-- Using CPU native flags for SSE optimization: -msse4.2 -mfpmath=sse -march=native
-- Performing Test HAVE_AVX2
-- Performing Test HAVE_AVX2 - Failed
-- Performing Test HAVE_AVX
-- Performing Test HAVE_AVX - Failed
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5") found components: C CXX
-- Found OpenMP, spec date 201511
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Checking for module 'eigen3'
-- Found eigen3, version 3.4.0
-- Found Eigen: /nix/store/72rvb2a8sbr9aj63865cm2ybp3w3wc89-eigen-3.4.0/include/eigen3 (Required is at least version "3.3")
-- Eigen found (include: /nix/store/72rvb2a8sbr9aj63865cm2ybp3w3wc89-eigen-3.4.0/include/eigen3, version: 3.4.0)
-- Checking for module 'flann>=1.9.1'
-- Found flann, version 1.9.1
-- Found FLANN: /nix/store/mchg0y1j55m6r5c4pgci31lqwzc8h9qa-flann-1.9.1/lib/libflann_cpp.so (Required is at least version "1.9.1")
-- FLANN found (include: /nix/store/mchg0y1j55m6r5c4pgci31lqwzc8h9qa-flann-1.9.1/include, lib: /nix/store/mchg0y1j55m6r5c4pgci31lqwzc8h9qa-flann-1.9.1/lib/libflann_cpp.so)
-- Checking for module 'libusb-1.0'
-- Found libusb-1.0, version 1.0.26
-- Found libusb: /nix/store/fz96kk9ljvaynpsgbn633bfv017w7rd6-libusb-1.0.26/lib/libusb-1.0.so
-- Could NOT find OpenNI (missing: OPENNI_LIBRARIES OPENNI_INCLUDE_DIRS)
-- OpenNI grabber support: not building because OpenNI not found
-- Could NOT find OpenNI2 (missing: OPENNI2_LIBRARIES OPENNI2_INCLUDE_DIRS)
-- OpenNI2 grabber support: not building because OpenNI2 not found
-- Could NOT find Ensenso (missing: ENSENSO_LIBRARIES ENSENSO_INCLUDE_DIRS)
-- IDS-Imaging Ensenso camera support: not building because Ensenso not found
-- Could NOT find davidSDK (missing: DAVIDSDK_LIBRARY DAVIDSDK_INCLUDE_DIR)
-- David Vision Systems SDK support: not building because davidSDK not found
-- Could NOT find DSSDK (missing: DSSDK_LIBRARIES DSSDK_INCLUDE_DIRS)
-- DepthSense SDK support: not building because DSSDK not found
-- Could NOT find RSSDK (missing: RSSDK_LIBRARIES RSSDK_INCLUDE_DIRS)
-- RealSense SDK support: not building because RSSDK not found
-- Could NOT find RSSDK2
-- RealSense SDK 2.0 (librealsense) support: not building because RSSDK2 not found
-- Checking for module 'metslib'
-- No package 'metslib' found
-- Found ZLIB: /nix/store/lprrvg44cyn9ajpq77lh7rlnp4kzdqzs-zlib-1.3/lib/libz.so (found version "1.3")
-- Found PNG: /nix/store/mk97b70y1j3llblmgcd0j3cn2zhgdcfk-libpng-apng-1.6.40/lib/libpng.so (found version "1.6.40")
-- Found Qhull version 8.0.2
[33mCMake Warning (dev) at cmake/pcl_find_cuda.cmake:8 (find_package):
Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake
--help-policy CMP0146" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
Call Stack (most recent call first):
CMakeLists.txt:376 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
[0m
-- Found CUDA Toolkit v11.8
[31mCMake Error at /nix/store/4vq5ggsg1vmfs09r4sqbidmgvqlxrv14-cmake-3.27.8/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:753 (message):
Compiling the CUDA compiler identification source file
"CMakeCUDACompilerId.cu" failed.
Compiler:
/nix/store/ajcqx3k8snyqs7jin7k99vdynx6wvras-cudatoolkit-11.8.0/bin/nvcc
Build flags:
Id flags: --keep;--keep-dir;tmp -v
The output was:
1
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$
_HERE_=/nix/store/ajcqx3k8snyqs7jin7k99vdynx6wvras-cudatoolkit-11.8.0/bin
#$
_THERE_=/nix/store/ajcqx3k8snyqs7jin7k99vdynx6wvras-cudatoolkit-11.8.0/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_SIZE_=64
#$
TOP=/nix/store/ajcqx3k8snyqs7jin7k99vdynx6wvras-cudatoolkit-11.8.0/bin/..
#$
NVVMIR_LIBRARY_DIR=/nix/store/ajcqx3k8snyqs7jin7k99vdynx6wvras-cudatoolkit-11.8.0/bin/../nvvm/libdevice
#$
LD_LIBRARY_PATH=/nix/store/ajcqx3k8snyqs7jin7k99vdynx6wvras-cudatoolkit-11.8.0/bin/../lib:
#$
PATH=/nix/store/ajcqx3k8snyqs7jin7k99vdynx6wvras-cudatoolkit-11.8.0/bin/../nvvm/bin:/nix/store/ajcqx3k8snyqs7jin7k99vdynx6wvras-cudatoolkit-11.8.0/bin:/nix/store/1nvm1a9a9mlwyy7d0hapkzchxgjgpw19-pkg-config-wrapper-0.29.2/bin:/nix/store/4vq5ggsg1vmfs09r4sqbidmgvqlxrv14-cmake-3.27.8/bin:/nix/store/al9kapaiy7wkrnqrh8pkvignr8g1b9yz-qtbase-5.15.11-dev/bin:/nix/store/nhv7xmxzi63lp3x1j7zrwb7f2248sgl2-libxml2-2.11.5-dev/bin:/nix/store/lbz1js5ylwvby2bcwbxj8zg6rhwbhwny-libxml2-2.11.5-bin/bin:/nix/store/l3rz0yn99xs35bq8svv1cka90zvf1jnn-libxslt-1.1.39-dev/bin:/nix/store/30264hjvkkpyz2ippfz8jh3gviq1gm5m-libxslt-1.1.39-bin/bin:/nix/store/sr9ka27mzwb3mpvmh1k9180k9rrzlrky-openssl-3.0.12-bin/bin:/nix/store/c1r78xcyvkkvsax259d9v4k787bfvv7j-sqlite-3.43.2-bin/bin:/nix/store/ccyqhrjb57h6ld2qpkp29raf6b175cqa-harfbuzz-7.3.0-dev/bin:/nix/store/j0f5gaydm3rwym6kpaaqns5wkdjb8k4h-graphite2-1.3.14/bin:/nix/store/9dhsn7y43f0s1vvxwby671n9qb8ab4vm-icu4c-73.2-dev/bin:/nix/store/m5rbxn8qlc5229n8qm3z7jii7qr9ra18-libjpeg-turbo-2.1.5.1-bin/bin:/nix/store/m653k4419m8qdjjd5m5ml7bqmhikq4zg-libpng-apng-1.6.40-dev/bin:/nix/store/qqi65zz77m2hsy2w9y2bamc7w9k5cqw4-pcre2-10.42-dev/bin:/nix/store/6m5a89ybk9p9mwa7nk91nywl9plxf5fz-pcre2-10.42-bin/bin:/nix/store/jrmyd9s9y6bxwz3ll4paam4gjrkj2ln5-expat-2.5.0-dev/bin:/nix/store/jnlxl2ry9y03vq4skhm26igfd84xwa93-dbus-1.14.10-lib/bin:/nix/store/yj1vp6pcb4izg73p4007ckyhak5icxbp-dbus-1.14.10/bin:/nix/store/xc5casr35bpf24dj0sp3jjwh76mkslg4-glib-2.78.1-dev/bin:/nix/store/f0m95a8gfkwgijbiscbkn7f3ra6ha70x-gettext-0.21.1/bin:/nix/store/7m55djnyz4x0lcffn6c38j57bzpj1a6g-glib-2.78.1-bin/bin:/nix/store/q5f6c3kcj49v67492q7ivm5nscnsr258-freetype-2.13.2-dev/bin:/nix/store/9gdg43h7zrn651lb1ihv2b2qf59im94b-bzip2-1.0.8-bin/bin:/nix/store/bw9dj066cp2rp67pgr54gssr7kqcnanm-brotli-1.1.0/bin:/nix/store/nw4mp3xn5j6frcjk1am839lji4qmvs4h-fontconfig-2.14.2-bin/bin:/nix/store/4xais97r44913sfqdaazggpzgadys13a-libdrm-2.4.118-bin/bin:/nix/store/6az669c4m6mv87br2716hcr7vvxw8w2d-libxkbcommon-1.5.0/bin:/nix/store/7vgy7dl7zyyzdv60qs91lpdlb7v4p09l-qtwayland-5.15.11-dev/bin:/nix/store/i49x40avjzmhrz7av6g5l7l28ii2l0yr-qtdeclarative-5.15.11-dev/bin:/nix/store/1i7rnqk06j1ryp534zn1c7ibqffs7b6s-qtdeclarative-5.15.11-bin/bin:/nix/store/6g73rjy9affqy2swjln6va03xn8aqgd1-qtwayland-5.15.11-bin/bin:/nix/store/cs1zmr4khjdsshg16qx0mi12dslwyiv8-lndir-1.0.4/bin:/nix/store/pyq6gyhgck1nkfyjs6842ysxkxzjxkaj-patchelf-0.15.0/bin:/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin:/nix/store/qfqjymymsd2x29yknsgllfiq1h64s3f4-gcc-12.3.0/bin:/nix/store/bh4lz3c2n3qfbm2hhwjhnqcaxcjs2sm8-glibc-2.38-27-bin/bin:/nix/store/zx8aqgdy735qzk81glfwil6mbi6ddqb1-coreutils-9.4/bin:/nix/store/lwqnazddv8037sin49482dnzc9iwgg8l-binutils-wrapper-2.40/bin:/nix/store/fzlkaj1ax7gl655blfcr6zzvml1vx3bj-binutils-2.40/bin:/nix/store/4qlgccn3g3mfw3i0bjibkqhq59cs0rdm-libpcap-1.10.4/bin:/nix/store/ajcqx3k8snyqs7jin7k99vdynx6wvras-cudatoolkit-11.8.0/bin:/nix/store/pijfa13g64qi0rx2qph2hb3yz7rfz5bl-lz4-1.9.4-bin/bin:/nix/store/yh4h8bbrjms0s94875f0iy933ffcpfg6-libdeflate-1.19/bin:/nix/store/pp7yamsghaprdxq94vr2iqx1hd5xn2qf-xz-5.4.5-bin/bin:/nix/store/hr8riqgxamldgx0svmp4jfvqgr4prg1a-libtiff-4.6.0-bin/bin:/nix/store/9xzx1zlib48py7s7r72pqq9gparnslrv-qhull-2020.2/bin:/nix/store/gyv53988dgj73m6wd3gbh9fw2dvkx2qq-vtk-9.2.6/bin:/nix/store/zx8aqgdy735qzk81glfwil6mbi6ddqb1-coreutils-9.4/bin:/nix/store/sq0w0jchkjqbxl47h52kfwa33qp1adfh-findutils-4.9.0/bin:/nix/store/f3g84l92p0njh0gyk1z7cp2k4qnh91ha-diffutils-3.10/bin:/nix/store/7fqp73ncnbwr5bxxszqicf6r33d9yhkw-gnused-4.9/bin:/nix/store/by6918gg7srjyixqk8kbcdlz82d5pcwx-gnugrep-3.11/bin:/nix/store/1713hchhyzawkxfhk9srxklv03bqj55y-gawk-5.2.2/bin:/nix/store/1y7cqy8y76gsx037mhs3cvb33srj4c7g-gnutar-1.35/bin:/nix/store/21drzcpzpi485f9m6ihspg4kayly5425-gzip-1.13/bin:/nix/store/9gdg43h7zrn651lb1ihv2b2qf59im94b-bzip2-1.0.8-bin/bin:/nix/store/452v8bl3sjaq4kil1d9vqxc5vns4cvpp-gnumake-4.4.1/bin:/nix/store/q8qq40xg2grfh9ry1d9x4g7lq4ra7n81-bash-5.2-p21/bin:/nix/store/l6s9gwsallxxgz3qy7xk6410y842m6dn-patch-2.7.6/bin:/nix/store/pp7yamsghaprdxq94vr2iqx1hd5xn2qf-xz-5.4.5-bin/bin:/nix/store/hnz8p5w9xc0ivsiyrgky6f6h7sjb28a5-file-5.45/bin
#$
INCLUDES="-I/nix/store/ajcqx3k8snyqs7jin7k99vdynx6wvras-cudatoolkit-11.8.0/bin/..//include"
#$ LIBRARIES=
"-L/nix/store/ajcqx3k8snyqs7jin7k99vdynx6wvras-cudatoolkit-11.8.0/bin/..//lib64/stubs"
"-L/nix/store/ajcqx3k8snyqs7jin7k99vdynx6wvras-cudatoolkit-11.8.0/bin/..//lib64"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ rm tmp/a_dlink.reg.c
#$ gcc -D__CUDA_ARCH__=520 -D__CUDA_ARCH_LIST__=520 -E -x c++
-DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__
"-I/nix/store/ajcqx3k8snyqs7jin7k99vdynx6wvras-cudatoolkit-11.8.0/bin/..//include"
-D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=8
-D__CUDACC_VER_BUILD__=89 -D__CUDA_API_VER_MAJOR__=11
-D__CUDA_API_VER_MINOR__=8 -D__NVCC_DIAG_PRAGMA_SUPPORT__=1 -include
"cuda_runtime.h" -m64 "CMakeCUDACompilerId.cu" -o
"tmp/CMakeCUDACompilerId.cpp1.ii"
In file included from
/nix/store/ajcqx3k8snyqs7jin7k99vdynx6wvras-cudatoolkit-11.8.0/include/cuda_runtime.h:83,
from <command-line>:
/nix/store/ajcqx3k8snyqs7jin7k99vdynx6wvras-cudatoolkit-11.8.0/include/crt/host_config.h:132:2:
error: #error -- unsupported GNU version! gcc versions later than 11 are
not supported! The nvcc flag '-allow-unsupported-compiler' can be used to
override this version check; however, using an unsupported host compiler
may cause compilation failure or incorrect run time execution. Use at your
own risk.
132 | #error -- unsupported GNU version! gcc versions later than 11 are not supported! The nvcc flag '-allow-unsupported-compiler' can be used to override this version check; however, using an unsupported host compiler may cause compilation failure or incorrect run time execution. Use at your own risk.
| ^~~~~
# --error 0x1 --
Call Stack (most recent call first):
/nix/store/4vq5ggsg1vmfs09r4sqbidmgvqlxrv14-cmake-3.27.8/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:8 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
/nix/store/4vq5ggsg1vmfs09r4sqbidmgvqlxrv14-cmake-3.27.8/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:53 (__determine_compiler_id_test)
/nix/store/4vq5ggsg1vmfs09r4sqbidmgvqlxrv14-cmake-3.27.8/share/cmake-3.27/Modules/CMakeDetermineCUDACompiler.cmake:307 (CMAKE_DETERMINE_COMPILER_ID)
cmake/pcl_find_cuda.cmake:13 (enable_language)
CMakeLists.txt:376 (include)
[0m
-- Configuring incomplete, errors occurred!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment