SVN revision 8293 build fails (Bug #1882)
Description
May 2, 2012 changes broke the build...
...snip...
[ 81%] Building CXX object modules/gpu/CMakeFiles/opencv_gpu.dir/src/pyramids.cpp.o
[ 81%] Building CXX object modules/gpu/CMakeFiles/opencv_gpu.dir/src/ffmpeg_video_source.cpp.o
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/ffmpeg_video_source.cpp:49:42: error: cap_ffmpeg_impl_v2.hpp: No such file or directory
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/ffmpeg_video_source.cpp:59: error: 'Create_InputMediaStream_FFMPEG_Plugin' does not name a type
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/ffmpeg_video_source.cpp:60: error: 'Release_InputMediaStream_FFMPEG_Plugin' does not name a type
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/ffmpeg_video_source.cpp:61: error: 'Read_InputMediaStream_FFMPEG_Plugin' does not name a type
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/ffmpeg_video_source.cpp: In function 'bool<unnamed>::init_MediaStream_FFMPEG()':
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/ffmpeg_video_source.cpp:91: error: 'create_InputMediaStream_FFMPEG_p' was not declared in this scope
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/ffmpeg_video_source.cpp:91: error: 'create_InputMediaStream_FFMPEG' was not declared in this scope
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/ffmpeg_video_source.cpp:92: error: 'release_InputMediaStream_FFMPEG_p' was not declared in this scope
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/ffmpeg_video_source.cpp:92: error: 'release_InputMediaStream_FFMPEG' was not declared in this scope
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/ffmpeg_video_source.cpp:93: error: 'read_InputMediaStream_FFMPEG_p' was not declared in this scope
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/ffmpeg_video_source.cpp:93: error: 'read_InputMediaStream_FFMPEG' was not declared in this scope
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/ffmpeg_video_source.cpp: In constructor 'cv::gpu::detail::FFmpegVideoSource::FFmpegVideoSource(const std::string&)':
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/ffmpeg_video_source.cpp:113: error: 'create_InputMediaStream_FFMPEG_p' was not declared in this scope
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/ffmpeg_video_source.cpp: In destructor 'virtual cv::gpu::detail::FFmpegVideoSource::~FFmpegVideoSource()':
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/ffmpeg_video_source.cpp:125: error: 'release_InputMediaStream_FFMPEG_p' was not declared in this scope
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/ffmpeg_video_source.cpp: In static member function 'static void cv::gpu::detail::FFmpegVideoSource::readLoop(void*)':
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/ffmpeg_video_source.cpp:167: error: 'read_InputMediaStream_FFMPEG_p' was not declared in this scope
make2: * [modules/gpu/CMakeFiles/opencv_gpu.dir/src/ffmpeg_video_source.cpp.o] Error 1
make2: Waiting for unfinished jobs....
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.hpp: In function 'NCVStatus loadFromXML(const std::string&, HaarClassifierCascadeDescriptor&, std::vector<HaarStage64, std::allocator<HaarStage64> >&, std::vector<HaarClassifierNode128, std::allocator<HaarClassifierNode128> >&, std::vector<HaarFeature64, std::allocator<HaarFeature64> >&)':
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.hpp:178: warning: dereferencing pointer '<anonymous>' does break strict-aliasing rules
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.hpp:178: note: initialized from here
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.hpp:178: warning: dereferencing pointer '<anonymous>' does break strict-aliasing rules
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.hpp:178: note: initialized from here
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.hpp:81: warning: dereferencing pointer '<anonymous>' does break strict-aliasing rules
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.hpp:81: note: initialized from here
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.hpp:82: warning: dereferencing pointer '<anonymous>' does break strict-aliasing rules
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.hpp:82: note: initialized from here
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.hpp:83: warning: dereferencing pointer '<anonymous>' does break strict-aliasing rules
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.hpp:83: note: initialized from here
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.hpp:84: warning: dereferencing pointer '<anonymous>' does break strict-aliasing rules
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.hpp:84: note: initialized from here
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.hpp:90: warning: dereferencing pointer '<anonymous>' does break strict-aliasing rules
/home/yourmom/SDK/opencv/trunk/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.hpp:90: note: initialized from here
make1: [modules/gpu/CMakeFiles/opencv_gpu.dir/all] Error 2
make: * [all] Error 2
Associated revisions
Merge pull request #1882 from philippefoubert:branch_ocl_instrumentation
History
Updated by Vadim Pisarevsky almost 13 years ago
- Assignee changed from Alexander Shishkov to Anatoly Baksheev
Updated by Anatoly Baksheev almost 13 years ago
Vlad, have you fixed this or not?
Updated by Vladislav Vinogradov almost 13 years ago
Please attach the output from CMake and specify your OS.
Updated by Joel Mckay almost 13 years ago
As of svn build 8301 this issue no longer occurs.
=)
Thanks,
J
#Notes:
- libunicap was removed to correct nvcc and gcc linker bug
- (linked versions can differ in certain situations)
-- Detected version of GNU GCC: 44 (404) -- Extracting svn version, please wait... -- SVNVERSION: svn:8279 -- Found OpenEXR: /usr/lib64/libIlmImf.so -- checking for module 'libunicap' -- package 'libunicap' not found -- checking for module 'libucil' -- package 'libucil' not found -- Found Sphinx 1.0.1: /usr/bin/sphinx-build -- CUDA detected: 4.1 -- CUDA NVCC target flags: -gencode;arch=compute_11,code=sm_11;-gencode;arch=compute_13,code=sm_13;-gencode;arch=compute_13,code=sm_20;-gencode;arch=compute_13,code=sm_21;-gencode;arch=compute_13,code=compute_13 -- -- General configuration for OpenCV 2.4.0 ===================================== -- Version control: svn:8279 -- -- Platform: -- Host: Linux 2.6.32-34-generic x86_64 -- CMake: 2.8.1 -- CMake generator: Unix Makefiles -- CMake build tool: /usr/bin/make -- -- C/C++: -- Built as dynamic libs?: YES -- C++ Compiler: /usr/bin/c++ (ver 4.4.3) -- C++ flags (Release): -Wall -Wno-long-long -pthread -ffunction-sections -O3 -DNDEBUG -fomit-frame-pointer -msse -msse2 -DNDEBUG -- C++ flags (Debug): -Wall -Wno-long-long -pthread -ffunction-sections -g -O0 -DDEBUG -D_DEBUG -ggdb3 -- C Compiler: /usr/bin/gcc -- C flags (Release): -Wall -Wno-long-long -pthread -ffunction-sections -O3 -DNDEBUG -fomit-frame-pointer -msse -msse2 -DNDEBUG -- C flags (Debug): -Wall -Wno-long-long -pthread -ffunction-sections -g -O0 -DDEBUG -D_DEBUG -ggdb3 -- Linker flags (Release): -- Linker flags (Debug): -- -- OpenCV modules: -- To be built: calib3d contrib core features2d flann gpu highgui imgproc legacy ml nonfree objdetect photo python stitching ts video videostab -- Disabled by user: - -- Disabled by dependency: - -- Unavailable: androidcamera java -- -- GUI: -- GTK+ 2.x: YES (ver 2.20.1) -- GThread : YES (ver 2.24.1) -- GtkGlExt: YES (ver 1.2.0) -- OpenGL support: YES (/usr/lib64/libGLU.so /usr/lib64/libGL.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libX11.so /usr/lib64/libXext.so) -- -- Media I/O: -- ZLib: /usr/lib64/libz.so (ver 1.2.3.3) -- JPEG: /usr/lib64/libjpeg.so (ver 62) -- PNG: /usr/lib64/libpng.so (ver 1.2.42) -- TIFF: /usr/lib64/libtiff.so (ver 42) -- JPEG 2000: /usr/lib64/libjasper.so (ver 1.900.1) -- OpenEXR: /usr/lib64/libImath.so /usr/lib64/libIlmImf.so /usr/lib64/libIex.so /usr/lib64/libHalf.so /usr/lib64/libIlmThread.so (ver 1.6.1) -- OpenNI: YES (ver 1.5.2, build 23) -- OpenNI PrimeSensor Modules: YES (/usr/lib64/libXnCore.so) -- -- Video I/O: -- DC1394 1.x: NO -- DC1394 2.x: YES (ver 2.1.2) -- GStreamer: -- base: YES (ver 0.10.28) -- app: YES (ver 0.10.28) -- video: YES (ver 0.10.28) -- UniCap: NO -- UniCap ucil: NO -- PvAPI: NO -- V4L/V4L2: Using libv4l (ver 0.6.4) -- Xine: YES (ver 1.1.17) -- FFMPEG: YES -- codec: YES (ver 54.17.101) -- format: YES (ver 54.3.100) -- util: YES (ver 51.49.100) -- swscale: YES (ver 2.1.100) -- gentoo-style: YES -- -- Other third-party libraries: -- Use IPP: NO -- Use TBB: NO -- Use Cuda: YES (ver 4.1) -- Use Eigen: YES (ver 2.0.15) -- Use Clp: NO -- -- NVIDIA CUDA: -- Use CUFFT: YES -- Use CUBLAS: YES -- NVIDIA GPU arch: 11 13 20 21 -- NVIDIA PTX archs: 11 13 20 21 -- NVIDIA GPU features: 11 13 13 13 13 -- -- Python: -- Interpreter: /usr/bin/python2.6 (ver 2.6.5) -- Libraries: /usr/lib64/libpython2.6.so -- numpy: /usr/lib/python2.6/dist-packages/numpy/core/include (ver 1.3.0) -- packages path: lib/python2.6/dist-packages -- -- Documentation: -- Build Documentation: YES -- Sphinx: /usr/bin/sphinx-build (ver 1.0.1) -- PdfLaTeX compiler: /usr/bin/pdflatex -- -- Tests and samples: -- Tests: YES -- Performance tests: YES -- Examples: YES -- -- Install path: /usr/local/opencv -- -- cvconfig.h is in: /home/yourmom/SDK/opencv/trunk/opencv/release -- ----------------------------------------------------------------- -- -- Configuring done -- Generating done -- Build files have been written to: /home/yourmom/SDK/opencv/trunk/opencv/release
Updated by Vladislav Vinogradov almost 13 years ago
- Status changed from Open to Done
- Assignee changed from Anatoly Baksheev to Vladislav Vinogradov
Updated by Kirill Kornyakov almost 13 years ago
- Target version set to 2.4.1