Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 07/11/2014, à 11:08

xanmoo

Compiler opencv3 alpha avec support cuda: opencl_kernels_core.hpp ?

Bonjour,
J'essaie de compiler opencv3 avec le support cuda et python en utilisant cmake-gui sur un i5+nvidia 740m
J'ai installer cuda 5.5 depuis les dépots et un tas de lib depuis synaptics.

La sortie de l'étape de configuration est:

The CXX compiler identification is GNU 4.8.2
The C compiler identification is GNU 4.8.2
Check for working CXX compiler: /usr/bin/c++
Check for working CXX compiler: /usr/bin/c++ -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working C compiler: /usr/bin/cc
Check for working C compiler: /usr/bin/cc -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Detected version of GNU GCC: 48 (408)
Performing Test HAVE_CXX_FSIGNED_CHAR
Performing Test HAVE_CXX_FSIGNED_CHAR - Success
Performing Test HAVE_C_FSIGNED_CHAR
Performing Test HAVE_C_FSIGNED_CHAR - Success
Performing Test HAVE_CXX_W
Performing Test HAVE_CXX_W - Success
Performing Test HAVE_C_W
Performing Test HAVE_C_W - Success
Performing Test HAVE_CXX_WALL
Performing Test HAVE_CXX_WALL - Success
Performing Test HAVE_C_WALL
Performing Test HAVE_C_WALL - Success
Performing Test HAVE_CXX_WERROR_RETURN_TYPE
Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success
Performing Test HAVE_C_WERROR_RETURN_TYPE
Performing Test HAVE_C_WERROR_RETURN_TYPE - Success
Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR
Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR - Success
Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR
Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR - Success
Performing Test HAVE_CXX_WERROR_ADDRESS
Performing Test HAVE_CXX_WERROR_ADDRESS - Success
Performing Test HAVE_C_WERROR_ADDRESS
Performing Test HAVE_C_WERROR_ADDRESS - Success
Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT
Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success
Performing Test HAVE_C_WERROR_SEQUENCE_POINT
Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success
Performing Test HAVE_CXX_WFORMAT
Performing Test HAVE_CXX_WFORMAT - Success
Performing Test HAVE_C_WFORMAT
Performing Test HAVE_C_WFORMAT - Success
Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY
Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success
Performing Test HAVE_C_WERROR_FORMAT_SECURITY
Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success
Performing Test HAVE_CXX_WMISSING_DECLARATIONS
Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Success
Performing Test HAVE_C_WMISSING_DECLARATIONS
Performing Test HAVE_C_WMISSING_DECLARATIONS - Success
Performing Test HAVE_CXX_WMISSING_PROTOTYPES
Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Failed
Performing Test HAVE_C_WMISSING_PROTOTYPES
Performing Test HAVE_C_WMISSING_PROTOTYPES - Success
Performing Test HAVE_CXX_WSTRICT_PROTOTYPES
Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Failed
Performing Test HAVE_C_WSTRICT_PROTOTYPES
Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success
Performing Test HAVE_CXX_WUNDEF
Performing Test HAVE_CXX_WUNDEF - Success
Performing Test HAVE_C_WUNDEF
Performing Test HAVE_C_WUNDEF - Success
Performing Test HAVE_CXX_WINIT_SELF
Performing Test HAVE_CXX_WINIT_SELF - Success
Performing Test HAVE_C_WINIT_SELF
Performing Test HAVE_C_WINIT_SELF - Success
Performing Test HAVE_CXX_WPOINTER_ARITH
Performing Test HAVE_CXX_WPOINTER_ARITH - Success
Performing Test HAVE_C_WPOINTER_ARITH
Performing Test HAVE_C_WPOINTER_ARITH - Success
Performing Test HAVE_CXX_WSHADOW
Performing Test HAVE_CXX_WSHADOW - Success
Performing Test HAVE_C_WSHADOW
Performing Test HAVE_C_WSHADOW - Success
Performing Test HAVE_CXX_WSIGN_PROMO
Performing Test HAVE_CXX_WSIGN_PROMO - Success
Performing Test HAVE_C_WSIGN_PROMO
Performing Test HAVE_C_WSIGN_PROMO - Failed
Performing Test HAVE_CXX_WNO_NARROWING
Performing Test HAVE_CXX_WNO_NARROWING - Success
Performing Test HAVE_C_WNO_NARROWING
Performing Test HAVE_C_WNO_NARROWING - Success
Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR
Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Success
Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR
Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Failed
Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION
Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success
Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION
Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success
Performing Test HAVE_CXX_WNO_LONG_LONG
Performing Test HAVE_CXX_WNO_LONG_LONG - Success
Performing Test HAVE_C_WNO_LONG_LONG
Performing Test HAVE_C_WNO_LONG_LONG - Success
Performing Test HAVE_CXX_PTHREAD
Performing Test HAVE_CXX_PTHREAD - Success
Performing Test HAVE_C_PTHREAD
Performing Test HAVE_C_PTHREAD - Success
Performing Test HAVE_CXX_FOMIT_FRAME_POINTER
Performing Test HAVE_CXX_FOMIT_FRAME_POINTER - Success
Performing Test HAVE_C_FOMIT_FRAME_POINTER
Performing Test HAVE_C_FOMIT_FRAME_POINTER - Success
Performing Test HAVE_CXX_MSSE
Performing Test HAVE_CXX_MSSE - Success
Performing Test HAVE_C_MSSE
Performing Test HAVE_C_MSSE - Success
Performing Test HAVE_CXX_MSSE2
Performing Test HAVE_CXX_MSSE2 - Success
Performing Test HAVE_C_MSSE2
Performing Test HAVE_C_MSSE2 - Success
Performing Test HAVE_CXX_MSSE3
Performing Test HAVE_CXX_MSSE3 - Success
Performing Test HAVE_C_MSSE3
Performing Test HAVE_C_MSSE3 - Success
Performing Test HAVE_CXX_FFUNCTION_SECTIONS
Performing Test HAVE_CXX_FFUNCTION_SECTIONS - Success
Performing Test HAVE_C_FFUNCTION_SECTIONS
Performing Test HAVE_C_FFUNCTION_SECTIONS - Success
Performing Test HAVE_CXX_FVISIBILITY_HIDDEN
Performing Test HAVE_CXX_FVISIBILITY_HIDDEN - Success
Performing Test HAVE_C_FVISIBILITY_HIDDEN
Performing Test HAVE_C_FVISIBILITY_HIDDEN - Success
Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN
Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN - Success
Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN
Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN - Failed
Looking for pthread.h
Looking for pthread.h - found
Check if the system is big endian
Searching 16 bit integer
Looking for sys/types.h
Looking for sys/types.h - found
Looking for stdint.h
Looking for stdint.h - found
Looking for stddef.h
Looking for stddef.h - found
Check size of unsigned short
Check size of unsigned short - done
Using unsigned short
Check if the system is big endian - little endian
Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version "1.2.8", minimum required is "1.2.3") 
Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version "4.0.3") 
Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so  
Performing Test HAVE_C_WNO_UNUSED_VARIABLE
Performing Test HAVE_C_WNO_UNUSED_VARIABLE - Success
Performing Test HAVE_C_WNO_SHADOW
Performing Test HAVE_C_WNO_SHADOW - Success
Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED
Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED - Success
Could NOT find Jasper (missing:  JASPER_LIBRARIES JASPER_INCLUDE_DIR) 
Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION
Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION - Success
Performing Test HAVE_C_WNO_UNINITIALIZED
Performing Test HAVE_C_WNO_UNINITIALIZED - Success
Performing Test HAVE_C_WNO_MISSING_PROTOTYPES
Performing Test HAVE_C_WNO_MISSING_PROTOTYPES - Success
Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER
Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER - Success
Performing Test HAVE_C_WNO_MISSING_DECLARATIONS
Performing Test HAVE_C_WNO_MISSING_DECLARATIONS - Success
Performing Test HAVE_C_WNO_UNUSED
Performing Test HAVE_C_WNO_UNUSED - Success
Performing Test HAVE_C_WNO_SIGN_COMPARE
Performing Test HAVE_C_WNO_SIGN_COMPARE - Success
Performing Test HAVE_C_WNO_STRICT_OVERFLOW
Performing Test HAVE_C_WNO_STRICT_OVERFLOW - Success
Performing Test HAVE_C_WNO_UNUSED_PARAMETER
Performing Test HAVE_C_WNO_UNUSED_PARAMETER - Success
Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") 
Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.50") 
Looking for /usr/include/libpng/png.h
Looking for /usr/include/libpng/png.h - found
Looking for semaphore.h
Looking for semaphore.h - found
Performing Test HAVE_CXX_WNO_SHADOW
Performing Test HAVE_CXX_WNO_SHADOW - Success
Performing Test HAVE_CXX_WNO_UNUSED
Performing Test HAVE_CXX_WNO_UNUSED - Success
Performing Test HAVE_CXX_WNO_SIGN_COMPARE
Performing Test HAVE_CXX_WNO_SIGN_COMPARE - Success
Performing Test HAVE_CXX_WNO_UNDEF
Performing Test HAVE_CXX_WNO_UNDEF - Success
Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS
Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS - Success
Performing Test HAVE_CXX_WNO_UNINITIALIZED
Performing Test HAVE_CXX_WNO_UNINITIALIZED - Success
Performing Test HAVE_CXX_WNO_SWITCH
Performing Test HAVE_CXX_WNO_SWITCH - Success
Performing Test HAVE_CXX_WNO_PARENTHESES
Performing Test HAVE_CXX_WNO_PARENTHESES - Success
Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS
Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - Success
Performing Test HAVE_CXX_WNO_EXTRA
Performing Test HAVE_CXX_WNO_EXTRA - Success
checking for module 'gtk+-3.0'
  found gtk+-3.0, version 3.10.8
