Closed isAlmogK closed 11 years ago
Have you installed the opencv library? On 2 Oct 2013 23:07, "Almog Koren" notifications@github.com wrote:
Hi, I'm hoping you can help I'm the following errors on instal
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 gyp: Call to 'pkg-config --cflags opencv' returned exit status 1. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error:gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:424:16) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12) gyp ERR! System Darwin 12.5.0 gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "clean" "rebuild" gyp ERR! cwd /Users/macbookpro/node_modules/opencv gyp ERR! node -v v0.10.20 gyp ERR! node-gyp -v v0.10.10 gyp ERR! not ok npm ERR! weird error 1 npm ERR! not ok code 0
— Reply to this email directly or view it on GitHubhttps://github.com/paulhayes/copterface/issues/1 .
Hi Paul, Thanks for the quick reply really appreciate it. No I did download the files but I don't see any installer if you can point me in the right direction that would be a big help. Not familiar with openCV and have a hackathon in the morning. I'm on mac and help or direction would be great.
Ah well I'm supposed to be asleep. It's well passed my bedtime. You'll have to search elsewhere I'm afraid. Sorry I couldn't have been of more help.
I think I installed my copy of opencv using brew. Which will probably work for you. If you've not got brew I recommend it, although if you've installed macports, use that instead, they don't play nice together.
Yours Paul
PS good luck at Hackathon. Piece of advice. If you hit problem, take a walk and go to the toilet, then have drink water and return refreshed. On 3 Oct 2013 00:35, "Almog Koren" notifications@github.com wrote:
Hi Paul, Thanks for the quick reply really appreciate it. No I did download the files but I don't see any installer if you can point me in the right direction that would be a big help. Not familiar with openCV and have a hackathon in the morning. I'm on mac and help or direction would be great.
— Reply to this email directly or view it on GitHubhttps://github.com/paulhayes/copterface/issues/1#issuecomment-25586279 .
Hi Paul, Thanks got it using macports not sure why I was trying to install in manually, yea I think brew is better always have issues with macports.
Hi Paul, Quick question did you install a specific opencv version or the latest one
It was a while ago that I wrote all this. Pretty sure it was the default though.
On 4 Oct 2013 00:10, "Almog Koren" notifications@github.com wrote:
Hi Paul, Quick question did you install a specific opencv version or the latest one
— Reply to this email directly or view it on GitHubhttps://github.com/paulhayes/copterface/issues/1#issuecomment-25665966 .
thanks
Hi Paul Finally got everything installed and looks like it's working. I'm running into the following error did you run into this
/Users/macbookpro/Desktop/Geekcon_2013/DroneInduce/App/app.js:15
var face_cascade = new cv.CascadeClassifier('/node_modules/opencv/data/haarcas
^
TypeError: Error loading file
at Object.
No I didn't. Good luck. On 4 Oct 2013 04:47, "Almog Koren" notifications@github.com wrote:
Hi Paul Finally got everything installed and looks like it's working. I'm running into the following error did you run into this
/Users/macbookpro/Desktop/Geekcon_2013/DroneInduce/App/app.js:15 var face_cascade = new cv.CascadeClassifier('/node_modules/opencv/data/haarcas ^ TypeError: Error loading file at Object. (/Users/macbookpro/Desktop/Geekcon_2013/DroneInduce/App/app.js:15:20) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:901:3
— Reply to this email directly or view it on GitHubhttps://github.com/paulhayes/copterface/issues/1#issuecomment-25674648 .
thanks got everything on my end
Hi Almogdesign,
How did you resolve the above error?
/Users/macbookpro/Desktop/Geekcon_2013/DroneInduce/App/app.js:15 var face_cascade = new cv.CascadeClassifier('/node_modules/opencv/data/haarcas ^ TypeError: Error loading file at Object. (/Users/macbookpro/Desktop/Geekcon_2013/DroneInduce/App/app.js:15:20) at Module.compile (module.js:456:26) at Object.Module.extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:901:3
Sorry if it's a dumb question, I'm very new to this...
Uninstalled and removed everything including macports and then installed brew
Hi, I'm hoping you can help I'm the following errors on instal
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 gyp: Call to 'pkg-config --cflags opencv' returned exit status 1. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error:
gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:424:16) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12) gyp ERR! System Darwin 12.5.0 gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "clean" "rebuild" gyp ERR! cwd /Users/macbookpro/node_modules/opencv gyp ERR! node -v v0.10.20 gyp ERR! node-gyp -v v0.10.10 gyp ERR! not ok npm ERR! weird error 1 npm ERR! not ok code 0