1. 21 Feb, 2017 4 commits
  2. 20 Feb, 2017 1 commit
  3. 19 Feb, 2017 2 commits
  4. 18 Feb, 2017 1 commit
  5. 16 Feb, 2017 8 commits
  6. 15 Feb, 2017 9 commits
  7. 14 Feb, 2017 2 commits
  8. 13 Feb, 2017 4 commits
  9. 12 Feb, 2017 7 commits
    • atinfinity's avatar
      refactoring · ca5e0f53
      atinfinity authored
      ca5e0f53
    • atinfinity's avatar
      refactoring · bbe0f2ce
      atinfinity authored
      bbe0f2ce
    • atinfinity's avatar
      fixed indent · c2a880d7
      atinfinity authored
      c2a880d7
    • atinfinity's avatar
      added option to specify flow type · 9552206a
      atinfinity authored
      9552206a
    • Wenju He's avatar
      add accuracy test CUDA_MultiBandBlender · 27221332
      Wenju He authored
      27221332
    • Wenju He's avatar
    • Gabriel B. Nunes's avatar
      Work around CMake bug that mangles install dir · 88e54ca1
      Gabriel B. Nunes authored
      CMake has a long-standing bug/feature (see [here](https://cmake.org/pipermail/cmake/2015-March/060204.html) and reply [here](https://cmake.org/pipermail/cmake/2015-March/060209.html)) which can mangle certain path variables by attempting to make them into relative paths if you try to set them with CACHE PATH.
      
      Say you have your OpenCV download at `/path/on/my/computer/to/opencv/`. What actually happens is that if you try to set this variable by invoking CMAKE with `-DCMAKE_INSTALL_PREFIX=/my/desired/install/path`, what you end up is *not* `/usr/local/` and *not* `my/desired/install/path`, but instead, this monstrosity: `/path/on/my/computer/to/opencv/src/OpenCV-build//my/desired/install/path`.
      
      That is, CMake attempts, for some reason, to turn the path that you passed into a path relative to `${CMAKE_BINARY_DIR}`. See the links I posted above: this is a known (and apparently unfixable) issue with CMake.
      
      In OpenCV's case, among other potential issues, this leads to broken paths in `opencv_tests_config.hpp`, which can break the build or cause bizarre behaviour.
      
      The fix for this issue, as stated in my links above, is to test that the variable hasn't been set yet with an `if(NOT DEFINED ...)` before attempting to set it. This is what I've implemented here. I admit I don't know enough about OpenCV's internals to know whether you *really* need to force the install to be in `/usr/local`, but as it stands right now you get *neither* a clean `/usr/local` path *nor* a customized `/my/desired/install/path`, but a broken mess. This change at least allows the user to customize their install directory.
      
      In the meantime, there's a workaround for this, by explicitly defining the variable as a path with `-DCMAKE_INSTALL_PREFIX:PATH=my/desired/install/path`. But if this change can save anyone else the hours of headaches that I had today, I'll be happy.
      88e54ca1
  10. 11 Feb, 2017 1 commit
  11. 10 Feb, 2017 1 commit