-
-
Save RaphiePS/2327c58034aa01572275 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> opencv@0.0.8 preinstall /Users/raphie/node_modules/opencv | |
> node-gyp clean rebuild | |
Package opencv was not found in the pkg-config search path. | |
Perhaps you should add the directory containing `opencv.pc' | |
to the PKG_CONFIG_PATH environment variable | |
No package 'opencv' found | |
Traceback (most recent call last): | |
File "/Users/raphie/.node-gyp/0.8.3/tools/gyp_addon", line 38, in <module> | |
rc = gyp.main(gyp_args) | |
File "/Users/raphie/.node-gyp/0.8.3/tools/gyp/pylib/gyp/__init__.py", line 471, in main | |
options.circular_check) | |
File "/Users/raphie/.node-gyp/0.8.3/tools/gyp/pylib/gyp/__init__.py", line 111, in Load | |
depth, generator_input_info, check, circular_check) | |
File "/Users/raphie/.node-gyp/0.8.3/tools/gyp/pylib/gyp/input.py", line 2378, in Load | |
depth, check) | |
File "/Users/raphie/.node-gyp/0.8.3/tools/gyp/pylib/gyp/input.py", line 384, in LoadTargetBuildFile | |
build_file_data, PHASE_EARLY, variables, build_file_path) | |
File "/Users/raphie/.node-gyp/0.8.3/tools/gyp/pylib/gyp/input.py", line 1053, in ProcessVariablesAndConditionsInDict | |
build_file) | |
File "/Users/raphie/.node-gyp/0.8.3/tools/gyp/pylib/gyp/input.py", line 1068, in ProcessVariablesAndConditionsInList | |
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file) | |
File "/Users/raphie/.node-gyp/0.8.3/tools/gyp/pylib/gyp/input.py", line 1027, in ProcessVariablesAndConditionsInDict | |
ProcessConditionsInDict(the_dict, phase, variables, build_file) | |
File "/Users/raphie/.node-gyp/0.8.3/tools/gyp/pylib/gyp/input.py", line 904, in ProcessConditionsInDict | |
variables, build_file) | |
File "/Users/raphie/.node-gyp/0.8.3/tools/gyp/pylib/gyp/input.py", line 1046, in ProcessVariablesAndConditionsInDict | |
build_file, key) | |
File "/Users/raphie/.node-gyp/0.8.3/tools/gyp/pylib/gyp/input.py", line 1053, in ProcessVariablesAndConditionsInDict | |
build_file) | |
File "/Users/raphie/.node-gyp/0.8.3/tools/gyp/pylib/gyp/input.py", line 1072, in ProcessVariablesAndConditionsInList | |
expanded = ExpandVariables(item, phase, variables, build_file) | |
File "/Users/raphie/.node-gyp/0.8.3/tools/gyp/pylib/gyp/input.py", line 714, in ExpandVariables | |
(contents, p.returncode)) | |
Exception: Call to 'pkg-config --cflags opencv' returned exit status 1. while trying to load binding.gyp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment