Ask Your Question

Rudra's profile - activity

2016-07-20 12:23:18 -0600 answered a question opencv_dep_cudart.lib problem with CMake in OpenCV 2.4.13

Hello,

I did a quick find for the second part of your question and it seems this line of code was the source of our warning.

 if(GIT_EXECUTABLE)
  execute_process(COMMAND ${GIT_EXECUTABLE} describe --tags --always --dirty --match "2.[0-9].[0-9]*"
    WORKING_DIRECTORY "${OpenCV_SOURCE_DIR}"
    OUTPUT_VARIABLE OPENCV_VCSVERSION
    RESULT_VARIABLE GIT_RESULT
    ERROR_QUIET
    OUTPUT_STRIP_TRAILING_WHITESPACE
  )
  if(NOT GIT_RESULT EQUAL 0)
    set(OPENCV_VCSVERSION "unknown")
  endif()
else()
  # We don't have git:
  set(OPENCV_VCSVERSION "unknown")
endif()

This snipper of code belongs to the CMakeLists.txt file. It essentially sets our OPENCV_VCSVERSION to "unknown". I don't think it would create any problems for us in the long run and can be safely overlooked.

2016-07-20 12:23:18 -0600 commented question opencv_dep_cudart.lib problem with CMake in OpenCV 2.4.13

Hi. I have a similar problem when I try build opencv for Mac OSX. Do let me know if you found a solution?

2016-07-20 11:37:45 -0600 received badge  Supporter (source)