******************************************************************************** conan install screen_capture_lite/17.1.462@#7e0797709d3834f476c9bd9fe44270fe --build=screen_capture_lite -pr /Users/jenkins/w/prod/BuildSingleReference@9/118207/bec639e8-ad7e-4e04-974c-594447a3dc62/profile_osx_110_libcpp_apple-clang_release_64.screen_capture_lite-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True -c tools.apple:sdk_path=/Applications/conan/xcode/11/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/Users/jenkins/w/prod/BuildSingleReference@9/.conan/profiles/default) Found apple-clang 11.0 Default settings os=Macos os_build=Macos arch=x86_64 arch_build=x86_64 compiler=apple-clang compiler.version=11.0 compiler.libcxx=libc++ build_type=Release *** You can change them in /Users/jenkins/w/prod/BuildSingleReference@9/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=11.0 os=Macos [options] screen_capture_lite:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True tools.apple:sdk_path=/Applications/conan/xcode/11/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk screen_capture_lite/17.1.462: Forced build from source Installing package: screen_capture_lite/17.1.462 Requirements screen_capture_lite/17.1.462 from local cache - Cache Packages screen_capture_lite/17.1.462:e992dca89c56300b2901b18c23dbae33f62b3a9e - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK screen_capture_lite/17.1.462: Configuring sources in /Users/jenkins/w/prod/BuildSingleReference@9/.conan/data/screen_capture_lite/17.1.462/_/_/source/src screen_capture_lite/17.1.462: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK screen_capture_lite/17.1.462: Copying sources to build folder screen_capture_lite/17.1.462: Building your package in /Users/jenkins/w/prod/BuildSingleReference@9/.conan/data/screen_capture_lite/17.1.462/_/_/build/e992dca89c56300b2901b18c23dbae33f62b3a9e screen_capture_lite/17.1.462: Generator txt created conanbuildinfo.txt screen_capture_lite/17.1.462: Calling generate() screen_capture_lite/17.1.462: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' screen_capture_lite/17.1.462: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/Users/jenkins/w/prod/BuildSingleReference@9/.conan/data/screen_capture_lite/17.1.462/_/_/build/e992dca89c56300b2901b18c23dbae33f62b3a9e/build/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' screen_capture_lite/17.1.462: Aggregating env generators [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 screen_capture_lite/17.1.462: Calling build() screen_capture_lite/17.1.462: Apply patch (conan): specify build library static or shared screen_capture_lite/17.1.462: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/w/prod/BuildSingleReference@9/.conan/data/screen_capture_lite/17.1.462/_/_/build/e992dca89c56300b2901b18c23dbae33f62b3a9e/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/prod/BuildSingleReference@9/.conan/data/screen_capture_lite/17.1.462/_/_/package/e992dca89c56300b2901b18c23dbae33f62b3a9e" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/jenkins/w/prod/BuildSingleReference@9/.conan/data/screen_capture_lite/17.1.462/_/_/build/e992dca89c56300b2901b18c23dbae33f62b3a9e/src" ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/w/prod/BuildSingleReference@9/.conan/data/screen_capture_lite/17.1.462/_/_/build/e992dca89c56300b2901b18c23dbae33f62b3a9e/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/prod/BuildSingleReference@9/.conan/data/screen_capture_lite/17.1.462/_/_/package/e992dca89c56300b2901b18c23dbae33f62b3a9e" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/jenkins/w/prod/BuildSingleReference@9/.conan/data/screen_capture_lite/17.1.462/_/_/build/e992dca89c56300b2901b18c23dbae33f62b3a9e/src" ----------------- -- Using Conan toolchain: /Users/jenkins/w/prod/BuildSingleReference@9/.conan/data/screen_capture_lite/17.1.462/_/_/build/e992dca89c56300b2901b18c23dbae33f62b3a9e/build/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = ON -- The C compiler identification is AppleClang 11.0.3.11030032 -- The CXX compiler identification is AppleClang 11.0.3.11030032 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/conan/xcode/11/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - 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: /Applications/conan/xcode/11/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/prod/BuildSingleReference@9/.conan/data/screen_capture_lite/17.1.462/_/_/build/e992dca89c56300b2901b18c23dbae33f62b3a9e/build/Release screen_capture_lite/17.1.462: CMake command: cmake --build "/Users/jenkins/w/prod/BuildSingleReference@9/.conan/data/screen_capture_lite/17.1.462/_/_/build/e992dca89c56300b2901b18c23dbae33f62b3a9e/build/Release" '--' '-j4' ----Running------ > cmake --build "/Users/jenkins/w/prod/BuildSingleReference@9/.conan/data/screen_capture_lite/17.1.462/_/_/build/e992dca89c56300b2901b18c23dbae33f62b3a9e/build/Release" '--' '-j4' ----------------- [ 7%] Building C object src_cpp/CMakeFiles/screen_capture_lite_shared.dir/ScreenCapture.c.o [ 15%] Building CXX object src_cpp/CMakeFiles/screen_capture_lite_shared.dir/ScreenCapture.cpp.o [ 23%] Building CXX object src_cpp/CMakeFiles/screen_capture_lite_shared.dir/SCCommon.cpp.o [ 30%] Building CXX object src_cpp/CMakeFiles/screen_capture_lite_shared.dir/ThreadManager.cpp.o [ 38%] Building CXX object src_cpp/CMakeFiles/screen_capture_lite_shared.dir/ios/GetWindows.cpp.o [ 46%] Building C object src_cpp/CMakeFiles/screen_capture_lite_shared.dir/ios/NSMouseCapture.m.o [ 53%] Building CXX object src_cpp/CMakeFiles/screen_capture_lite_shared.dir/ios/NSFrameProcessor.cpp.o [ 61%] Building CXX object src_cpp/CMakeFiles/screen_capture_lite_shared.dir/ios/NSFrameProcessor.mm.o [ 69%] Building CXX object src_cpp/CMakeFiles/screen_capture_lite_shared.dir/ios/NSMouseProcessor.cpp.o [ 76%] Building CXX object src_cpp/CMakeFiles/screen_capture_lite_shared.dir/ios/CGFrameProcessor.cpp.o [ 84%] Building CXX object src_cpp/CMakeFiles/screen_capture_lite_shared.dir/ios/GetMonitors.cpp.o [ 92%] Building CXX object src_cpp/CMakeFiles/screen_capture_lite_shared.dir/ios/ThreadRunner.cpp.o screen_capture_lite/17.1.462: Building SHARED Library /Users/jenkins/w/prod/BuildSingleReference@9/.conan/data/screen_capture_lite/17.1.462/_/_/build/e992dca89c56300b2901b18c23dbae33f62b3a9e/src/src_cpp/ios/CGFrameProcessor.cpp:39:14: warning: unused variable 'bitsperpixel' [-Wunused-variable] auto bitsperpixel = CGImageGetBitsPerPixel(imageRef); ^ 1 warning generated. /Users/jenkins/w/prod/BuildSingleReference@9/.conan/data/screen_capture_lite/17.1.462/_/_/build/e992dca89c56300b2901b18c23dbae33f62b3a9e/src/src_cpp/ios/NSFrameProcessor.mm:200:24: error: use of undeclared identifier 'CGPreflightScreenCaptureAccess' return CGPreflightScreenCaptureAccess(); ^ /Users/jenkins/w/prod/BuildSingleReference@9/.conan/data/screen_capture_lite/17.1.462/_/_/build/e992dca89c56300b2901b18c23dbae33f62b3a9e/src/src_cpp/ios/NSFrameProcessor.mm:206:17: error: use of undeclared identifier 'CGRequestScreenCaptureAccess' CGRequestScreenCaptureAccess(); ^ 2 errors generated. make[2]: *** [src_cpp/CMakeFiles/screen_capture_lite_shared.dir/ios/NSFrameProcessor.mm.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [src_cpp/CMakeFiles/screen_capture_lite_shared.dir/all] Error 2 make: *** [all] Error 2 screen_capture_lite/17.1.462: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior screen_capture_lite/17.1.462: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior screen_capture_lite/17.1.462: ERROR: Package 'e992dca89c56300b2901b18c23dbae33f62b3a9e' build failed screen_capture_lite/17.1.462: WARN: Build folder /Users/jenkins/w/prod/BuildSingleReference@9/.conan/data/screen_capture_lite/17.1.462/_/_/build/e992dca89c56300b2901b18c23dbae33f62b3a9e/build/Release ERROR: screen_capture_lite/17.1.462: Error in build() method, line 94 cmake.build() ConanException: Error 2 while executing cmake --build "/Users/jenkins/w/prod/BuildSingleReference@9/.conan/data/screen_capture_lite/17.1.462/_/_/build/e992dca89c56300b2901b18c23dbae33f62b3a9e/build/Release" '--' '-j4'