Skip to content

Instantly share code, notes, and snippets.

@btsimonh
Created November 15, 2017 08:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save btsimonh/0ee84efedd3bb44273bc39cf67a7debb to your computer and use it in GitHub Desktop.
Save btsimonh/0ee84efedd3bb44273bc39cf67a7debb to your computer and use it in GitHub Desktop.
opencv make output
npm install https://github.com/peterbraden/node-opencv
> opencv@6.0.0 install /home/pi/.node-red/node_modules/opencv
> node-pre-gyp install --build-from-source
gyp info it worked if it ends with ok
gyp verb cli [ '/home/pi/.nvm/versions/node/v8.9.0/bin/node',
gyp verb cli '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'clean' ]
gyp info using node-gyp@3.4.0
gyp info using node@8.9.0 | linux | arm
gyp verb command clean []
gyp verb clean removing "build" directory
gyp info ok
gyp info it worked if it ends with ok
gyp verb cli [ '/home/pi/.nvm/versions/node/v8.9.0/bin/node',
gyp verb cli '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'configure',
gyp verb cli '--build-from-source',
gyp verb cli '--module=/home/pi/.node-red/node_modules/opencv/build/opencv/v6.0.0/Release/node-v57-linux-arm/opencv.node',
gyp verb cli '--module_name=opencv',
gyp verb cli '--module_path=/home/pi/.node-red/node_modules/opencv/build/opencv/v6.0.0/Release/node-v57-linux-arm' ]
gyp info using node-gyp@3.4.0
gyp info using node@8.9.0 | linux | arm
gyp verb command configure []
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /usr/bin/python2
gyp verb check python version `/usr/bin/python2 -c "import platform; print(platform.python_version());"` returned: "2.7.9\n"
gyp verb get node dir no --target version specified, falling back to host node version: 8.9.0
gyp verb command install [ '8.9.0' ]
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp verb install input version string "8.9.0"
gyp verb install installing version: 8.9.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 8.9.0
gyp verb build dir attempting to create "build" dir: /home/pi/.node-red/node_modules/opencv/build
gyp verb build dir "build" dir needed to be created? /home/pi/.node-red/node_modules/opencv/build
gyp verb build/config.gypi creating config file
gyp sill build/config.gypi { target_defaults:
gyp sill build/config.gypi { cflags: [],
gyp sill build/config.gypi default_configuration: 'Release',
gyp sill build/config.gypi defines: [],
gyp sill build/config.gypi include_dirs: [],
gyp sill build/config.gypi libraries: [] },
gyp sill build/config.gypi variables:
gyp sill build/config.gypi { arm_float_abi: 'hard',
gyp sill build/config.gypi arm_fpu: 'vfp',
gyp sill build/config.gypi arm_thumb: 0,
gyp sill build/config.gypi arm_version: '6',
gyp sill build/config.gypi asan: 0,
gyp sill build/config.gypi coverage: false,
gyp sill build/config.gypi debug_devtools: 'node',
gyp sill build/config.gypi debug_http2: false,
gyp sill build/config.gypi debug_nghttp2: false,
gyp sill build/config.gypi force_dynamic_crt: 0,
gyp sill build/config.gypi gas_version: '2.24',
gyp sill build/config.gypi host_arch: 'arm',
gyp sill build/config.gypi icu_data_file: 'icudt59l.dat',
gyp sill build/config.gypi icu_data_in: '../../deps/icu-small/source/data/in/icudt59l.dat',
gyp sill build/config.gypi icu_endianness: 'l',
gyp sill build/config.gypi icu_gyp_path: 'tools/icu/icu-generic.gyp',
gyp sill build/config.gypi icu_locales: 'en,root',
gyp sill build/config.gypi icu_path: 'deps/icu-small',
gyp sill build/config.gypi icu_small: true,
gyp sill build/config.gypi icu_ver_major: '59',
gyp sill build/config.gypi node_byteorder: 'little',
gyp sill build/config.gypi node_enable_d8: false,
gyp sill build/config.gypi node_enable_v8_vtunejit: false,
gyp sill build/config.gypi node_install_npm: true,
gyp sill build/config.gypi node_module_version: 57,
gyp sill build/config.gypi node_no_browser_globals: false,
gyp sill build/config.gypi node_prefix: '/',
gyp sill build/config.gypi node_release_urlbase: 'https://nodejs.org/download/release/',
gyp sill build/config.gypi node_shared: false,
gyp sill build/config.gypi node_shared_cares: false,
gyp sill build/config.gypi node_shared_http_parser: false,
gyp sill build/config.gypi node_shared_libuv: false,
gyp sill build/config.gypi node_shared_openssl: false,
gyp sill build/config.gypi node_shared_zlib: false,
gyp sill build/config.gypi node_tag: '',
gyp sill build/config.gypi node_use_bundled_v8: true,
gyp sill build/config.gypi node_use_dtrace: false,
gyp sill build/config.gypi node_use_etw: false,
gyp sill build/config.gypi node_use_lttng: false,
gyp sill build/config.gypi node_use_openssl: true,
gyp sill build/config.gypi node_use_perfctr: false,
gyp sill build/config.gypi node_use_v8_platform: true,
gyp sill build/config.gypi node_without_node_options: false,
gyp sill build/config.gypi openssl_fips: '',
gyp sill build/config.gypi openssl_no_asm: 0,
gyp sill build/config.gypi shlib_suffix: 'so.57',
gyp sill build/config.gypi target_arch: 'arm',
gyp sill build/config.gypi uv_parent_path: '/deps/uv/',
gyp sill build/config.gypi uv_use_dtrace: false,
gyp sill build/config.gypi v8_enable_gdbjit: 0,
gyp sill build/config.gypi v8_enable_i18n_support: 1,
gyp sill build/config.gypi v8_enable_inspector: 1,
gyp sill build/config.gypi v8_no_strict_aliasing: 1,
gyp sill build/config.gypi v8_optimized_debug: 0,
gyp sill build/config.gypi v8_promise_internal_field_count: 1,
gyp sill build/config.gypi v8_random_seed: 0,
gyp sill build/config.gypi v8_trace_maps: 0,
gyp sill build/config.gypi v8_use_snapshot: true,
gyp sill build/config.gypi want_separate_host_toolset: 0,
gyp sill build/config.gypi nodedir: '/home/pi/.node-gyp/8.9.0',
gyp sill build/config.gypi copy_dev_lib: true,
gyp sill build/config.gypi standalone_static_library: 1,
gyp sill build/config.gypi build_from_source: true,
gyp sill build/config.gypi module: '/home/pi/.node-red/node_modules/opencv/build/opencv/v6.0.0/Release/node-v57-linux-arm/opencv.node',
gyp sill build/config.gypi module_name: 'opencv',
gyp sill build/config.gypi module_path: '/home/pi/.node-red/node_modules/opencv/build/opencv/v6.0.0/Release/node-v57-linux-arm',
gyp sill build/config.gypi cache_lock_stale: '60000',
gyp sill build/config.gypi ham_it_up: '',
gyp sill build/config.gypi legacy_bundling: '',
gyp sill build/config.gypi sign_git_tag: '',
gyp sill build/config.gypi user_agent: 'npm/5.5.1 node/v8.9.0 linux arm',
gyp sill build/config.gypi always_auth: '',
gyp sill build/config.gypi bin_links: 'true',
gyp sill build/config.gypi key: '',
gyp sill build/config.gypi allow_same_version: '',
gyp sill build/config.gypi description: 'true',
gyp sill build/config.gypi fetch_retries: '2',
gyp sill build/config.gypi heading: 'npm',
gyp sill build/config.gypi if_present: '',
gyp sill build/config.gypi init_version: '1.0.0',
gyp sill build/config.gypi user: '1000',
gyp sill build/config.gypi prefer_online: '',
gyp sill build/config.gypi force: '',
gyp sill build/config.gypi only: '',
gyp sill build/config.gypi read_only: '',
gyp sill build/config.gypi cache_min: '10',
gyp sill build/config.gypi init_license: 'ISC',
gyp sill build/config.gypi editor: 'vi',
gyp sill build/config.gypi rollback: 'true',
gyp sill build/config.gypi tag_version_prefix: 'v',
gyp sill build/config.gypi cache_max: 'Infinity',
gyp sill build/config.gypi timing: '',
gyp sill build/config.gypi userconfig: '/home/pi/.npmrc',
gyp sill build/config.gypi engine_strict: '',
gyp sill build/config.gypi init_author_name: '',
gyp sill build/config.gypi init_author_url: '',
gyp sill build/config.gypi tmp: '/tmp',
gyp sill build/config.gypi depth: 'Infinity',
gyp sill build/config.gypi save_dev: '',
gyp sill build/config.gypi usage: '',
gyp sill build/config.gypi metrics_registry: 'https://registry.npmjs.org/',
gyp sill build/config.gypi otp: '',
gyp sill build/config.gypi package_lock: 'true',
gyp sill build/config.gypi progress: 'true',
gyp sill build/config.gypi https_proxy: '',
gyp sill build/config.gypi save_prod: '',
gyp sill build/config.gypi cidr: '',
gyp sill build/config.gypi onload_script: '',
gyp sill build/config.gypi sso_type: 'oauth',
gyp sill build/config.gypi rebuild_bundle: 'true',
gyp sill build/config.gypi save_bundle: '',
gyp sill build/config.gypi shell: '/bin/bash',
gyp sill build/config.gypi dry_run: '',
gyp sill build/config.gypi prefix: '/home/pi/.nvm/versions/node/v8.9.0',
gyp sill build/config.gypi scope: '',
gyp sill build/config.gypi browser: '',
gyp sill build/config.gypi cache_lock_wait: '10000',
gyp sill build/config.gypi ignore_prepublish: '',
gyp sill build/config.gypi registry: 'https://registry.npmjs.org/',
gyp sill build/config.gypi save_optional: '',
gyp sill build/config.gypi searchopts: '',
gyp sill build/config.gypi versions: '',
gyp sill build/config.gypi cache: '/home/pi/.npm',
gyp sill build/config.gypi send_metrics: '',
gyp sill build/config.gypi global_style: '',
gyp sill build/config.gypi ignore_scripts: '',
gyp sill build/config.gypi version: '',
gyp sill build/config.gypi local_address: '',
gyp sill build/config.gypi viewer: 'man',
gyp sill build/config.gypi prefer_offline: '',
gyp sill build/config.gypi color: 'true',
gyp sill build/config.gypi fetch_retry_mintimeout: '10000',
gyp sill build/config.gypi maxsockets: '50',
gyp sill build/config.gypi offline: '',
gyp sill build/config.gypi sso_poll_frequency: '500',
gyp sill build/config.gypi umask: '0022',
gyp sill build/config.gypi fetch_retry_maxtimeout: '60000',
gyp sill build/config.gypi logs_max: '10',
gyp sill build/config.gypi message: '%s',
gyp sill build/config.gypi ca: '',
gyp sill build/config.gypi cert: '',
gyp sill build/config.gypi global: '',
gyp sill build/config.gypi link: '',
gyp sill build/config.gypi access: '',
gyp sill build/config.gypi also: '',
gyp sill build/config.gypi save: 'true',
gyp sill build/config.gypi unicode: 'true',
gyp sill build/config.gypi long: '',
gyp sill build/config.gypi production: '',
gyp sill build/config.gypi searchlimit: '20',
gyp sill build/config.gypi unsafe_perm: 'true',
gyp sill build/config.gypi auth_type: 'legacy',
gyp sill build/config.gypi node_version: '8.9.0',
gyp sill build/config.gypi tag: 'latest',
gyp sill build/config.gypi git_tag_version: 'true',
gyp sill build/config.gypi commit_hooks: 'true',
gyp sill build/config.gypi script_shell: '',
gyp sill build/config.gypi shrinkwrap: 'true',
gyp sill build/config.gypi fetch_retry_factor: '10',
gyp sill build/config.gypi save_exact: '',
gyp sill build/config.gypi strict_ssl: 'true',
gyp sill build/config.gypi dev: '',
gyp sill build/config.gypi globalconfig: '/home/pi/.nvm/versions/node/v8.9.0/etc/npmrc',
gyp sill build/config.gypi init_module: '/home/pi/.npm-init.js',
gyp sill build/config.gypi parseable: '',
gyp sill build/config.gypi globalignorefile: '/home/pi/.nvm/versions/node/v8.9.0/etc/npmignore',
gyp sill build/config.gypi cache_lock_retries: '10',
gyp sill build/config.gypi searchstaleness: '900',
gyp sill build/config.gypi save_prefix: '^',
gyp sill build/config.gypi scripts_prepend_node_path: 'warn-only',
gyp sill build/config.gypi group: '1000',
gyp sill build/config.gypi init_author_email: '',
gyp sill build/config.gypi searchexclude: '',
gyp sill build/config.gypi git: 'git',
gyp sill build/config.gypi optional: 'true',
gyp sill build/config.gypi json: '' } }
gyp verb build/config.gypi writing out config file: /home/pi/.node-red/node_modules/opencv/build/config.gypi
gyp verb config.gypi checking for gypi file: /home/pi/.node-red/node_modules/opencv/config.gypi
gyp verb common.gypi checking for gypi file: /home/pi/.node-red/node_modules/opencv/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/pi/.node-red/node_modules/opencv/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/pi/.node-gyp/8.9.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/pi/.node-gyp/8.9.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/pi/.node-red/node_modules/opencv',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info ok
gyp info it worked if it ends with ok
gyp verb cli [ '/home/pi/.nvm/versions/node/v8.9.0/bin/node',
gyp verb cli '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'build',
gyp verb cli '--build-from-source',
gyp verb cli '--module=/home/pi/.node-red/node_modules/opencv/build/opencv/v6.0.0/Release/node-v57-linux-arm/opencv.node',
gyp verb cli '--module_name=opencv',
gyp verb cli '--module_path=/home/pi/.node-red/node_modules/opencv/build/opencv/v6.0.0/Release/node-v57-linux-arm' ]
gyp info using node-gyp@3.4.0
gyp info using node@8.9.0 | linux | arm
gyp verb command build []
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp verb build type Release
gyp verb architecture arm
gyp verb node dev dir /home/pi/.node-gyp/8.9.0
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/pi/.node-red/node_modules/opencv/build'
CXX(target) Release/obj.target/opencv/src/init.o
../src/init.cc:23:90: note: #pragma message: Building with OpenCV3.3
#pragma message ( "Building with OpenCV" STR(CV_MAJOR_VERSION) "." STR(CV_MINOR_VERSION) )
^
CXX(target) Release/obj.target/opencv/src/Matrix.o
CXX(target) Release/obj.target/opencv/src/OpenCV.o
CXX(target) Release/obj.target/opencv/src/CascadeClassifierWrap.o
CXX(target) Release/obj.target/opencv/src/Contours.o
CXX(target) Release/obj.target/opencv/src/Point.o
CXX(target) Release/obj.target/opencv/src/VideoCaptureWrap.o
CXX(target) Release/obj.target/opencv/src/VideoWriterWrap.o
CXX(target) Release/obj.target/opencv/src/CamShift.o
CXX(target) Release/obj.target/opencv/src/HighGUI.o
CXX(target) Release/obj.target/opencv/src/FaceRecognizer.o
CXX(target) Release/obj.target/opencv/src/Features2d.o
CXX(target) Release/obj.target/opencv/src/BackgroundSubtractor.o
../src/BackgroundSubtractor.cc:11:2: warning: #warning Building with HAVE_OPENCV_BGSEGM [-Wcpp]
#warning Building with HAVE_OPENCV_BGSEGM
^
../src/BackgroundSubtractor.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BackgroundSubtractorWrap::Apply(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/BackgroundSubtractor.cc:375:7: warning: unused variable ‘success’ [-Wunused-variable]
int success = 1;
^
CXX(target) Release/obj.target/opencv/src/Constants.o
CXX(target) Release/obj.target/opencv/src/Calib3D.o
CXX(target) Release/obj.target/opencv/src/ImgProc.o
CXX(target) Release/obj.target/opencv/src/Stereo.o
../src/Stereo.cc:6:2: warning: #warning TODO: port me to OpenCV 3 [-Wcpp]
#warning TODO: port me to OpenCV 3
^
CXX(target) Release/obj.target/opencv/src/LDAWrap.o
../src/LDAWrap.cc:5:2: warning: #warning TODO: port me to OpenCV 3 [-Wcpp]
#warning TODO: port me to OpenCV 3
^
CXX(target) Release/obj.target/opencv/src/Histogram.o
SOLINK_MODULE(target) Release/obj.target/opencv.node
COPY Release/opencv.node
COPY /home/pi/.node-red/node_modules/opencv/build/opencv/v6.0.0/Release/node-v57-linux-arm/opencv.node
TOUCH Release/obj.target/action_after_build.stamp
CXX(target) Release/obj.target/test_nativemat/test/nativemat.o
SOLINK_MODULE(target) Release/obj.target/test_nativemat.node
COPY Release/test_nativemat.node
make: Leaving directory '/home/pi/.node-red/node_modules/opencv/build'
gyp info ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment