******************************************************************************** conan install rectanglebinpack/cci.20210829@ --build=rectanglebinpack --profile=/home/conan/w/BuildSingleReference/31009/f51b8c8a-bd5a-458d-8515-d79d21c7e0e3/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++ compiler.version=4.9 os=Linux os_build=Linux [options] rectanglebinpack:shared=False [build_requires] [env] rectanglebinpack/cci.20210829: Forced build from source Installing package: rectanglebinpack/cci.20210829 Requirements rectanglebinpack/cci.20210829 from local cache - Cache Packages rectanglebinpack/cci.20210829:3b345617ce2bd705ca33e4a8969fc7eb031ea30a - Build Installing (downloading, building) binaries... rectanglebinpack/cci.20210829: Copying sources to build folder rectanglebinpack/cci.20210829: Building your package in /home/conan/w/BuildSingleReference/.conan/data/rectanglebinpack/cci.20210829/_/_/build/3b345617ce2bd705ca33e4a8969fc7eb031ea30a rectanglebinpack/cci.20210829: Generator cmake created conanbuildinfo.cmake [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK rectanglebinpack/cci.20210829: Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/.conan/data/rectanglebinpack/cci.20210829/_/_/build/3b345617ce2bd705ca33e4a8969fc7eb031ea30a/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="4.9" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/.conan/data/rectanglebinpack/cci.20210829/_/_/package/3b345617ce2bd705ca33e4a8969fc7eb031ea30a" -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" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/BuildSingleReference/.conan/data/rectanglebinpack/cci.20210829/_/_/build/3b345617ce2bd705ca33e4a8969fc7eb031ea30a' ----------------- -- The C compiler identification is GNU 4.9.4 -- The CXX compiler identification is GNU 4.9.4 -- 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 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Adjusting fPIC flag (ON) -- Conan: Checking correct version: 4.9 -- Conan: C++ stdlib: libstdc++ -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/.conan/data/rectanglebinpack/cci.20210829/_/_/build/3b345617ce2bd705ca33e4a8969fc7eb031ea30a/build_subfolder ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/.conan/data/rectanglebinpack/cci.20210829/_/_/build/3b345617ce2bd705ca33e4a8969fc7eb031ea30a/build_subfolder' '--' '-j3' ----------------- Scanning dependencies of target MaxRectsBinPackTest Scanning dependencies of target RectangleBinPack [ 9%] Building CXX object source_subfolder/CMakeFiles/MaxRectsBinPackTest.dir/test/MaxRectsBinPackTest.cpp.o [ 18%] Building CXX object source_subfolder/CMakeFiles/MaxRectsBinPackTest.dir/MaxRectsBinPack.cpp.o [ 27%] Building CXX object source_subfolder/CMakeFiles/RectangleBinPack.dir/GuillotineBinPack.cpp.o [ 36%] Building CXX object source_subfolder/CMakeFiles/MaxRectsBinPackTest.dir/Rect.cpp.o [ 45%] Building CXX object source_subfolder/CMakeFiles/RectangleBinPack.dir/MaxRectsBinPack.cpp.o [ 54%] Building CXX object source_subfolder/CMakeFiles/RectangleBinPack.dir/Rect.cpp.o [ 63%] Building CXX object source_subfolder/CMakeFiles/RectangleBinPack.dir/ShelfBinPack.cpp.o [ 72%] Building CXX object source_subfolder/CMakeFiles/RectangleBinPack.dir/ShelfNextFitBinPack.cpp.o rectanglebinpack/cci.20210829: 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 /home/conan/w/BuildSingleReference/.conan/data/rectanglebinpack/cci.20210829/_/_/build/3b345617ce2bd705ca33e4a8969fc7eb031ea30a/source_subfolder/MaxRectsBinPack.cpp: In member function 'double rbp::MaxRectsBinPack::Occupancy() const': /home/conan/w/BuildSingleReference/.conan/data/rectanglebinpack/cci.20210829/_/_/build/3b345617ce2bd705ca33e4a8969fc7eb031ea30a/source_subfolder/MaxRectsBinPack.cpp:158:2: error: 'uint64_t' was not declared in this scope uint64_t usedSurfaceArea = 0; ^ /home/conan/w/BuildSingleReference/.conan/data/rectanglebinpack/cci.20210829/_/_/build/3b345617ce2bd705ca33e4a8969fc7eb031ea30a/source_subfolder/MaxRectsBinPack.cpp:160:3: error: 'usedSurfaceArea' was not declared in this scope usedSurfaceArea += usedRectangles[i].width * usedRectangles[i].height; ^ /home/conan/w/BuildSingleReference/.conan/data/rectanglebinpack/cci.20210829/_/_/build/3b345617ce2bd705ca33e4a8969fc7eb031ea30a/source_subfolder/MaxRectsBinPack.cpp:162:17: error: 'usedSurfaceArea' was not declared in this scope return (double)usedSurfaceArea / ((uint64_t)binWidth * binHeight); ^ /home/conan/w/BuildSingleReference/.conan/data/rectanglebinpack/cci.20210829/_/_/build/3b345617ce2bd705ca33e4a8969fc7eb031ea30a/source_subfolder/MaxRectsBinPack.cpp:162:46: error: expected ')' before 'binWidth' return (double)usedSurfaceArea / ((uint64_t)binWidth * binHeight); ^ make[2]: *** [source_subfolder/CMakeFiles/MaxRectsBinPackTest.dir/MaxRectsBinPack.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [source_subfolder/CMakeFiles/MaxRectsBinPackTest.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /home/conan/w/BuildSingleReference/.conan/data/rectanglebinpack/cci.20210829/_/_/build/3b345617ce2bd705ca33e4a8969fc7eb031ea30a/source_subfolder/MaxRectsBinPack.cpp: In member function 'double rbp::MaxRectsBinPack::Occupancy() const': /home/conan/w/BuildSingleReference/.conan/data/rectanglebinpack/cci.20210829/_/_/build/3b345617ce2bd705ca33e4a8969fc7eb031ea30a/source_subfolder/MaxRectsBinPack.cpp:158:2: error: 'uint64_t' was not declared in this scope uint64_t usedSurfaceArea = 0; ^ /home/conan/w/BuildSingleReference/.conan/data/rectanglebinpack/cci.20210829/_/_/build/3b345617ce2bd705ca33e4a8969fc7eb031ea30a/source_subfolder/MaxRectsBinPack.cpp:160:3: error: 'usedSurfaceArea' was not declared in this scope usedSurfaceArea += usedRectangles[i].width * usedRectangles[i].height; ^ /home/conan/w/BuildSingleReference/.conan/data/rectanglebinpack/cci.20210829/_/_/build/3b345617ce2bd705ca33e4a8969fc7eb031ea30a/source_subfolder/MaxRectsBinPack.cpp:162:17: error: 'usedSurfaceArea' was not declared in this scope return (double)usedSurfaceArea / ((uint64_t)binWidth * binHeight); ^ /home/conan/w/BuildSingleReference/.conan/data/rectanglebinpack/cci.20210829/_/_/build/3b345617ce2bd705ca33e4a8969fc7eb031ea30a/source_subfolder/MaxRectsBinPack.cpp:162:46: error: expected ')' before 'binWidth' return (double)usedSurfaceArea / ((uint64_t)binWidth * binHeight); ^ make[2]: *** [source_subfolder/CMakeFiles/RectangleBinPack.dir/MaxRectsBinPack.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [source_subfolder/CMakeFiles/RectangleBinPack.dir/all] Error 2 make: *** [all] Error 2 rectanglebinpack/cci.20210829: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/rectanglebinpack/cci.20210829/_/_/build/3b345617ce2bd705ca33e4a8969fc7eb031ea30a rectanglebinpack/cci.20210829: ERROR: Package '3b345617ce2bd705ca33e4a8969fc7eb031ea30a' build failed rectanglebinpack/cci.20210829: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/rectanglebinpack/cci.20210829/_/_/build/3b345617ce2bd705ca33e4a8969fc7eb031ea30a ERROR: rectanglebinpack/cci.20210829: Error in build() method, line 53 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/BuildSingleReference/.conan/data/rectanglebinpack/cci.20210829/_/_/build/3b345617ce2bd705ca33e4a8969fc7eb031ea30a/build_subfolder' '--' '-j3'