Build error but directory shown does not exist

Sysprogs forums Forums VisualGDB Build error but directory shown does not exist

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8933
    v8dave
    Participant

    I am seeing the following error when trying to build the core with no changes, just following the instructions on the website. It fails at this point but the /opencv-3.1.0/build/Debug/modules/videoo directory does not exist. I’ve scanned the complete directory and found no reference to this directory in any of the files.

    1> [ 67%] Generating opencv_test_videoio_pch_dephelp.cxx
    1> Scanning dependencies of target opencv_test_videoio_pch_dephelp
    1> [ 67%] Building CXX object modules/videoio/CMakeFiles/opencv_test_videoio_pch_dephelp.dir/opencv_test_videoio_pch_dephelp.cxx.o
    1> [ 68%] Linking CXX static library ../../lib/libopencv_test_videoio_pch_dephelp.a
    1> [ 68%] Built target opencv_test_videoio_pch_dephelp
    1> Scanning dependencies of target pch_Generate_opencv_test_videoio
    1> [ 68%] Generating test_precomp.hpp
    1> [ 68%] Generating test_precomp.hpp.gch/opencv_test_videoio_DEBUG.gch
    1>arm-linux-gnueabihf-g++.exe : error : C:/Tools/VisualGDBSource/opencv-3.1.0/build/Debug/modules/videoo/test_precomp.hpp: No such file or directory
    1>arm-linux-gnueabihf-g++.exe : warning : '-x c++-header' after last input file has no effect
    1>arm-linux-gnueabihf-g++.exe : fatal error : no input files
    1> compilation terminated.
    1> make[2]: *** [modules/videoio/test_precomp.hpp.gch/opencv_test_videoio_DEBUG.gch] Error 4
    1> make[1]: *** [modules/videoio/CMakeFiles/pch_Generate_opencv_test_videoio.dir/all] Error 2
    1> make: *** [all] Error 2
    #8934
    support
    Keymaster

    Hi,

    This looks like a potential problem in the CMake file. Which version of VisualGDB did you use to create the project?

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.