Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

invalid option, /FIC

I am trying to build OpenCV 3.2 using Visual studio 2017 comminuty edition. I am building without CUDA and all other options are kept as default.

I am getting this error while bulding:

Severity    Code    Description Project File    Line    Suppression State
Error   RC1103  invalid option, /FIC:/opencv/modules/videostab/src/precomp.hpp  opencv_videostab    C:\opencv\_build\modules\videostab\RC   1

It is also happens in other modules.

BTW during Cmake stage I got this warnings:

CMake Deprecation Warning at CMakeLists.txt:81 (cmake_policy):
  The OLD behavior for policy CMP0020 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:85 (cmake_policy):
  The OLD behavior for policy CMP0022 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:94 (cmake_policy):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.