Bug#818450: opencv: FTBFS: modules/core/precomp.hpp: No such file or directory
    Tobias Frost 
    tobi at debian.org
       
    Fri Mar 25 17:41:38 UTC 2016
    
    
  
Control: tags -1 patch
A fix is to add 
-DENABLE_PRECOMPILED_HEADERS=OFF 
to d/rules' configure target.
diff -Nru opencv-2.4.9.1+dfsg/debian/rules opencv-
2.4.9.1+dfsg/debian/rules
--- opencv-2.4.9.1+dfsg/debian/rules    2015-08-19 23:37:02.000000000
+0200
+++ opencv-2.4.9.1+dfsg/debian/rules    2016-03-25 18:39:27.000000000
+0100
@@ -58,6 +58,7 @@
        -DBUILD_TESTS=OFF \
        -DCMAKE_SKIP_RPATH=ON \
        -DWITH_CUDA=OFF \
+       -DENABLE_PRECOMPILED_HEADERS=OFF \
        $(CMAKE_ARCH_FLAGS)
 # -DOPENCL_INCLUDE_DIR:PATH="/usr/include/CL/"
-- 
tobi
    
    
More information about the debian-science-maintainers
mailing list