checking for module 'gthread-2.0'
  found gthread-2.0, version 2.40.2
checking for module 'gstreamer-base-1.0'
  found gstreamer-base-1.0, version 1.2.4
checking for module 'gstreamer-video-1.0'
  found gstreamer-video-1.0, version 1.2.4
checking for module 'gstreamer-app-1.0'
  found gstreamer-app-1.0, version 1.2.4
checking for module 'gstreamer-riff-1.0'
  found gstreamer-riff-1.0, version 1.2.4
checking for module 'gstreamer-pbutils-1.0'
  found gstreamer-pbutils-1.0, version 1.2.4
checking for module 'libdc1394-2'
  package 'libdc1394-2' not found
checking for module 'libdc1394'
  package 'libdc1394' not found
checking for module 'libv4l1'
  package 'libv4l1' not found
Looking for linux/videodev.h
Looking for linux/videodev.h - not found
Looking for linux/videodev2.h
Looking for linux/videodev2.h - found
Looking for sys/videoio.h
Looking for sys/videoio.h - not found
checking for module 'libavcodec'
  found libavcodec, version 54.35.0
checking for module 'libavformat'
  found libavformat, version 54.20.4
checking for module 'libavutil'
  found libavutil, version 52.3.0
checking for module 'libswscale'
  found libswscale, version 2.1.1
