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.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:4:1: error: stray ‘##’ in program
 ######################################################################## 100.0%
 ^~
prog.cpp:4:3: error: stray ‘##’ in program
 ######################################################################## 100.0%
   ^~
prog.cpp:4:5: error: stray ‘##’ in program
 ######################################################################## 100.0%
     ^~
prog.cpp:4:7: error: stray ‘##’ in program
 ######################################################################## 100.0%
       ^~
prog.cpp:4:9: error: stray ‘##’ in program
 ######################################################################## 100.0%
         ^~
prog.cpp:4:11: error: stray ‘##’ in program
 ######################################################################## 100.0%
           ^~
prog.cpp:4:13: error: stray ‘##’ in program
 ######################################################################## 100.0%
             ^~
prog.cpp:4:15: error: stray ‘##’ in program
 ######################################################################## 100.0%
               ^~
prog.cpp:4:17: error: stray ‘##’ in program
 ######################################################################## 100.0%
                 ^~
prog.cpp:4:19: error: stray ‘##’ in program
 ######################################################################## 100.0%
                   ^~
prog.cpp:4:21: error: stray ‘##’ in program
 ######################################################################## 100.0%
                     ^~
prog.cpp:4:23: error: stray ‘##’ in program
 ######################################################################## 100.0%
                       ^~
prog.cpp:4:25: error: stray ‘##’ in program
 ######################################################################## 100.0%
                         ^~
prog.cpp:4:27: error: stray ‘##’ in program
 ######################################################################## 100.0%
                           ^~
prog.cpp:4:29: error: stray ‘##’ in program
 ######################################################################## 100.0%
                             ^~
prog.cpp:4:31: error: stray ‘##’ in program
 ######################################################################## 100.0%
                               ^~
prog.cpp:4:33: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                 ^~
prog.cpp:4:35: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                   ^~
prog.cpp:4:37: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                     ^~
prog.cpp:4:39: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                       ^~
prog.cpp:4:41: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                         ^~
prog.cpp:4:43: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                           ^~
prog.cpp:4:45: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                             ^~
prog.cpp:4:47: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                               ^~
prog.cpp:4:49: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                                 ^~
prog.cpp:4:51: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                                   ^~
prog.cpp:4:53: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                                     ^~
prog.cpp:4:55: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                                       ^~
prog.cpp:4:57: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                                         ^~
prog.cpp:4:59: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                                           ^~
prog.cpp:4:61: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                                             ^~
prog.cpp:4:63: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                                               ^~
prog.cpp:4:65: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                                                 ^~
prog.cpp:4:67: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                                                   ^~
prog.cpp:4:69: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                                                     ^~
prog.cpp:4:71: error: stray ‘##’ in program
 ######################################################################## 100.0%
                                                                       ^~
prog.cpp:5:20: error: too many decimal points in number
 ==> Pouring libpng-1.6.12.mavericks.bottle.tar.gz
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prog.cpp:6:1: error: stray ‘\360’ in program
 🍺  /usr/local/Cellar/libpng/1.6.12: 17 files, 1.2M
 ^
prog.cpp:6:2: error: stray ‘\237’ in program
 🍺  /usr/local/Cellar/libpng/1.6.12: 17 files, 1.2M
  ^
prog.cpp:6:3: error: stray ‘\215’ in program
 🍺  /usr/local/Cellar/libpng/1.6.12: 17 files, 1.2M
   ^
prog.cpp:6:4: error: stray ‘\272’ in program
 🍺  /usr/local/Cellar/libpng/1.6.12: 17 files, 1.2M
    ^
prog.cpp:6:32: error: too many decimal points in number
 🍺  /usr/local/Cellar/libpng/1.6.12: 17 files, 1.2M
                                ^~~~~~
prog.cpp:9:53: error: too many decimal points in number
 Already downloaded: /Library/Caches/Homebrew/opencv-2.4.9.tar.gz
                                                     ^~~~~~~~~~~~
prog.cpp:10:62: error: too many decimal points in number
 ==> cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/opencv/2.4.9 -DCMAKE_BUILD
                                                              ^~~~~
prog.cpp:12:8: warning: character constant too long for its type
 ld: can't map file, errno=22 file '/usr/local/cuda' for architecture x86_64
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
prog.cpp:12:51: warning: missing terminating ' character
 ld: can't map file, errno=22 file '/usr/local/cuda' for architecture x86_64
                                                   ^
prog.cpp:12:51: error: missing terminating ' character
 ld: can't map file, errno=22 file '/usr/local/cuda' for architecture x86_64
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
prog.cpp:14:33: error: too many decimal points in number
 make[2]: *** [lib/libopencv_core.2.4.9.dylib] Error 1
                                 ^~~~~~~~~~~~
prog.cpp:1:2: error: ‘brew’ does not name a type
  brew install opencv --with-cuda
  ^~~~
stdout
Standard output is empty