fork download
  1. brew install opencv --with-cuda
  2. ==> Installing opencv dependency: libpng
  3. ==> Downloading https://d...content-available-to-author-only...f.net/project/machomebrew/Bottles/libpng-1.6.
  4. ######################################################################## 100.0%
  5. ==> Pouring libpng-1.6.12.mavericks.bottle.tar.gz
  6. 🍺 /usr/local/Cellar/libpng/1.6.12: 17 files, 1.2M
  7. ==> Installing opencv
  8. ==> Downloading https://g...content-available-to-author-only...b.com/Itseez/opencv/archive/2.4.9.tar.gz
  9. Already downloaded: /Library/Caches/Homebrew/opencv-2.4.9.tar.gz
  10. ==> cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/opencv/2.4.9 -DCMAKE_BUILD
  11. ==> make
  12. ld: can't map file, errno=22 file '/usr/local/cuda' for architecture x86_64
  13. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  14. make[2]: *** [lib/libopencv_core.2.4.9.dylib] Error 1
  15. make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2
  16. make: *** [all] Error 2
  17.  
  18. READ THIS: https://g...content-available-to-author-only...b.com/Homebrew/homebrew/wiki/troubleshooting
  19. If reporting this issue please do so at (not Homebrew/homebrew):
  20. https://g...content-available-to-author-only...b.com/homebrew/homebrew-science/issues
  21.  
Runtime error #stdin #stdout #stderr 0.04s 63528KB
stdin
import cv2
Print "haha"
stdout
Standard output is empty
stderr
  File "prog.py", line 6
    🍺  /usr/local/Cellar/libpng/1.6.12: 17 files, 1.2M
    ^
SyntaxError: Unknown character