Looking for libavformat/avformat.h
Looking for libavformat/avformat.h - found
Looking for ffmpeg/avformat.h
Looking for ffmpeg/avformat.h - not found
ICV: Removing previous unpacked package: /home/jeanpat/App/opencv-3.0.0-alpha/3rdparty/ippicv/unpack
ICV: Unpacking ippicv_linux_20140513.tgz to /home/jeanpat/App/opencv-3.0.0-alpha/3rdparty/ippicv/unpack...
ICV: Package successfully downloaded
found IPP (ICV version): 8.1.1 [8.1.1]
at: /home/jeanpat/App/opencv-3.0.0-alpha/3rdparty/ippicv/unpack/ippicv_lnx
CUDA detected: 5.5
CUDA NVCC target flags: -gencode;arch=compute_11,code=sm_11;-gencode;arch=compute_12,code=sm_12;-gencode;arch=compute_13,code=sm_13;-gencode;arch=compute_20,code=sm_20;-gencode;arch=compute_20,code=sm_21;-gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_30,code=compute_30
Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.6", minimum required is "2.7") 
Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable exact version "2.7.6") 
Found PythonInterp: /usr/bin/python3.4 (found suitable version "3.4", minimum required is "3.4") 
Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.4m.so (found suitable exact version "3.4.0") 
Found Sphinx 1.2.2: /usr/bin/sphinx-build
Could NOT find JNI (missing:  JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) 
Could NOT find Matlab (missing:  MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN) 
VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER
Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER - Success
Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION
Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION - Success
Performing Test HAVE_CXX_WNO_UNUSED_VARIABLE
Performing Test HAVE_CXX_WNO_UNUSED_VARIABLE - Success
Performing Test HAVE_CXX_WNO_ENUM_COMPARE
Performing Test HAVE_CXX_WNO_ENUM_COMPARE - Success
Performing Test HAVE_CXX_WNO_UNUSED_BUT_SET_VARIABLE
Performing Test HAVE_CXX_WNO_UNUSED_BUT_SET_VARIABLE - Success
Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS
Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success

