******************************************************************************** conan test conan-center-index/recipes/qhull/all/test_package/conanfile.py qhull/8.0.1@ --profile=/home/conan/w/BuildSingleReference/69353/0a29cc73-9118-489e-a0d5-6a4c1ae8e7d5/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=5 os=Linux [options] qhull:shared=True [build_requires] [env] qhull/8.0.1 (test package): Installing package Requirements qhull/8.0.1 from local cache - Cache Packages qhull/8.0.1:b34df74c5d19404b38553e37011cc9839b6cc02c - Cache Installing (downloading, building) binaries... qhull/8.0.1: Already installed! qhull/8.0.1: Appending PATH environment variable: /home/conan/w/BuildSingleReference/.conan/data/qhull/8.0.1/_/_/package/b34df74c5d19404b38553e37011cc9839b6cc02c/bin [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK qhull/8.0.1 (test package): Generator cmake created conanbuildinfo.cmake qhull/8.0.1 (test package): Generator txt created conanbuildinfo.txt qhull/8.0.1 (test package): Generator cmake_find_package_multi created QhullConfigVersion.cmake qhull/8.0.1 (test package): Generator cmake_find_package_multi created QhullTarget-release.cmake qhull/8.0.1 (test package): Generator cmake_find_package_multi created QhullTargets.cmake qhull/8.0.1 (test package): Generator cmake_find_package_multi created QhullConfig.cmake qhull/8.0.1 (test package): Aggregating env generators qhull/8.0.1 (test package): Generated conaninfo.txt qhull/8.0.1 (test package): Generated graphinfo Using lockfile: '/home/conan/w/BuildSingleReference/conan-center-index/recipes/qhull/all/test_package/build/cb2f3802c5967ba7c013c83dcc8c49045980dc95/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK qhull/8.0.1 (test package): Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/conan-center-index/recipes/qhull/all/test_package/build/cb2f3802c5967ba7c013c83dcc8c49045980dc95' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="5" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/conan-center-index/recipes/qhull/all/test_package/build/cb2f3802c5967ba7c013c83dcc8c49045980dc95/package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_PREFIX_PATH="/home/conan/w/BuildSingleReference/conan-center-index/recipes/qhull/all/test_package/build/cb2f3802c5967ba7c013c83dcc8c49045980dc95" -DCMAKE_MODULE_PATH="/home/conan/w/BuildSingleReference/conan-center-index/recipes/qhull/all/test_package/build/cb2f3802c5967ba7c013c83dcc8c49045980dc95" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DQHULL_REENTRANT="True" -Wno-dev '/home/conan/w/BuildSingleReference/conan-center-index/recipes/qhull/all/test_package' ----------------- -- The C compiler identification is GNU 5.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library qhull_r found /home/conan/w/BuildSingleReference/.conan/data/qhull/8.0.1/_/_/package/b34df74c5d19404b38553e37011cc9839b6cc02c/lib/libqhull_r.so -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- This project seems to be plain C, using 'GNU' compiler -- Conan: Compiler GCC>=5, checking major version 5 -- Conan: Checking correct version: 5 -- Conan: C++ stdlib: libstdc++11 -- Library qhull_r found /home/conan/w/BuildSingleReference/.conan/data/qhull/8.0.1/_/_/package/b34df74c5d19404b38553e37011cc9839b6cc02c/lib/libqhull_r.so -- Found: /home/conan/w/BuildSingleReference/.conan/data/qhull/8.0.1/_/_/package/b34df74c5d19404b38553e37011cc9839b6cc02c/lib/libqhull_r.so -- Library qhull_r found /home/conan/w/BuildSingleReference/.conan/data/qhull/8.0.1/_/_/package/b34df74c5d19404b38553e37011cc9839b6cc02c/lib/libqhull_r.so -- Found: /home/conan/w/BuildSingleReference/.conan/data/qhull/8.0.1/_/_/package/b34df74c5d19404b38553e37011cc9839b6cc02c/lib/libqhull_r.so -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/conan-center-index/recipes/qhull/all/test_package/build/cb2f3802c5967ba7c013c83dcc8c49045980dc95 ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/qhull/all/test_package/build/cb2f3802c5967ba7c013c83dcc8c49045980dc95' '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building C object CMakeFiles/test_package.dir/test_package_r.c.o [100%] Linking C executable bin/test_package [100%] Built target test_package qhull/8.0.1 (test package): Running test() ----Running------ > bin/test_package ----------------- ======== user_eg 'cube qhull options' 'Delaunay options' 'halfspace options' This is the output from user_eg_r.c. It shows how qhull() may be called from an application, via Qhull's shared, reentrant library. user_eg is not part of Qhull itself. If user_eg fails immediately, user_eg_r.c was incorrectly linked to Qhull's non-reentrant library, libqhull. Try -- user_eg 'T1' 'T1' 'T1' ======== compute convex hull of cube after rotating input input -1 -1 -1 1 -1 -1 -1 1 -1 1 1 -1 -1 -1 1 1 -1 1 -1 1 1 1 1 1 8 vertices and 6 facets with normals: -0 -0 -1 0 -1 0 1 -0 -0 -1 -0 -0 0 1 -0 -0 -0 1 ======== compute 3-d Delaunay triangulation seed: 1641758864 input -0.978 0.27 -0.201 0.12 -0.0596 -0.983 0.347 -0.249 0.131 -0.943 -0.837 0.899 0.314 0.811 -0.563 0.341 -0.246 -0.102 -0.554 0.871 -0.676 -0.858 -0.802 0.217 8 vertices and 18 facets with normals: -0.5 0.038 0.69 -0.52 -0.72 -0.19 -0.57 0.33 -0.59 -0.29 -0.73 0.18 -0.42 -0.33 -0.71 0.45 -0.039 0.61 0.78 -0.13 -0.075 0.67 0.74 -0.049 0.87 -0.27 0.069 0.41 0.47 -0.016 -0.35 0.81 0.75 -0.59 -0.044 0.3 0.43 -0.9 -0.025 0.022 0.49 -0.85 -0.18 0.14 -0.61 -0.29 0.052 -0.73 -0.51 -0.43 -0.48 -0.57 -0.25 0.63 0.054 -0.73 0.94 -0.22 -0.042 0.26 -0.3 0.36 -0.5 -0.72 -0.3 0.42 -0.44 -0.74 -0.28 0.38 -0.5 -0.72 find 3-d Delaunay triangle or adjacent triangle closest to [0.5, 0.5, ...] 0.31 0.81 -0.56 -0.94 -0.84 0.90 0.35 -0.25 0.13 -0.98 0.27 -0.20 ======== Compute a new triangulation as a separate instance of Qhull seed: 1641758865 input -0.978 0.533 -0.69 -0.963 -0.994 -0.545 0.441 -0.891 -0.51 0.927 -0.0702 -0.0626 -0.0245 0.88 -0.457 -0.6 -0.904 -0.0869 0.213 -0.995 0.159 0.516 0.376 0.0779 8 vertices and 16 facets with normals: 0.065 0.25 0.79 0.55 0.52 0.22 -0.32 0.76 0.53 0.25 -0.48 0.66 0.52 -0.16 0.37 0.76 0.034 0.27 0.83 0.49 0.075 0.34 0.79 0.51 0.32 -0.46 -0.19 -0.8 0.31 0.03 -0.81 -0.5 -0.25 -0.14 -0.72 -0.63 -0.57 0.052 -0.21 -0.79 -0.22 -0.14 -0.66 -0.7 -0.21 0.23 0.91 0.27 -0.075 -0.4 -0.33 -0.85 -0.2 0.2 0.9 0.35 -0.29 -0.23 -0.8 -0.48 -0.069 -0.95 -0.23 -0.21 ======== Free memory allocated by the new instance of Qhull, and redisplay the old results. 8 vertices and 18 facets with normals: -0.5 0.038 0.69 -0.52 -0.72 -0.19 -0.57 0.33 -0.59 -0.29 -0.73 0.18 -0.42 -0.33 -0.71 0.45 -0.039 0.61 0.78 -0.13 -0.075 0.67 0.74 -0.049 0.87 -0.27 0.069 0.41 0.47 -0.016 -0.35 0.81 0.75 -0.59 -0.044 0.3 0.43 -0.9 -0.025 0.022 0.49 -0.85 -0.18 0.14 -0.61 -0.29 0.052 -0.73 -0.51 -0.43 -0.48 -0.57 -0.25 0.63 0.054 -0.73 0.94 -0.22 -0.042 0.26 -0.3 0.36 -0.5 -0.72 -0.3 0.42 -0.44 -0.74 -0.28 0.38 -0.5 -0.72 ======== compute halfspace intersection about the origin for a diamond input as halfspace coefficients + offsets -1 -1 -1 -1 1 -1 -1 -1 -1 1 -1 -1 1 1 -1 -1 -1 -1 1 -1 1 -1 1 -1 -1 1 1 -1 1 1 1 -1 3 6 0 0 -1 0 -1 0 1 0 0 -1 0 0 0 1 0 0 0 1 8 vertices and 6 facets with normals: -0 -0 -1 0 -1 0 1 -0 -0 -1 -0 -0 0 1 -0 -0 -0 1 CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR Convex hull of 8 points in 3-d: Number of vertices: 8 Number of facets: 6 Number of non-simplicial facets: 6 Statistics for: | qhull s Tcv Number of points processed: 8 Number of hyperplanes created: 11 Number of distance tests for qhull: 34 Number of distance tests for merging: 96 Number of distance tests for checking: 100 Number of merged facets: 6 CPU seconds to compute hull (after input): 0.000464 Output completed. Verifying that all points are below outer planes of all facets. Will make 48 distance computations. Delaunay triangulation by the convex hull of 8 points in 4-d: Number of input sites: 8 Number of Delaunay regions: 9 Statistics for: | qhull s d Tcv Number of points processed: 8 Number of hyperplanes created: 27 Number of facets in hull: 18 Number of distance tests for qhull: 27 CPU seconds to compute hull (after input): 4.9e-05 Output completed. Verifying that all points are below 1.4e-14 of all facets. Will make 72 distance computations. Delaunay triangulation by the convex hull of 8 points in 4-d: Number of input sites: 8 Number of Delaunay regions: 8 Statistics for: | qhull s d Tcv Number of points processed: 8 Number of hyperplanes created: 25 Number of facets in hull: 16 Number of distance tests for qhull: 31 CPU seconds to compute hull (after input): 5.3e-05 Output completed. Verifying that all points are below 1.3e-14 of all facets. Will make 64 distance computations. Halfspace intersection by the convex hull of 8 points in 3-d: Number of halfspaces: 8 Number of non-redundant halfspaces: 8 Number of intersection points: 6 Number of non-simplicial intersection points: 6 Statistics for: | qhull H0 s Tcv Fp Number of points processed: 8 Number of hyperplanes created: 11 Number of distance tests for qhull: 34 Number of distance tests for merging: 96 Number of distance tests for checking: 100 Number of merged facets: 6 CPU seconds to compute hull (after input): 6.4e-05 Output completed. Verifying that all points are below outer planes of all facets. Will make 48 distance computations.