General configuration for OpenCV 3.0.0-alpha =====================================
  Version control:               unknown

  Platform:
    Host:                        Linux 3.13.0-36-generic x86_64
    CMake:                       2.8.12.2
    CMake generator:             Unix Makefiles
    CMake build tool:            /usr/bin/make
    Configuration:               Release

  C/C++:
    Built as dynamic libs?:      YES
    C++ Compiler:                /usr/bin/c++  (ver 4.8.2)
    C++ flags (Release):         -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -msse3 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG  -DNDEBUG
    C++ flags (Debug):           -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -msse3 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -g  -O0 -DDEBUG -D_DEBUG
    C Compiler:                  /usr/bin/cc
    C flags (Release):           -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -msse3 -ffunction-sections -fvisibility=hidden -O3 -DNDEBUG  -DNDEBUG
    C flags (Debug):             -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -msse3 -ffunction-sections -fvisibility=hidden -g  -O0 -DDEBUG -D_DEBUG
    Linker flags (Release):      
    Linker flags (Debug):        
    Precompiled headers:         YES

  OpenCV modules:
    To be built:                 cudev core flann imgproc imgcodecs videoio highgui features2d calib3d cudaarithm ml objdetect cudalegacy cudawarping cuda cudafilters cudaimgproc video cudabgsegm cudacodec cudafeatures2d cudaoptflow cudastereo photo shape stitching superres videostab python2 python3 ts
    Disabled:                    world
    Disabled by dependency:      -
    Unavailable:                 androidcamera java viz

  GUI: 
    QT:                          NO
    GTK+ 3.x:                    YES (ver 3.10.8)
    GThread :                    YES (ver 2.40.2)
    GtkGlExt:                    NO
    OpenGL support:              NO
    VTK support:                 NO

  Media I/O: 
    ZLib:                        /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.8)
    JPEG:                        /usr/lib/x86_64-linux-gnu/libjpeg.so (ver )
    WEBP:                        build (ver 0.3.1)
    PNG:                         /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.2.50)
    TIFF:                        /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 - 4.0.3)
    JPEG 2000:                   build (ver 1.900.1)
    OpenEXR:                     build (ver 1.7.1)
    GDAL:                        NO

  Video I/O:
    DC1394 1.x:                  NO
    DC1394 2.x:                  NO
    FFMPEG:                      YES
      codec:                     YES (ver 54.35.0)
      format:                    YES (ver 54.20.4)
      util:                      YES (ver 52.3.0)
      swscale:                   YES (ver 2.1.1)
      gentoo-style:              YES
    GStreamer:                   
      base:                      YES (ver 1.2.4)
      video:                     YES (ver 1.2.4)
      app:                       YES (ver 1.2.4)
      riff:                      YES (ver 1.2.4)
      pbutils:                   YES (ver 1.2.4)
    OpenNI:                      NO
    OpenNI PrimeSensor Modules:  NO
    OpenNI2:                     NO
    PvAPI:                       NO
    GigEVisionSDK:               NO
    UniCap:                      NO
    UniCap ucil:                 NO
    V4L/V4L2:                    NO/YES
    XIMEA:                       NO
    Xine:                        NO

  Other third-party libraries:
    Use IPP:                     8.1.1 [8.1.1]
         at:                     /home/jeanpat/App/opencv-3.0.0-alpha/3rdparty/ippicv/unpack/ippicv_lnx
    Use IPP Async:               NO
    Use Eigen:                   NO
    Use TBB:                     NO
    Use OpenMP:                  NO
    Use GCD                      NO
    Use Concurrency              NO
    Use C=:                      NO
    Use Cuda:                    YES (ver 5.5)
    Use OpenCL:                  YES

  NVIDIA CUDA
    Use CUFFT:                   YES
    Use CUBLAS:                  NO
    USE NVCUVID:                 NO
    NVIDIA GPU arch:             11 12 13 20 21 30 35
    NVIDIA PTX archs:            30
    Use fast math:               NO

  OpenCL:
    Version:                     dynamic
    Include path:                /home/jeanpat/App/opencv-3.0.0-alpha/3rdparty/include/opencl/1.2
    Use AMDFFT:                  NO
    Use AMDBLAS:                 NO

  Python 2:
    Interpreter:                 /usr/bin/python2.7 (ver 2.7.6)
    Libraries:                   /usr/lib/x86_64-linux-gnu/libpython2.7.so (ver 2.7.6)
    numpy:                       /usr/local/lib/python2.7/dist-packages/numpy/core/include (ver 1.9.0)
    packages path:               lib/python2.7/dist-packages

  Python 3:
    Interpreter:                 /usr/bin/python3.4 (ver 3.4)
    Libraries:                   /usr/lib/x86_64-linux-gnu/libpython3.4m.so (ver 3.4.0)
    numpy:                       /usr/lib/python3/dist-packages/numpy/core/include (ver 1.8.2)
    packages path:               lib/python3.4/dist-packages

  Python (for build):            /usr/bin/python2.7

  Java:
    ant:                         NO
    JNI:                         NO
    Java tests:                  NO

  Matlab:
    mex:                         NO

  Documentation:
    Build Documentation:         YES
    Sphinx:                      /usr/bin/sphinx-build (ver 1.2.2)
    PdfLaTeX compiler:           /usr/bin/pdflatex
    PlantUML:                    NO

  Tests and samples:
    Tests:                       YES
    Performance tests:           YES
    C/C++ Examples:              NO

  Install path:                  /usr/local

  cvconfig.h is in:              /home/jeanpat/App/open-cv-3.0.0-a BUILD
-----------------------------------------------------------------

Configuring done

ça à l'air d'aller , l'étape "generate" aussi. Depuis le répertoire cible, make bloque à 11%

                                                                                                      ^
Scanning dependencies of target opencv_core
[ 11%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/kdtree.cpp.o
[ 11%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel.cpp.o
[ 11%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lpsolver.cpp.o
[ 14%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/umatrix.cpp.o
/home/jeanpat/App/opencv-3.0.0-alpha/modules/core/src/umatrix.cpp:44:35: fatal error: opencl_kernels_core.hpp: Aucun fichier ou dossier de ce type
 #include "opencl_kernels_core.hpp"
                                   ^
compilation terminated.
make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/src/umatrix.cpp.o] Erreur 1
make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Erreur 2
make: *** [all] Erreur 2

Un petit tour dans synaptic montre que différentes lib avec opencl dont
opencl-headers , ocl-icd-opencl-dev sont installées

une idée?

merci

Dernière modification par xanmoo (Le 07/11/2014, à 13:38)


Portable IBM Thinkpad R50e 2 Go | 40 Go: MX Linux 19.4
Portable IBM Thinkpad T430 8 Go | 240 Go: endeavour OS
Dell Precision T5500, Xeon x5570, 24Go, GTX 960- 4Go,  SSD 120Go, Ubuntu 22.04
http://dip4fish.blogspot.com/

Hors ligne

#2 Le 07/11/2014, à 11:32

claudius01

Re : Compiler opencv3 alpha avec support cuda: opencl_kernels_core.hpp ?

xanmoo a écrit :

/home/jeanpat/App/opencv-3.0.0-alpha/modules/core/src/umatrix.cpp:44:35: fatal error: opencl_kernels_core.hpp: Aucun fichier ou dossier de ce type
#include "opencl_kernels_core.hpp"

Un petit tour dans synaptic montre que différentes lib avec opencl dont
opencl-hearders , ocl-icd-opencl-dev sont installées

A ce niveau là de la production, ce n'est pas un problème de lib mais du fichier include 'opencl_kernels_core.hpp' qui n'est pas trouvé...
Faut regarder les options -I <directorie_include> de la ligne de compilation du fichier 'umatrix.cpp'.

Dernière modification par claudius01 (Le 07/11/2014, à 11:33)

Hors ligne

#3 Le 07/11/2014, à 11:55

xanmoo

Re : Compiler opencv3 alpha avec support cuda: opencl_kernels_core.hpp ?

Aucune idée où chercher ...


Portable IBM Thinkpad R50e 2 Go | 40 Go: MX Linux 19.4
Portable IBM Thinkpad T430 8 Go | 240 Go: endeavour OS
Dell Precision T5500, Xeon x5570, 24Go, GTX 960- 4Go,  SSD 120Go, Ubuntu 22.04
http://dip4fish.blogspot.com/

Hors ligne

#4 Le 07/11/2014, à 13:12

claudius01

Re : Compiler opencv3 alpha avec support cuda: opencl_kernels_core.hpp ?

Fais au moins une recherche de ce fichier 'opencl_kernels_core.hpp' avec l'une des commandes find, locate ou which ...

Hors ligne

#5 Le 07/11/2014, à 13:52

xanmoo

Re : Compiler opencv3 alpha avec support cuda: opencl_kernels_core.hpp ?

C'est bizarre, ce fichier se trouve dans un répertoire généré pendant l'exécution de la commande make :

/home/jeanpat/App/open-cv-3.0.0-a\ BUILD/modules/core

Ce répertoire est crée au moment du message d'erreur, lorsque je lance la commande

make

depuis le répertoire cible:

/home/jeanpat/App/open-cv-3.0.0-a BUILD

Portable IBM Thinkpad R50e 2 Go | 40 Go: MX Linux 19.4
Portable IBM Thinkpad T430 8 Go | 240 Go: endeavour OS
Dell Precision T5500, Xeon x5570, 24Go, GTX 960- 4Go,  SSD 120Go, Ubuntu 22.04
http://dip4fish.blogspot.com/

Hors ligne

#6 Le 07/11/2014, à 14:03

claudius01

Re : Compiler opencv3 alpha avec support cuda: opencl_kernels_core.hpp ?

Ce fichier 'opencl_kernels_core.hpp' ressemble t'il à un fichier "include" ?
De plus, je vois un caractère 'espace' dans le répertoire '/home/jeanpat/App/open-cv-3.0.0-a BUILD' et d'une manière générale je me méfie comme de la peste des noms de répertoires qui pourrait perturber des scripts mal écrits et/ou des procédures de génération...

Dernière modification par claudius01 (Le 07/11/2014, à 17:07)

Hors ligne

#7 Le 08/11/2014, à 09:42

xanmoo

Re : Compiler opencv3 alpha avec support cuda: opencl_kernels_core.hpp ?

bon ben pas d'espace dans le nom du répertoire cible, ça marche beaucoup mieux ... roll

merci

Dernière modification par xanmoo (Le 08/11/2014, à 09:43)


Portable IBM Thinkpad R50e 2 Go | 40 Go: MX Linux 19.4
Portable IBM Thinkpad T430 8 Go | 240 Go: endeavour OS
Dell Precision T5500, Xeon x5570, 24Go, GTX 960- 4Go,  SSD 120Go, Ubuntu 22.04
http://dip4fish.blogspot.com/

Hors ligne